Difference between revisions of "Extensions.Xml.XmlDocument"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
 
{{DISPLAYTITLE:Data Type '''XmlDocument'''}}[[Category:DataType]][[Category:Xml]]
 
{{DISPLAYTITLE:Data Type '''XmlDocument'''}}[[Category:DataType]][[Category:Xml]]
 
== Classification ==
 
== Classification ==
{{ClassificationDataType | XmlDocument | UPDATING... | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Core.DataTypes.ComplexDataType.ComplexType|ComplexType]] }}
+
{{ClassificationDataType | XmlDocument | Represents an XML document | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Core.DataTypes.ComplexDataType.ComplexType|ComplexType]] }}
  
 
== Description ==
 
== Description ==
UPDATING...<!--
+
 
A '''BlackBox''' is a boxing type. It serves as a transport or base data type which can help the OTX unknown types pass through the code layers.
+
A '''XmlDocument''' represents an XML document.
  
 
{{ConversionTable |
 
{{ConversionTable |
Boolean=Returns the Boolean counterpart of the argument term | BooleanSample=<tt>Boolean b = ToBoolean(blackBoxVariable); // Returns true/false/TypeMismatchException</tt> |
+
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>"|
Integer=Returns the Integer counterpart of the argument term | IntegerSample=<tt>Integer i = ToInteger(blackBoxVariable); // Returns integer value/TypeMismatchException</tt> |
 
Float=Returns the Float counterpart of the argument term | FloatSample=<tt>Float f = ToFloat(blackBoxVariable); // Returns float value/TypeMismatchException</tt> |
 
String=Returns the String counterpart of the argument term | StringSample=<tt>String s = ToString(blackBoxVariable); // Returns string value/TypeMismatchException</tt> |
 
ByteField=Returns the ByteField counterpart of the argument term | ByteFieldSample=<tt>ByteField bf = ToString(blackBoxVariable); // Returns byteField value/TypeMismatchException</tt>
 
 
}}
 
}}
-->
 

Revision as of 11:15, 5 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)