Xalan Java
is an XSLT processor. With this processor you can transform the XML
document in to other formats as required by your application. You can
use this processor from within your program or in command line. It can
also be integrated in other programs. It implements XSLT version 1.0,
XPath version 1.0, and JAXP 1.3.
_______________________________________________
_______________________________________________
To
work with the Xalan Java XSLT processor you have to download it and
set the classpath to the jar files xalan.jar, xml-apis.jar, serializer.jar,
and xercesImpl.jar.
Now to
use the processor you have to call the Process class in the command
line while calling java. A typical command line command would be something
like, java org.apache.xalan.xslt.Process -IN ur_xml_file.xml -XSL ur_xsl_file.xsl
-OUT ur_output.out
In the
command line you can find the flags -IN is used to specify the XML file
that you want to transform and the -XSL is used to specify the XSL file
that is used for the transformation.
Suppose
you want only the text values of the elements to be included in the
output you can use the flag -TEXT. To write HTML, you can use the flag
-HTML. Check the documentation for the other flags that might be applicable
to your application.
Linked by Eugenia Loli-Queru on Thu 22nd Sep 2005 22:35 UTC (New Mobile Computing)
This article gives you a good understanding of the fundamental principles of Ajax and a nuts-and-bolts knowledge of the client and server side components that participate in an Ajax interaction. These are the building blocks of a Java-based Ajax Web application.
Linked by Thom Holwerda on Thu 6th Oct 2005 11:05 UTC (New Mobile Computing)
The Servlet-Based Content Creation Framework is an easy-used and easily-understood compact, content creation framework utilizing hamlets; a servlet extension that reads XHTML and uses the simple API for XML. Read this article on introducing Hamlets and learn how they can be used to separate Java and HTML in the same source file.