The slides for the eleventh (rB) recitation are available through the link below.
http://www-student.cse.buffalo.edu/~dlessa/cse462-SP10/rB.pdf
The files used in the recitation are also available for download:
http://www-student.cse.buffalo.edu/~dlessa/cse462-SP10/xquery-files.zip
The Saxon library used in the recitation is available for download from:
http://saxon.sourceforge.net/#F9.2HE
Make sure you chose the Download for Java link. All you need from the download is the saxon9he.jar file. To run an XQuery file named Q1.xq using Saxon, use the following command:
> java -cp ./saxon9he.jar net.sf.saxon.Query Q1.xq
This assumes that the saxon9he.jar file is in the current directory. If the library is in a folder called /some/folder, then you would use:
> java -cp /some/folder/saxon9he.jar net.sf.saxon.Query Q1.xq
This works under Unix/Linux. For other systems, it's a simple matter of adapting the cp parameter.
Friday, April 9, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment