UE · 2023年7月21日 0

[DTXml] XML Read Save Plugin Description

This plugin can be read, saved, analyzed XML files or s…

1. Node Description

DT XML | File

Read Xml By File

[DTXml] XML Read Save Plugin Description
Loads the file with the passed path. 
buffer to load.
@param	Path				The path to use

Read Xml By String

[DTXml] XML Read Save Plugin Description
Loads the file with the passed text. 
buffer to load.
@param	String				The text to use

Get Root Node

[DTXml] XML Read Save Plugin Description
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

[DTXml] XML Read Save Plugin Description
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

[DTXml] XML Read Save Plugin Description
Gets the next node in a list of nodes

Get Children Nodes

[DTXml] XML Read Save Plugin Description
Gets a list of children nodes

Get First Child Node

[DTXml] XML Read Save Plugin Description
Gets the first child of this node which can be iterated into with GetNextNode

Find Child Node

[DTXml] XML Read Save Plugin Description
Finds the first child node that contains the specified tag

Get Tag

[DTXml] XML Read Save Plugin Description
Gets the tag of the node

Get Content

[DTXml] XML Read Save Plugin Description
Gets the value of the node

Get Attributes

[DTXml] XML Read Save Plugin Description
Gets all of the attributes in this node
@return	List of attributes in this node

Get Attribute

[DTXml] XML Read Save Plugin Description
Gets an attribute that corresponds with the passed-in tag

Set Content

[DTXml] XML Read Save Plugin Description
Sets the new value of the node

Set Attributes

[DTXml] XML Read Save Plugin Description
Sets the attributes of the node

Append Child Node

[DTXml] XML Read Save Plugin Description
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

[DTXml] XML Read Save Plugin Description
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

[DTXml] XML Read Save Plugin Description
Gets the tag of the node attribute

Get Value

[DTXml] XML Read Save Plugin Description
Gets the value of the node attribute

Make Attribute

[DTXml] XML Read Save Plugin Description
Creates a node attribute

Break Attribute

[DTXml] XML Read Save Plugin Description
Breaks an node attribute

2. Plugin Download

Download Link