Script Functions for XML Elements
The following script elements handle and read or modify values stored XML elements.
-
XML_APPEND_BEFORE
Moves an XML element in front of another element -
XML_APPEND_CHILD
Adds a new sub-element to an XML element -
XML_APPEND_CLONE
Duplicates an XML element and attaches it to another element -
XML_APPEND_ELEMENT
Attaches an existing XML element to another element -
XML_BEAUTIFY
Beautifies the XML document for legibility -
XML_CLONE_AND_RENAME
Duplicates and renames an XML element -
:XML_CLOSE
Closes an XML document -
XML_DELETE_NODE
Removes a specific XML element -
XML_GET_ATTRIBUTE
Retrieves the value of an attribute -
XML_GET_CHILD_COUNT
Counts the sub-elements of an element -
XML_GET_FIRST_CHILD
Identifies the first sub-element of an element -
XML_GET_LAST_CHILD
Identifies the last sub-element of an element -
XML_GET_NEXTSIBLING
Identifies the succeeding element -
XML_GET_NODE_NAME
Retrieves the name of an element -
XML_GET_NODE_TEXT
Retrieves the text of an element -
XML_INSERT_BEFORE
Creates a new XML element and inserts the new element in front of another element -
XML_OPEN
Opens an XML document for processing -
XML_PRINTINTOFILE
Writes the XML document in a file -
XML_REMOVE_CHILDREN
Removes all the sub-elements of an XML element -
XML_SELECT_NODE
Identifies any element -
XML_SET_ATTRIBUTE
Adds a new attribute to an XML element or changes an existing attribute -
XML_SET_NODE_TEXT
Changes or sets the value of an XML element -
XML_TO_STRING
Returns the XML of a specific element as text