- #1
KataKoniK
- 1,347
- 0
I have to write an XQuery that for example, "returns a list of books for a given author".
The "given author" in this case can be anything. Therefore, I was wondering what do I need to add to give the query someting, which in return, it will process it.
For example,
for $x in doc("a.xml")/Stuff
where $x/Author = [given author]
return $x/Book
The "given author" in this case can be anything. Therefore, I was wondering what do I need to add to give the query someting, which in return, it will process it.
For example,
for $x in doc("a.xml")/Stuff
where $x/Author = [given author]
return $x/Book