Efficient scripting - Balisage 2009
David Lee, Epocrates; Norman Walsh, Mark Logic
Balisage 2009 At the International Symposium on Processing XML Efficiently
Monday, August 10, 2009
Montreal, Canada
The efficiency and performance of individual XML operations such as parsing, processing (XSLT, XQuery) and serialization, and the merits of different in-memory document representations, have been widely discussed. However, real world uses cases often involve many operations orchestrated using a scripting environment. The performance of the scripting environment can often overshadow any performance gains in individual operations. In an exploration of real world scripting, we compare performance of several scripting languages and techniques on a set of typical XML operations such as generation of a table of contents and conditionally accessing non-XML files identified in XML documents. Based on performance results, we suggest best practices for scripting XML processes. Scripting languages compared include DOS Shell (CMD.EXE), Linux Shell (bash), XMLSH, and XProc (calabash). These are run (where possible) on multiple operating systems: Windows XP, Linux, and Mac/OS... read more
An extension module supporting the calabash xproc processor has been checked into svn and a new project "calabash_ext" is now available for download
I have created an extension module for xmlsh which supports basic operations to a MarkLogic server. Checked in to svn as well as available as a release package under downloads.
An initial preview source code snapshot of xproc2xmlsh, an XPROC to xmlsh converter, has been checked in to SVN. This is not yet released as a package because it is very preliminary and not near complete.
The next major development planned in xmlsh is support for xproc. In prepration for beta release, xmlsh internals, features and possibly syntax changes are being made to be able to support a translator from xproc to xmlsh.
xmlsh has been released as alpha status version 0.0.1.0 (updated from pre-alpha). There is a branch in svn to snapshot the alpha release.
A paper on xmlsh was presented by David Lee, on August 13, 2008. A copy of the presentation is available at http://xmlsh.sourceforge.net
Sourceforge project created 5/19/2008.
Released Pre-alpha version 0.0.0.1