TXmlDocument() > Methods for XML data manipulation |
Creates an XML formatted character string.
:write( <nFileHandle>, [<nStyle>] ) --> self
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 :write() writes all XML nodes and data currently held in the XML tree to the open file <nFileHandle>. The <nStyle> parameter can be used to indent the nodes for readability, or to leave characters in data sections unescaped.
http://www.xHarbour.com