
3.2 Xalan
Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types. It implements the W3C Recommendations for XSL Transformations (XSLT) and the XML Path Language (XPath). It provides a standard API for performing XML Transformations. It builds on SAX2, DOM Level2, and the XML parser API in Java API for XML Parsing 1.0 (JAXP). It may be configured to work with any XML parser, such as Xerces, that implements JAXP. It can process Stream, SAX or DOM input, and output to a Stream, SAX or DOM.
The diagram in Figure
Source | XSLT | Result |
XML | ||
| Engine | XML |
| XSL |
|
| Style |
|
| Sheet |
|
Figure 3-1 Xalan model of operation
The primary interface for Xalan for external usage is javax.xml.transform. These interfaces define a standard and powerful interface to perform
Chapter 3. Processing XML 57