Difference between revisions of "Extensions.Xml.CopyXmlElement"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''CopyXmlElement'''}}Category:Xml == Classification == {{ClassificationActivity | CopyXmlElement | UPDATING... | Term | Extensions.Xml|OTX Xml ex...") |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''CopyXmlElement'''}}[[Category:Xml]] | {{DISPLAYTITLE:OTX '''CopyXmlElement'''}}[[Category:Xml]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | CopyXmlElement | | + | {{ClassificationActivity | CopyXmlElement|Copies an '''XmlElement'''.| [[Term]] | [[Extensions.Xml|OTX Xml extension]] |[[Extensions.Xml#Terms|Xml related Terms]] | - | - |}} |
== OTL Syntax == | == OTL Syntax == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | XmlElementTerm = Xml.CopyXmlElement(XmlElementTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== Description == | == Description == | ||
− | + | The '''CopyXmlElement''' action returns a deep copy of an '''XmlElement'''. | |
− | + | ||
− | + | {{TermReturnValue| [[Extensions.Xml.XmlElement|XmlElement]] | The copy of an '''XmlElement'''.}} | |
− | |||
− | |||
== Properties == | == Properties == | ||
− | |||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| Element|[[Extensions.Xml.XmlElement|XmlElement]] | [[Term]] | - |[1..1]| The '''XML''' element to copy.}} |
|} | |} | ||
− | |||
== OTL Examples == | == OTL Examples == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | Xml.XmlElement XmlElement1; | |
+ | Xml.XmlElement XmlElement2; | ||
− | + | /// Flow | |
− | + | XmlElement1 = Xml.CreateXmlElement("root", "~!@#$%^&*()_+{}|:\"<>?`1234567890-=[]\\;',./", {"type":"rootnode"}); | |
− | + | XmlElement2 = Xml.CopyXmlElement(XmlElement1); | |
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == | ||
− | + | <!--[[Extensions.Xml.CopyXmlElement|CopyXmlElement]]<br/>--> | |
+ | [[Extensions.Xml.CreateXmlDocument|CreateXmlDocument]]<br/> | ||
+ | [[Extensions.Xml.CreateXmlElement|CreateXmlElement]]<br/> | ||
+ | [[Extensions.Xml.GetXmlElementAttributes|GetXmlElementAttributes]]<br/> | ||
+ | [[Extensions.Xml.GetXmlElementChildElements|GetXmlElementChildElements]]<br/> | ||
+ | [[Extensions.Xml.GetXmlElementName|GetXmlElementName]]<br/> | ||
+ | [[Extensions.Xml.GetXmlElementsByXPath|GetXmlElementsByXPath]]<br/> | ||
+ | [[Extensions.Xml.GetXmlElementText|GetXmlElementText]]<br/> | ||
+ | [[Extensions.Xml.GetXmlRootElement|GetXmlRootElement]]<br/> | ||
+ | [[Extensions.Xml.XmlFromByteField|XmlFromByteField]]<br/> | ||
+ | [[Extensions.Xml.XmlLoadFromFile|XmlLoadFromFile]]<br/> | ||
+ | [[Extensions.Xml.XmlToByteField|XmlToByteField]]<br/> |
Revision as of 10:05, 8 October 2018
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);
Description
The CopyXmlElement action 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
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