Allows you to query a file in which you have stored a parsed XML document.

Syntax {file_name}

Where file_name is the name of the file in which you stored the parsed XML document.


Example 1

In the following, a member of the RandomAccessFile reads a file and positions the data stream:

SybXmlStream xis = Xql.parse("<xml>..</xml>");
FileOutputStream ofs = new FileOutputStream("");

SybXmlStream is = new SybFileXmlStream("");
String result = Xql.query("/bookstore/book/author", is);