Docs Menu
API Developer Guide / middleware / pub / xml / toXML

Service: toXML

This service converts an XML document into an XML string with a specified root node name.

Input Parameter:

Name Type Description
root: Document The XML document to be converted.
rootNodeName: String The name of the root node in the resulting XML string.

Output Parameter:

Name Type Description
text: String The XML string representation of the XML document with the specified root node name.