Queries an XML document. Uses the XML document as the input argument.
query(String query,String xmlDoc)
String query is the string you are searching for.
String xmldoc is the XML document you are querying.
The following returns the result as a Java string:
String result= Xql.query("/bookstore/book/author", "<xml>...</xml>");
Returns a Java string.