addXML macro
Use this macro to add an XML node to the UserArea. The UserArea can only contain Property elements, so an XML node to be added must represent a Property element.
addXml(long xmlnode)This table shows the arguments:
| Argument | Description | 
|---|---|
| XML node | The XML node that contains the XML tree to be added to the BOD or BDE XML. This XML tree must have the following structure (all non-italic words must be added as shown):  | 
Example:
    long property.node
    long name.node
    long xml.node
    long child.node
    property.node = xmlNewNode("Property")
    name.node = xmlNewNode("NameValue", XML_ELEMENT, property.node)
    xmlSetAttribute(name.node, "name", "BusinessPartnerData")
    xmlSetAttribute(name.node, "type", "AnyType")
    xml.node = xmlNewNode("BPElements", XML_ELEMENT, name.node)
           child.node = xmlNewDataElement("LongName", tccom100.cdf_lnam, 
                                   xml.node)
    child.node = xmlNewDataElement("Name", tccom100.nama, xml.node)
    addXML(property.node)