
XML Query Examples:

- fibo.xq : Fibonacci function in recursive form

	java -jar qizxopen.jar fibo.xq


- calendar.xq: Generates a calendar in HTML

	Example:
	java -jar qizxopen.jar -Dyear=2004 -serial -out cal2004.html -Xmethod=HTML calendar.xq 


- shake.xq: counts words in Shakespeare's plays (requires Shakespeare 2.00 by Jon Bosak)

	java -jar qizxopen.jar -docs <Shakespeare2-directory> shake.xq
	
	Shakespeare 2.00 by Jon Bosak can be found at:
	http://metalab.unc.edu/bosak/xml/eg/shaks200.zip
	

- join: an example of a join optimization. 

	1) generate the input documents with gener.xq
		java -jar qizxopen.jar join/gener.xq
	   it should generate 2 files: clients.xml and invoices.xml

	2) run the example with join.xq:
		java -jar qizxopen.jar join/join.xq  -out out.xml

  Without join optimization (for example with Qizx/open 0.2), the example can take
  over 1 hour to run on a recent machine. With the optimization, it should take
  seconds.
