Difference between revisions of "Extensions.Xml.XmlElement"
Jump to navigation
Jump to search
| Line 8: | Line 8: | ||
{{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 XML String of the XML element | StringSample=<tt>String s = ToString(XmlElementVariable); // Returns "<child1>child1 text</child1>" | | ||
| + | }} | ||
| − | + | ==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;