Extensions.Xml.CopyXmlElement
Jump to navigation
Jump to search
Contents
Classification
Name | CopyXmlElement |
Short Description | Copies an XmlElement. |
Class | Term |
Extension | OTX Xml extension |
Group | Xml related Terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
XmlElementTerm Xml.CopyXmlElement(XmlElementTerm element);
Description
The CopyXmlElement term returns a deep copy of an XmlElement.
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
XmlElement | The copy of an XmlElement. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Element | XmlElement | Term | - | [1..1] | The XML element to copy. |
OTL Examples
/// Local Declarations
Xml.XmlElement XmlElement1;
Xml.XmlElement XmlElement2;
/// Flow
XmlElement1 = Xml.CreateXmlElement("root", "~!@#$%^&*()_+{}|:\"<>?`1234567890-=[]\\;',./", {"type":"rootnode"});
XmlElement2 = Xml.CopyXmlElement(XmlElement1);
See also
CreateXmlDocument
CreateXmlElement
GetXmlElementAttributes
GetXmlElementChildElements
GetXmlElementName
GetXmlElementsByXPath
GetXmlElementText
GetXmlRootElement
XmlFromByteField
XmlLoadFromFile
XmlToByteField