Johnny's Software Saloon

Weblog where I discuss things that really interest me. Things like Java software development, Ruby, Ruby on Rails, Macintosh software, Cocoa, Eclipse IDE, OOP, content management, XML technologies, CSS and XSLT document styling, artificial intelligence, standard document formats, and cool non-computing technologies.

My Photo
Name:
Location: Germantown, Maryland, United States

I like writing software, listening to music (mostly country and rock but a little of everything), walking around outside, reading (when I have the time), relaxing in front of my TV watching my TiVo, playing with my cat, and riding around in my hybrid gas/electric car.

Monday, August 02, 2004

The SAXON XSLT and XQuery Processor

There are some very cool things about The SAXON XSLT and XQuery Processor.

One is, like Xalan-2, it can execute XSLT (XSL Transformations).

However, Xalan-2 only works with XSLT 1. Saxon 8.0, the latest version, works according to very recent drafts of the more powerful XSLT 2.0 standard. XSLT 2 adds support for grouping information in clumps, sort of like the GROUP BY clause in SQL SELECT statements. You can accomplish the same thing in XSLT 1. However, it is tedious to do it in XSLT 1.

The other neat thing is support for XQuery. People who like to think imperitively and in procedural terms, which fits a lot of IT developers, will probably prefer working in it compared to XSLT.

However, developers who have worked on event-driven systems - for example GUIs - or in side-effect free languages like LISP, will appreciate how well XSLT fits to the problem of transforming one form of XML into another or into some other textual format.

XQuery has been embraced in a big way by DBMS vendors, most notably Oracle. XQuery has also been built into the Macintosh since Mac OS X 10.2 (Jaguar) shipped, back in mid-2002. Apple made it part of their Sherlock web services client application, along with Javascript. Many people don't know they are in there but they are.

The free version of Saxon 8.0 cannot support XML Schema. However, the commercial version of Saxon 8.0 does support it.

0 Comments:

Post a Comment

<< Home

Related pages & news