Show TOC Start of Content Area

Object documentation Document Object Model (DOM) Locate the document in its SAP Library structure

Definition

DOM is a standard designed to provide the developer with an easy-to-manipulate tree structure representation of an XML document. This structure is appropriate for applications that need to access and manipulate the XML document directly. Since the whole tree is maintained in the memory, DOM-based applications can deteriorate server performance. Thus, we do not recommend that you use it for parsing large XML documents, especially when you are interested in some part of it and not the whole document.

Use

DOM enables you to traverse an existing DOM tree and extract specific information, as well as to build a DOM document in the memory and then either forward it to an application or to serialize it.

For more information, see:

·        Building DOM Trees Through Parsing

·        Traversing

·        Building DOM Trees from a Document

End of Content Area