Thursday, May 15, 2008

XQueryServlet

Here's Saxon-based Xquery service:
Just provide a link to your XML and another link to your XQuery and get back the results.


http://neo.engr.smu.edu:8080/XQueryServlet/XQueryExec
?xquri=www.frankcoyle.org/xquery/gettitles.xq
&xmluri=www.frankcoyle.org/xquery/books.xml
  • http:// prefix is optional
  • raw text is also ok using xq= xml=
For a FLEX UI to this service:
http://neo.engr.smu.edu:8080/XQueryServlet/XqueryExecServlet.html
  • allows user to set xml file
  • allows entry of xquery
  • auto logit with user id and xquery into log file