XmlGetSybValue
Description
This function copies the value of the variable having the symbol specified in szSyb to the output string. It assumes that the symbol of the variable has been embedded in the Runtime Service.
This function enables the automation of data exchange between XML data and the Runtime Service. For example, you can find the symbol of a variable in a tag attribute and update the value in another one.
Inputs
Input |
Data type |
Description |
szSyb |
STRING |
Symbol of the variable. |
keepCase |
BOOL |
Default is FALSE as normally all embedded symbols are turned uppercase by the compiler. Must be TRUE if the Keep case of embedded symbols compiling option is set. |
Outputs
Output |
Data type |
Description |
value |
STRING |
Current value of the variable formatted as STRING. |
|
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. |
XmlGetSybValue |
IEC 61131-3 Automation platform > Programming - Reference guide > Advanced operations > XML writing and parsing > Exchanging variables using their name > XmlGetSybValue |
Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor