Difference between revisions of "Extensions.Xml.XmlElement"
Jump to navigation
Jump to search
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Data Type '''XmlElement'''}}[[Category:DataType]][[Category:Xml]] | {{DISPLAYTITLE:Data Type '''XmlElement'''}}[[Category:DataType]][[Category:Xml]] | ||
== Classification == | == Classification == | ||
| − | {{ClassificationDataType | XmlElement | | + | {{ClassificationDataType | XmlElement | Represents an XML element | [[Core.DataTypes.ComplexDataType|Complex Data Type]] |[[Core.DataTypes.ComplexDataType.ComplexType|ComplexType]]}} |
== Description == | == Description == | ||
| − | + | A '''XmlElement ''' represents an '''XML''' element. | |
| − | A ''' | ||
{{ConversionTable | | {{ConversionTable | | ||
| − | + | String=Returns the XML String of the XML element | StringSample=<tt>String s = ToString(XmlElementVariable); // Returns "<child1>child1 text</child1>" | | |
| − | |||
| − | |||
| − | String=Returns the String | ||
| − | |||
}} | }} | ||
| − | - | + | |
| + | ==Sample== | ||
| + | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| + | Xml.XmlElement XmlElementVariable; | ||
| + | </syntaxhighlight> | ||
Latest revision as of 09:42, 22 October 2018
Classification
| Name | XmlElement |
| Short Description | Represents an XML element |
| Class | Complex Data Type |
| Base Data Type | ComplexType |
| Default Value | Empty |
| Provide a Literal | No |
| SpecifiedBy | ISO 13209-3 |
| Standard Compliant | Yes |
Description
A XmlElement represents an XML element.
Core Conversion
The following table shows the rules for conversion to another data type:
| Conversion | Result | Sample |
| ToBoolean | Undefined (should not be used) | |
| ToInteger | Undefined (should not be used) | |
| ToFloat | Undefined (should not be used) | |
| ToString | Returns the XML String of the XML element | String s = ToString(XmlElementVariable); // Returns "<child1>child1 text</child1>" |
| ToByteField | Undefined (should not be used) |
Sample
Xml.XmlElement XmlElementVariable;