XStream
November 7, 2006
Via Elliotte Rusty Harold, I came across XStream:
XStream is a simple functional transformation language for XML documents. XML transformations written in XStream are evaluated in streaming: when possible, parts of the output are computed and produced while the input document is still being parsed. Some transformations can thus be applied to huge XML documents which would not even fit in memory.
Very nice; I’ll need to try this out next time I have a bunch of XML files to transform and XSLT seems to heavy.
About
This page contains a single entry from Stefan Tilkov's Random Stuff posted on November 7, 2006 10:23 AM. The previous post in this blog was Subsetting XML. The next post in this blog is Link dump. Many more can be found on the main index page or by looking through the archives.
Comments
For the language-constrained crowd (XStream is an OCAML library), there’s STX (Streaming Transformations for XML) with an implementation in Java (http://joost.sourceforge.net/). It’s more of a language (streamable stylesheet alternative to XSL) than a library. I haven’t used it yet. I do all my transformations in SAX :-)
Posted by: Matthias at November 7, 2006 11:30 AM | link
Good link, thanks — although even if you don’t know how to spell OCaml, you can still use XStream as it’s just a command line application.
Posted by: Stefan Tilkov at November 7, 2006 1:56 PM | link
