OTX Reference  
OpenTestSystem.Otx.Extensions.XML.Terms.CopyXmlElement Class Reference

Deep copy of XmlElement More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.XML.Terms.CopyXmlElement:
Inheritance graph

Public Attributes

XmlElementTerm element
 Cardinality [1]
Name of an XML element. The value can contain an arbitrary namespace in form of "Namespace:Name" More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Deep copy of XmlElement

Deep copy of XmlElement. The returned XmlElement has no parent element, and it does not belong to a document.

Syntax
XmlElementTerm = Xml.CopyXmlElement(XmlElementTerm element);
XmlElementTerm element
Cardinality [1] Name of an XML element. The value can contain an arbitrary namespace in form of "Name...
Definition: XML.cs:1948
Examples
// Local Declarations
Xml.XmlElement XmlElement1;
Xml.XmlElement XmlElement2;
// Flow
XmlElement1 = Xml.CreateXmlElement("root", "text", {"attr":"val"});
XmlElement2 = Xml.CopyXmlElement(XmlElement1);

Member Data Documentation

◆ element

XmlElementTerm OpenTestSystem.Otx.Extensions.XML.Terms.CopyXmlElement.element

Cardinality [1]
Name of an XML element. The value can contain an arbitrary namespace in form of "Namespace:Name"