Try OpenEdge Now
skip to main content
Working with XML
Reading and Writing XML with the Document Object Model (DOM) : XML terminology : XML document structure : XML body
XML body
The body contains a single top-level element called the root element, which contains all other elements and other markup information.
This simple example illustrates the prolog and body, where addresses is the root element and encloses the entire body, or content, of the XML document:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE maillist SYSTEM "maillist.dtd">