XmlWriteDocTxb
See alsoXmlWriteDocTxb – Function
Description
This function format a XML document to a text buffer. It does not releases the memory allocated for the XML document.
|
XML parsing and witing functions support only 8 bit encoding features. This can be UTF8 or ANSI (ISO-8859-1) encoding. Some additional functions will be provided for conversion between UTF8 and ANSI formats. |
Inputs
Input |
Data type |
Description |
hRootTag |
DINT |
Handle of the XML document root tag. |
hTxb |
DINT |
Handle of the text buffer where to store XML text. This handle has been allocated and will be released by the application. |
Outputs
Output |
Data type |
Description |
bOK |
BOOL |
TRUE if successful. |
See also |
Memory management / Miscellaneous XmlManager: Main gatherer of XML data in memory. XmlLastError: Get detailed error report about last call. XmlNewDoc: Create an empty XML document. XmlFreeDoc: Release a XML document from memory. XmlParseDocTxb: Parse a XML document from text buffer. XmlParseDocFile: Parse a XML document form file. XmlWriteDocTxb: Format XML data to text buffer. XmlWriteDocFile: Format XML data to file. XmlGetTagName: Get name of a XML tag. XmlCheckTagName: Test the name of a XML tag. XmlGetTagCont: Get tag contents as STRING. XmlGetTagContT: Get tag contents as text buffer. XmlGetTagAttrib: Get tag attribute. XmlFirstChild: Start enumerating child tags. XmlNextChild: Enumerate child tags XmlSetTagAttrib: Set tag attribute. XmlSetTagCont: Set tag contents with STRING. XmlSetTagContT: Set tag contents with text buffer. XmlAddChild: Add a child tag. Exchanging variables using their name XmlGetSybValue: Get variable value using its symbol. XmlSetSybValue: Set variable value using its symbol. |
XmlWriteDocTxb |
IEC 61131-3 Automation platform > Programming - Reference guide > Advanced operations > XML writing and parsing > Reading/writing documents > XmlWriteDocTxb |
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator