17 december 2008

Devoxx 2008 - day 5: Java & XSLT 2.0

The last day was one without interruptions: all talks were held the one after the other. For the second talk I didn't even have to change rooms. This talk was about XSLT and more specifically XSLT 2.0 and Java.

Per default the Java runtime comes with a Xalan XSLT-processor. However, this processor only supports XSLT 1.0. If you want to make full usage of the new features of XSLT 2.0, you have to point the processor factory to a XSLT 2.0 aware processor, e.g. Saxon.

This presentation gave a nice overview of the XSLT 2.0 capabilities (like e.g. language specific collation), how to invoke them from within Java and how to extend XSLT with your own functions. The presentation also dealt with nice eye-candy features, like generating an SVG pie chart based numbers in an XML document and generating a PDF document using XSL-FO.

In a world driven by annotations, RESTful web services and stuff, it is good to see that XML isn't dead yet but that the focus is more on "data", rather than on configuration or RPC protocol.

18:15 Gepost door There's more to life than what you see through windows in Javapolis | Permalink | Commentaren (0) | Tags: devoxx08 |  Facebook |

De commentaren zijn gesloten.