ApiCustomXmlNode
Represents the ApiCustomXmlNode class.
Methods
| Method | Returns | Description |
|---|---|---|
| Add | ApiCustomXmlNode | Creates a child node for the current XML node. |
| Delete | boolean | Deletes the current XML node. |
| DeleteAttribute | boolean | Deletes an attribute from the custom XML node. If the attribute exists, it will be removed. |
| GetAttribute | string | null | Retrieves the attribute value from the custom XML node. If the attribute doesn't exist, it returns false. |
| GetAttributes | CustomXmlNodeAttribute[] | Returns a list of attributes of the current XML node. |
| GetClassType | "customXmlNode" | Returns a type of the ApiCustomXmlNode class. |
| GetNodeName | string | Returns the name of the current XML node. |
| GetNodeValue | string | Returns the XML string representation of the current node content. |
| GetNodes | ApiCustomXmlNode[] | Returns nodes from the custom XML node based on the given XPath. |
| GetParent | ApiCustomXmlNode | null | Returns the parent of the current XML node. |
| GetText | string | Returns the inner text of the current node and its child nodes. For example: <text>123<one>4</one></text> returns "1234". |
| GetXPath | string | Returns the absolute XPath of the current XML node. |
| GetXml | string | Returns the XML string of the current node. |
| SetAttribute | boolean | Sets an attribute for the custom XML node. If the attribute already exists, it will not be modified. |
| SetNodeValue | boolean | Sets the XML content for the current node. |
| SetText | boolean | Sets the text content of the current XML node. |
| SetXml | boolean | Sets the XML content of the current XML node. |
| UpdateAttribute | boolean | Updates the value of an existing attribute in the custom XML node. If the attribute doesn't exist, the update will not occur. |