I started playing around with XQuery
. On [w3schools][1] its a good tutorial. I just have some problems: I cannot test the stuff on the site. I found an online XQuery
([this link][2]) and its nice to play with it, but if I would like to use the XQuery
on an XML
file thats not possible there. Any good and easy tools for only XQuery
stuff for windows? If I search online I could find only big overloaded tools and the most of them are not free. I'm confused.
http://www.w3schools.com/xquery/default.asp
http://demo.exist-db.org/sandbox/sandbox.xql
Feel free to check out BaseX; it has an interactive frontend and is easy to use: http://basex.org/. You can turn on the option "Realtime Execution" to execute queries with each key click.
eXist-db is a great tool for learning XQuery: exist-db.org.
I'd start by checking out the Basic XQuery Examples on the eXist-db.org website. This suite of interactive tutorials shows you example XQuery source code based on already-loaded XML files, such as Shakespeare plays, and lets you run each query in the tutorial. You can also edit the sample queries to see how your changes alter the results. Just click on the "Edit" button beneath each source code sample, and it'll take you to eXide, a web-based interactive query editor, to edit the queries and run them. (As Adam notes in the comment below, eXide is a great tool in its own right for learning XQuery.) While you can't upload your own XML to the copy of eXide that runs on eXist-db.org, you can browse the included files (click on Open and log in with username guest and password guest) and craft sample queries against the files.
If you want to run queries on your own files, just download and install the eXist from exist-db.org; then you'll have eXide and the ability to upload your own XML for querying, as well as all of eXist's built-in documentation.
Another great set of tutorials on XQuery 3.0 (and now 3.1) is the XQuery 3.0 (and 3.1) Features demo.
If you have questions about eXist, I'd recommend joining the exist-open mailing list.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With