[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Classpathx-xml] Experimental XSLT processor available

From: Chris Burdess
Subject: [Classpathx-xml] Experimental XSLT processor available
Date: Wed, 3 Nov 2004 10:12:47 +0000

Hash: SHA1

There has been quite a bit of talk about the dearth of GPL Java XSLT processors, so this news should be welcome.

I have contributed a very rough and ready 100% JAXP XSLT processor to gnujaxp. It uses the XPath engine I contributed a few weeks ago, and the gnujaxp DOM implementation - sorry, other implementations of these APIs are not yet supported.

It's very early days yet and there are lots of TODOs in the code, but here is a brief rundown of what is available:

- - DOM, SAX, and stream sources
- - DOM, SAX, and stream results
- - xsl:include and xsl:import
- - literal result element as stylesheet
- - named templates
- - template modes
- - xsl:value-of, xsl:element, xsl:attribute
- - conditional processing
- - repetition
- - sorting

Features that are not yet available:

- - parameters and variables
- - xsl:with-param, xsl:copy, xsl:copy-of
- - keys
- - decimal formats
- - attribute sets
- - namespace aliases
- - text output method
- - disabling output escaping
- - whitespace preservation and stripping
- - XSLT XPath functions e.g. document()

There are probably also lots of bugs.

Please feel free to experiment with this processor and provide feedback: check out gnujaxp from CVS HEAD, and specify - -Djavax.xml.transform.TransformerFactory=gnu.xml.transform.TransformerFa ctoryImpl for your system properties to select this transformer implementation.

Also, volunteers are always welcome! If you want to help hack on this code, just mail me. - -- Chris Burdess
Version: GnuPG v1.2.4 (Darwin)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]