Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The following table describes the default mapping between the XML data types and the common language runtime (CLR) types.
The following table describes the default mappings of an XML data type to a CLR type.
Note
The xs and the xdt prefixes are mapped to the http://www.w3.org/2001/XMLSchema and the http://www.w3.org/2003/05/xpath-datatypes namespace URIs respectively.
XML Type |
CLR Type |
|---|---|
xs:anyURI |
|
xs:base64Binary |
Byte[] |
xs:boolean |
|
xs:byte |
|
xs:date |
|
xs:dateTime |
|
xs:decimal |
|
xs:double |
|
xs:duration |
|
xs:ENTITIES |
String[] |
xs:ENTITY |
|
xs:float |
|
xs:gDay |
|
xs:gMonthDay |
|
xs:gYear |
|
xs:gYearMonth |
|
xs:hexBinary |
Byte[] |
xs:ID |
|
xs:IDREF |
|
xs:IDREFS |
String[] |
xs:int |
|
xs:integer |
|
xs:language |
|
xs:long |
|
xs:gMmonth |
|
xs:Name |
|
xs:NCName |
|
xs:negativeInteger |
|
xs:NMTOKEN |
|
xs:NMTOKENS |
String[] |
xs:nonNegativeInteger |
|
xs:nonPositiveInteger |
|
xs:normalizedString |
|
xs:NOTATION |
|
xs:positiveInteger |
|
xs:QName |
|
xs:short |
|
xs:string |
|
xs:time |
|
xs:token |
|
xs:unsignedByte |
|
xs:unsignedInt |
|
xs:unsignedLong |
|
xs:unsignedShort |
|
xdt:dayTimeDuration |
|
xdt:yearMonthDuration |
|
xdt:untypedAtomic |
|
xdt:anyAtomicType |
|
xs:anySimpleType |
|
Document node |
|
Element node |
|
Attribute node |
|
Namespace node |
|
Text node |
|
Comment node |
|
Processing instruction node |