Transforming XML documents using XSLT and Xalan Java

Xalan Java can be used to transform the XML documents into other forms by using an XSL file in the command line. It is an XSLT processor and hence you can do this. It implements, XSLT, XPath, and JAXP. You can use it in a servlet or even an applet.

_______________________________________________


_______________________________________________

There are many sites that give you the link to download the Xalan XSLT processor. You can download it and install in your system and you have to set the classpath to point to the jar files like serializer.jar, xml-apis.jar, xalan.jar, and xerceslmpl.jar.

While using the command line option of running the Xalan XSLT processor, you have to call java along with the process class. Optional tags like -IN, -XSL, -OUT are used it the command line. There are also other optional tags that you can use. You can refer to the documentation on using them. As the name implies, the -IN is used for XML input file, the -XSL for the XSL file and the -OUT for the output file.

Most of the leading IDEs in the market for working with XML have the option to select the processor to use for transformation. If you are using an IDE, you can set it to Xalan and do the transformation in the IDE itself.

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.

Job vacancy: Senior Development Officer (PublicTechnology.net)
(Ref: SDO) The successful candidate will join our Business & Information Systems Development team and work in an open plan office with the rest of the team. The post-holder will assist the development team in all aspects of its work.



FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________

Recommended XML Books

cover
cover
cover
cover
cover
cover



 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!


New XML Books Titles - Best Seller's @ Amazon.com

Visit XML Training Material Guide Homepage

Technology helps engage students - how do classroom instruction and social dynamics change when the classroom is completely dependant on modern technology?

Dallas Web Design- local Dallas web design firm offers site design and backend system development