Processing XML with Java


 

Processing XML with Java

Learn how to use Java Technology to process XML files.

Learn how to use Java Technology to process XML files.

Processing XML using Java

In this section we will see the API's available in Java for processing the XML.

XML file is used on the internet to share the data and information between two programs. All the programming language provides API's for processing HTML documents. In Java there are many API's for processing the XML file. The Java XML Processing API provides the capabilities of validating and parsing XML documents. You can use the API to create a new XML document, update the existing document.

There are three interfaces available in Java for processing XML document. These are:

  1.  DOM: Document Object Model parsing interface
  2. SAX Interface: Simple API for XML parsing interface
  3. StAX: Streaming API for XML processing

Tutorials for XML processing:

Ads