Edit

AddXMLElement (xml_hndl, element_name, value [, attributesArray] [,boolCDATA])

Result type:  none

Definition:  Emit a complete XML element, with opening tag (with optional attributes, entity-encoded value, and closing tag. If the value is empty then this emits a self-closing tag. If you pass true for the 5th parameter, the value will be enclosed in CDATA delimiters. Value can be text, a number, or a date or time. Dates and times are formatted big-endian (as required by MoneyWorks when it imports data in XML format).

See Also:

BeginXMLElement: Write an opening tag to an XML document handle

CreateXMLDoc: Create an XML document handle

EndXMLElement: Write a closing tag to an XML document

FinaliseXMLDoc: Get the finished XML as a string