Extensions.Xml.GetXmlElementName

From emotive
Revision as of 08:56, 9 October 2018 by Hb (talk | contribs)
Jump to navigation Jump to search

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);

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.

Icons Note.png 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

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