I have to write an XQuery that for example, "returns a list of books for a given author".(adsbygoogle = window.adsbygoogle || []).push({});

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

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# XQuery XML help

Loading...

Similar Threads for XQuery help |
---|

Python (VPython) Can someone help me with my orbit simulator? |

I need help decrypting this |

C/++/# Help with MATLAB code? |

Python What's wrong with my bisection method code? |

Python Help: Convert Matlab to Python code |

**Physics Forums | Science Articles, Homework Help, Discussion**