Skip to Content
J2EE™ Web Services
book

J2EE™ Web Services

by Richard Monson-Haefel
October 2003
Intermediate to advanced
928 pages
20h 4m
English
Addison-Wesley Professional
Content preview from J2EE™ Web Services

Chapter 21. DOM 2

Document Object Model (DOM) is a set of interfaces and classes used to model XML documents as a tree of objects called nodes. The DOM interfaces and classes represent XML documents, elements, attributes, text values, and pretty much all the other constructs from the XML 1.0 language. You use the DOM programming API to examine existing XML documents, or to create new ones.

When an implementation of DOM parses an XML document, it reads the XML text from some source (a file, network stream, or database, for example), then builds an object graph, called a tree, that mirrors the structure of the XML document. Figure 21-1 shows the mapping between a DOM tree and an XML document based on the Address Markup Language used in Chapter 2 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

J2EE™ Platform Web Services

J2EE™ Platform Web Services

Ray Lai
Web Services Platform Architecture: SOAP, WSDL, WS-Policy, WS-Addressing, WS-BPEL, WS-Reliable Messaging, and More

Web Services Platform Architecture: SOAP, WSDL, WS-Policy, WS-Addressing, WS-BPEL, WS-Reliable Messaging, and More

Sanjiva Weerawarana, Francisco Curbera, Frank Leymann, Tony Storey, Donald F. Ferguson

Publisher Resources

ISBN: 0321146182Purchase book