XML technologies / XSLT / Java and XSLT
(Excerpt from “Java und XSLT” by Eric M. Burke)
Java and XSLT (eXtensible Stylesheet Language Transformations) are very different, complementary technologies. Java offers portability, countless libraries and broad business acceptance, but has weaknesses in text processing. Converting XML into formats such as XHTML or WML may not be its best use. It requires skilled programmers understanding APIs such as DOM, SAX or JDOM. Website creation would benefit from a simpler process allowing nonprogrammers to participate.
XSLT is exclusively for transforming XML data into text formats such as HTML, XHTML, WML or even Java source. In complexity, XLST lies between HTML and Java, so web authors can learn it, though they need programming support during development.
XSLT processors interpret and execute stylesheet instructions. Many are written in Java, making it an excellent choice for applications working with XML and XSLT.
XSLT websites still need Java servlets and EJBs to handle requests, retrieve database data and implement logic. XSLT can generate any XHTML document, but needs a coordinating language such as Java.
These pages introduce key XSLT concepts rather than provide a complete reference. They focus on Java integration, especially servlets and web applications, with practical examples using widespread free tools.
Copyright © 2002 O'Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from “Java und XSLT” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de
back to top