Integration Server 10.3 | Built-In Services Reference Guide | XMLData Folder | Summary of Elements in this Folder | pub.xmldata:xmlDataToXMLString
 
pub.xmldata:xmlDataToXMLString
WmPublic. Converts an XMLData document to an XML string.
The pub.xmldata:xmlDataToXMLString service recurses through a given document formatted as XMLData, building an XML representation from the elements within it. Key names are turned into XML elements and attributes, and the key values are turned into the contents of those elements.
Input Parameters
xmlDataDocument
Document XMLData document that is to be converted to XML.
encode
String Optional. Flag indicating whether to HTML-encode the data. Set this parameter to true if your XML data contains special characters, including the following: < > & " '
Set to:
*true to HTML-encode the data.
For example, the string expression 5 < 6 would be converted to <expr>5 &lt; 6</expr>, which is valid.
*false to not HTML-encode the data. This is the default.
For example, the string expression 5 < 6would be converted to <expr>5 < 6</expr>, which is invalid.
Output Parameters
xmlString
String XML String produced from xmlDataDocument.