RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
XMLDoc.FormatXMLData Function

Formats a string of XML so that it is more readable.

Pascal
function FormatXMLData(const XMLData: DOMString): DOMString;
C++
DOMString FormatXMLData(const DOMString XMLData);

Use FormatXMLData to convert a string of XML into a format that represents its structure. FormatXMLData changes the input string (XMLData) so that each element node appears on its own line, indented appropriately to reflect its nesting in the node hierarchy. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!