Sun Java Solaris Communities My SDN Account
 
Tutorials & Code Camps

Working with XML: The Java/XML Tutorial

 

The Tutorial for the Java/ Api for XML Parsing (JAXP) version 1.1 is nearly complete. See the Work in Progress page for details.



Book icon Working with XML, the Java XML Tutorial, is an online manual that can quickly get you up to speed writing XML code and XML-based software for end-user applications. Using step-by-step walkthroughs and lots of code examples, the Tutorial is divided into sections that cover the following major topics:

  • Understanding XML and the Java XML APIs explains the basics of XML and gives you a guide to the acronyms associated with it. It also provides an overview of the Java XML APIs you can use to manipulate XML-based data.

  • Serial Access with the Simple API for XML (SAX) walks you through the process of creating an XML file and tells you how to read it sequentially, walking you through the callbacks the parser makes to event-handling methods you supply.

  • XML and the Document Object Model (DOM) explains how to create and manipulate a hierarchy of data objects so you can randomly access it and modify its contents.
      
  • Using XSLT shows how to transform an XML structure into a different format. This is also the API you use to write an XML file from a tree of objects in memory, and to create XML from an arbitrary document structure.

Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.