Create and modify XML document levels using DOMJ4 API: Getting Started
Deepak Vohra (DVOHRA09@yahoo.com) Web Developer April 2004
DOM4J is an open source XML framework for parsing an XML document. This article describes how to create and modify an XML document using a parser contained in DOM4J. The DOM4J API contains a tool for parsing an XML document. This parser will be created using this parser to create an example XML document. Listing 1 shows this sample XML document, Catalog.xml.
Listing 1. Example XML Document (Catalog.xml)
Publisher = "IBM DeveloperWorks">
Marcello
Vitaletti