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

Returns the name of a XML element as a String. More...

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

Public Attributes

XmlElementTerm element
 Cardinality [1]
The XmlElement object to which the operation is applied. 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

Returns the name of a XML element as a String.

The GetXmlElementName activity returns the name of a XML element as a String. The value can contain an arbitrary namespace in form of "Namespace:Name".

Syntax
StringTerm = Xml.GetXmlElementName(XmlElementTerm element);
XmlElementTerm element
Cardinality [1] The XmlElement object to which the operation is applied.
Definition: XML.cs:2125
Examples
// Local Declarations
Xml.XmlElement XmlElement1;
String String1 = "";
// Flow
XmlElement1 = Xml.CreateXmlElement("root", "abc");
String1 = Xml.GetXmlElementName(XmlElement1);

Member Data Documentation

◆ element

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

Cardinality [1]
The XmlElement object to which the operation is applied.