User: Password:
   Keep me logged in.
Register  |  I forgot my password

Login  |  Register

Efficient Java Tools  - Listing Details

ID:226
Title:Xalan-Java
Pagerank:7
Short Description:
Listing Thumbnail

Xalan-Java is an XSLT processor for transforming XML documents into HTML, text, or other XML document types. It implements XSL Transformations (XSLT) Version 1.0 and XML Path Language (XPath) Version 1.0 and can be used from the command line, in an applet or a servlet, or as a module in other program. Xalan-Java implements the javax.xml.transform interface in Java API for XML Processing (JAXP) 1.3. This interface provides a modular framework and a standard API for performing XML transformations, and utilizes system properties to determine which Transformer and which XML parser to use. Xalan-Java also implements the javax.xml.xpath interface in JAXP 1.3, which provides an object-model neutral API for evaluation of XPath expressions and access to the evaluation environment.

Description:

Features are:

·       Includes an Interpretive processor for use in a tooling and debugging environment and a Compiling processor (XSLTC) for use in a high performance runtime environment.

·       Implements the relevant W3C specifications: XSL Transformations (XSLT) Version 1.0 and XML Path Language (XPath) Version 1.0.

·       Implements Java API for XML Processing (JAXP) 1.3, and builds on SAX 2 and DOM level 3.

·       Implements the XPath API in JAXP 1.3.

·       May be configured to work with any XML parser, such as Xerces-Java, that implements JAXP 1.3 (see Plugging in an XML parser).

·       Can process Stream, SAX or DOM input, and output to a Stream, SAX or DOM.

·       Transformations may be chained (the output of one transformation may be the input for another).

·       May be run from the command line for convenient file-to-file transformations.

·       Includes an applet wrapper.

·       May be used in a servlet to transform XML documents into HTML and serve the results to clients.

·       Supports the creation of Java and scripting language extensions. and provides a growing library of extension elements and functions.

 

 

 

Working

·       For instructions and some suggestions about how to get started using the XSLT Interpretive processor. At the very minimum, you must include xalan.jar, serializer.jar, xml-apis.jar, and xercesImpl.jar -- or another conformant XML parser -- see Plugging in a Transformer and XML parser) on the system classpath. To run the Xalan-Java Interpretive processor sample applications, include xalansamples.jar (all samples other than the servlet) and xalanservlet.jar. All these JAR files are distributed with Xalan-Java. To run Javascript extensions, include bsf.jar, which can be obtained from the Apache Jakarta BSF project. For extensions implemented in other scripting language, see extensions language requirements to identify any additional JAR files you must place on the classpath and where you can get them. If you are using XSLTC, see Getting Starting with XSLTC. If you are using JDK or JRE 1.3.x or 1.4.x, include tools.jar on the classpath. If you are using JDK or JRE 1.1.8 (supported for runtime only), then include classes.zip on the classpath.

·       For instructions and some suggestions about how to get started using the XSLT Compiling processor. XSLTC provides a compiler and a runtime processor. Use the compiler to compile an XSL stylesheet into a translet (i.e., a set of Java classes). Use the runtime processor to apply the translet to an XML document and perform a transformation.

Category:XML
Link Owner:
Date Added:May 05, 2010 07:37:46 PM
Number Hits:3
URL:    http://xml.apache.org/xalan-j/
Ratings
You must be logged in to leave a rating.
Average rating: (0 votes)
Reviews

No Reviews Yet.


You must be logged in to leave a Comment.