Processing XML using Java

The Java API for XML Processing is used for working with the XML files. If you are writing an application that is going to handle the XML documents then you might be using JAXP in your application.

_______________________________________________


_______________________________________________

For working with JAXP you have to import the namespaces, javax.xml.parsers.DocumentBuilderFactory, javax.xml.parsers.DocumentBuilder, and the org.w3c.dom.Document apart from importing the usual java.io.File.

To work with an XML document you need to create a Document object. This is done in three steps by using the JAXP. The first step is to create a DocumentBuilderFactory object and then use this object to create a DocumentBuilder object. The DocumentBuilder object is then used to create the Document object. The SAX API and the XSLT API are also used in the process of working with the XML document using Java.

The SAX API is used to create the parser objects that are used in parsing and the XSLT APIs are used in the process of transforming the XML source document to another form. The URL http://java.sun.com/
webservices/jaxp/dist/1.1/docs/tutorial/overview/3_apis.html has lot of details regarding these APIs for working with Java and XML.

Add Java extensions to your wiki (Java World)
Wikipedia may be the most high-profile example of a user-edited wiki site, but millions of people around the world are setting up wikis for knowledge-sharing on a smaller scale.

Are Java Developers, Architects, and Technical Managers Becoming Java Dinosaurs? (SYS-CON Media)
With the rapid evolution that Java and open source frameworks have made since the release of J2EE, enterprise Java IT seems to be producing too many Java dinosaurs. Developers, technical managers, or architects who no longer pursue their technical skills don't understand the evolution of JEE in comparison to J2EE, persistence frameworks, IOC frameworks, Web frameworks, or Web 2.0 and its effects ...



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