This plugin can be read, saved, analyzed XML files or s…
1. Node Description
DT XML | File
Read Xml By File
Loads the file with the passed path.
buffer to load.
@param Path The path to use
Read Xml By String
Loads the file with the passed text.
buffer to load.
@param String The text to use
Get Root Node
Returns the root node of the loaded file. nullptr if no file loaded.
It is assumed that there will always be one and only one root node.
@return Pointer to root node
Save
Write to disk, UTF-16 format only at the moment
@param Path File path to save to
@return Whether writing the XML to a file succeeded
DT XML | Node
Get Next Node
Gets the next node in a list of nodes
Get Children Nodes
Gets a list of children nodes
Get First Child Node
Gets the first child of this node which can be iterated into with GetNextNode
Find Child Node
Finds the first child node that contains the specified tag
Get Tag
Gets the tag of the node
Get Content
Gets the value of the node
Get Attributes
Gets all of the attributes in this node
@return List of attributes in this node
Get Attribute
Gets an attribute that corresponds with the passed-in tag
Set Content
Sets the new value of the node
Set Attributes
Sets the attributes of the node
Append Child Node
Adds a child node to this node
@param InTag The tag of the child node
@param InContent (optional) The content of the child node
Append Child Node AndAttribute
Adds a child node to this node
@param InTag The tag of the child node
@param InContent (optional) The content of the child node
@param InAttributes (optional) An array of attributes of the child node
DT XML | Attribute
Get Tag
Gets the tag of the node attribute
Get Value
Gets the value of the node attribute
Make Attribute
Creates a node attribute
Break Attribute
Breaks an node attribute