From OpenSCADAWiki
Jump to: navigation, search

XML: Node (xmlNode)

Description: Creating a XML node object.
Parameters:

Identifier Name Type Mode By defaults
rez Result Object(XMLNodeObj) Return
name Name String Input

Example:

using Special.FLibSYS;
//Creating the "get" object of the XML node.
req = xmlNode("get");
//Creating the "get" object of the XML node with attributes creating.
//sub_DAQ/mod_ModBus/cntr_1/prm_1 — path according to the project structure.
req = xmlNode("get").setAttr("path","/sub_DAQ/mod_ModBus/cntr_1/prm_1/%2fprm%2fst%2fen");