Extensions.Xml.GetXmlElementName
Jump to navigation
Jump to search
Contents
Classification
Name | GetXmlElementName |
Short Description | Returns the name of an XML element |
Class | Term |
Extension | OTX Xml extension |
Group | Xml related Terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm Xml.GetXmlElementName(XmlElementTerm element);
Description
The GetXmlElementName term returns the name of an XML element as a String. The value can contain an arbitrary namespace in form of "Prefix:Name".
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | The name of an XML element |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Element | XmlElement | Term | - | [1..1] | The XmlElement object, to which the operation is applied. |
OTL Examples
/// Local Declarations
Xml.XmlElement XmlElement1;
String String1 = "";
/// Flow
XmlElement1 = Xml.CreateXmlElement("root", "abc");
String1 = Xml.GetXmlElementName(XmlElement1);
See also
CopyXmlElement
CreateXmlDocument
CreateXmlElement
GetXmlElementAttributes
GetXmlElementChildElements
GetXmlElementsByXPath
GetXmlElementText
GetXmlRootElement
XmlFromByteField
XmlLoadFromFile
XmlToByteField