|
|
Effective XML processing with DOM and XPath in Java |
|
|
Effective XML processing with DOM and XPath in Java |
|
|
XML / Java and XML |
|
|
Click to Visit |
|
|
13 |
|
Based on an analysis of several large XML projects, this article examines how to make effective and efficient use of DOM in Java. The DOM offers a flexible and powerful means for creating, processing, and manipulating XML documents, but it can be awkward to use and can lead to brittle and buggy code. This provides a set of Java usage patterns and a library of functions to make DOM robust and easy to use. The Document Object Model (DOM), is a recognized W3C standard for platform- and language-neutral dynamic access and update of the content, structure, and style of XML documents. It defines a standard set of interfaces for representing documents, as well as a standard set of methods for accessing and manipulating them. The DOM enjoys significant support and popularity, and it is implemented in a wide variety of languages, including Java, Perl, C, C++, VB, Tcl, and Python.
|