query(String query, String xmlDoc)

Description

Queries an XML document. Uses the XML document as the input argument.

Syntax

query(String query,String xmlDoc)

Where:

Examples

Example 1

The following returns the result as a Java string:

String result= Xql.query("/bookstore/book/author",
"<xml>...</xml>");

Usage

Returns a Java string.