Entering content frame

Process documentation Building DOM Trees from a Document Locate the document in its SAP Library structure

Purpose

You can build DOM Tree from a Documentinstance.

Process Flow

To build a DOM Tree, you have to take an empty Document instance. In JAXP this task is performed by getting an instance of DocumentBuilderFactory. Then, from this instance you get a new instance of a DocumentBuilder. Finally, from the instance of the DocumentBuilder you invoke newDocument().

The following classes are closely related to this process:

·        javax.xml.DocumentBuilder

·        org.w3c.dom.Document

·        org.w3c.dom.Node

 

Leaving content frame