Queries the XML document using a parsed XML document as the second argument.
query(String query, SybXmlStream )
Where:
String query is the string you are searching for.
xmldoc is the parsed XML document you are querying.
This example queries the bookstore for authors listed in bookstore.Xml.
SybXmlStream xmlStream = Xql.parse("<xml>..</xml>); String result = Xql.query("/bookstore/book/author",xmlStream);