Subscribe to RSS feed

Aug
17

Thoughts about XQuery at client-side

Enthusiatic people about XQuery are numerous and I remember XML Prague 2010 as mainly about XQuery. I also often read that XQuery is much easier for beginners than XSLT.

Nevertheless, there is still no XQuery cross-implementation for browsers without plug-in. This was a problem for XForms too, until products such as XSLTForms or Ubiquity XForms appeared. The no-plugin constraint implies to use what is natively implemented in browsers: Javascript, of course, but also XSLT 1.0 as proved by XSLTForms.

A first step is to consider XQuery for rendering: XQuery is, surely, very good to generate well-formed HTML from XML data.

Aug
17

Creating a File Upload Widget for eXist and XQuery

Editor Note: This was originally published 30 October 2009.

One of the more problematic issues involved with working with XML Databases is what may seem to be relatively simple - getting files into the database in the first place. This was one of the challenges that was put to me by Dan McCreary for a series of open source applications that he's developing around the eXist XML database as part of his efforts with Syntactica. While you can use WebDAV (and in general probably should for production level work), a generalized file uploader web app is also possible, and serves to illustrate how you can actually create some very powerful tools with application vendor augmented XQuery. Note that the examples given here are all built around the eXist-db XML Database. It's definitely possible to do similar applications using the MarkLogic database, though I'll leave this as an exercise for a future article.

Aug
16

XML Today Returns

... and we're back.

XML Today has been an exercise in discovering the limits of what PHP can do in handling content management systems. This site has run under Drupal and (very briefly) Joomla, and after having the last couple of months of content wiped out by an errant database error during a system upgrade on the previous system, it seemed like a good time to give WordPress a try.

The mission remains (more or less) the same ... cover what's going on in the XML Community, explore evolving technologies such as XQuery, XProc and the Semantic Web, and provide help and discussion about the technical and developmental aspects of XML.