OPC Unified Architecture – Part 120: OPC UA and XML Data Type Mapping
6 OPC UA Information Model for XML Data Types
6.1 Overview
6.2 XmlQName
This simple DataType is a subtype of String. It contains a string according to the XML data type QName defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 15.
Table 15 – XmlQName Definition
Attribute
Value
BrowseName
XmlQName
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.3 XmlToken
This simple DataType is a subtype of NormalizedString. It contains a string according to the XML data type token defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 16.
Table 16 – XmlToken Definition
Attribute
Value
BrowseName
XmlToken
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:NormalizedString DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.4 XmlNmToken
This simple DataType is a subtype of XmlToken. It contains a string according to the XML data type NMTOKEN defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 17.
This simple DataType is a subtype of XmlToken. It contains a string according to the XML data type Name defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 18.
This simple DataType is a subtype of XmlName. It contains a string according to the XML data type NCName defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 19.
This simple DataType is a subtype of XmlNcName. It contains a string according to the XML data type ID defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 20.
This simple DataType is a subtype of XmlNcName. It contains a string according to the XML data type IDREF defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 21.
This simple DataType is a subtype of XmlNcName. It contains a string according to the XML data type ENTITY defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 22.
This simple DataType is a subtype of Int64. It represents integer values according to the XML data type integer defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 23.
Table 23 – XmlInteger Definition
Attribute
Value
BrowseName
XmlInteger
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:Int64 DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.11 XmlNonPositiveInteger
This simple DataType is a subtype of XmlInteger. It represents integer values according to the XML data type nonPositiveInteger defined in XML Schema Part 2. It is not allowed to use this DataType with value 1 or larger. Its representation in the AddressSpace is defined in Table 24.
Table 24 – XmlNonPositiveInteger Definition
Attribute
Value
BrowseName
XmlNonPositiveInteger
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the XmlInteger DataType defined in 6.10
Conformance Units
XML Data Types
6.12 XmlNegativeInteger
This simple DataType is a subtype of XmlInteger. It represents integer values according to the XML data type negativeInteger defined in XML Schema Part 2. It is not allowed to use this DataType with value 0 or larger. Its representation in the AddressSpace is defined in Table 25.
Table 25 – XmlNegativeInteger Definition
Attribute
Value
BrowseName
XmlNegativeInteger
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the XmlInteger DataType defined in 6.10
Conformance Units
XML Data Types
6.13 XmlNonNegativeInteger
This simple DataType is a subtype of UInt64. It represents integer values according to the XML data type nonNegativeInteger defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 26.
Table 26 – XmlNonNegativeInteger Definition
Attribute
Value
BrowseName
XmlNonNegativeInteger
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:UInt64 DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.14 XmlPositiveInteger
This simple DataType is a subtype of UInt64. It represents integer values according to the XML data type positiveInteger defined in XML Schema Part 2. It is not allowed to use this DataType with value 0. Its representation in the AddressSpace is defined in Table 27.
Table 27 – XmlPositiveInteger Definition
Attribute
Value
BrowseName
XmlPositiveInteger
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the XmlNonNegativeInteger DataType defined in 6.13
Conformance Units
XML Data Types
6.15 XmlHexBinary
This simple DataType is a subtype of ByteString. It represents a sequence of byte values according to the XML data type hexBinary defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 28.
Table 28 – XmlHexBinary Definition
Attribute
Value
BrowseName
XmlHexBinary
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:ByteString DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.16 XmlYearMonthDuration
This simple DataType is a subtype of String. It contains a string according to the XML data type yearMonthDuration defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 29.
This simple DataType is a subtype of String. It contains a string according to the XML data type gYearMonth defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 30.
Table 30 – XmlGYearMonth Definition
Attribute
Value
BrowseName
XmlGYearMonth
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.18 XmlDayTimeDuration
This simple DataType is a subtype of String. It contains a string according to the XML data type dayTimeDuration defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 31.
Table 31 – XmlDayTimeDuration Definition
Attribute
Value
BrowseName
XmlDayTimeDuration
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.19 XmlGYear
This simple DataType is a subtype of String. It contains a string according to the XML data type gYear defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 32.
Table 32 – XmlGYear Definition
Attribute
Value
BrowseName
XmlGYear
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.20 XmlGMonth
This simple DataType is a subtype of String. It contains a string according to the XML data type gMonth defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 33.
Table 33 – XmlGMonth Definition
Attribute
Value
BrowseName
XmlGMonth
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.21 XmlGDay
This simple DataType is a subtype of String. It contains a string according to the XML data type gDay defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 34.
Table 34 – XmlGDay Definition
Attribute
Value
BrowseName
XmlGDay
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.22 XmlGMonthDay
This simple DataType is a subtype of String. It contains a string according to the XML data type gMonthDay defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 35.
Table 35 – XmlGMonthDay Definition
Attribute
Value
BrowseName
XmlGMonthDay
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.23 XmlTime
This simple DataType is a subtype of String. It contains a string according to the XML data type time defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 36.
Table 36 – XmlTime Definition
Attribute
Value
BrowseName
XmlTime
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5
Conformance Units
XML Data Types
6.24 XmlDate
This simple DataType is a subtype of String. It contains a string according to the XML data type date defined in XML Schema Part 2. Its representation in the AddressSpace is defined in Table 37.
Table 37 – XmlDate Definition
Attribute
Value
BrowseName
XmlDate
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
Other
Subtype of the 0:String DataType defined in OPC 10000-5