Difference between revisions of "Extensions.Xml.XmlDocument"
Jump to navigation
Jump to search
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Data Type '''XmlDocument'''}}[[Category:DataType]][[Category:Xml]] | {{DISPLAYTITLE:Data Type '''XmlDocument'''}}[[Category:DataType]][[Category:Xml]] | ||
== Classification == | == Classification == | ||
| − | {{ClassificationDataType | XmlDocument | | + | {{ClassificationDataType | XmlDocument | Represents an XML document | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Core.DataTypes.ComplexDataType.ComplexType|ComplexType]] }} |
== Description == | == Description == | ||
| − | + | ||
| − | A ''' | + | A '''XmlDocument''' represents an XML document. |
{{ConversionTable | | {{ConversionTable | | ||
| − | + | String=Returns the XML String of the root node of the XML document | StringSample=<tt>String s = ToString(XmlDocumentVariable); // Returns "<root><child1>child1 text</child1></root>"| | |
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | - | + | |
| + | ==Sample== | ||
| + | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| + | Xml.XmlDocument XmlDocumentVariable; | ||
| + | </syntaxhighlight> | ||
Latest revision as of 09:41, 22 October 2018
Classification
| Name | XmlDocument |
| Short Description | Represents an XML document |
| Class | Complex Data Type |
| Base Data Type | ComplexType |
| Default Value | Empty |
| Provide a Literal | No |
| SpecifiedBy | ISO 13209-3 |
| Standard Compliant | Yes |
Description
A XmlDocument represents an XML document.
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 root node of the XML document | String s = ToString(XmlDocumentVariable); // Returns "<root><child1>child1 text</child1></root>" |
| ToByteField | Undefined (should not be used) |
Sample
Xml.XmlDocument XmlDocumentVariable;