TXmlDocument() > Methods for XML data manipulation |
Creates an XML formatted character string.
:toString( <nStyle> ) --> cXmlString
Constants for XML code creation
Constant | Value | Description |
---|---|---|
HBXML_STYLE_INDENT | 1 | Indents XML nodes with one space |
HBXML_STYLE_TAB | 2 | Indents XML nodes with tabs |
HBXML_STYLE_THREESPACES | 4 | Indents XML nodes with three spaces |
HBXML_STYLE_NOESCAPE | 8 | Creates unescaped characters |
in data sections |
Method :toString() creates an XML formatted character string containing all nodes and data currently held in the XML tree. The <nStyle> parameter can be used to indent the nodes for readability, or to leave characters in data sections unescaped.
http://www.xHarbour.com