DOM (Document Object Model) - API for XML Files
<< JDK (Java Development Kit) Tutorials
This chapter provides tutorial notes and example codes on DOM (Document Object Model). Topics include parsing XML files into DOM objects; browsing DOM object tree; building new DOM objects; converting DOM objects to XML files.
DOMParser.java - Parsing XML Files with DOM DOMBrowser.java - Browsing DOM Tree Structure DOMNewDoc.java - Building a New DOM Document DOMToXML.java - Converting DOM Documents to XML Files
DOMParser.java - Parsing XML Files with DOM
DOMBrowser.java - Browsing DOM Tree Structure
DOMNewDoc.java - Building a New DOM Document
DOMToXML.java - Converting DOM Documents to XML Files
Conclusion:
Notes and sample codes bellow are based on JDK/J2SDK 1.4.1_01.
Read my other book "Tutorial Notes on XML" on other XML related topics.