Changes

Jump to navigation Jump to search
2,239 bytes added ,  13:01, 17 November 2015
This article lists extended type information that is returned by the [[Server Protocol]]. ==XDM Meta Data== In most cases, the XDM meta data is nothing else than the [[#Type IDs|Type ID]]. There are three exceptions: document-node(), attribute() and xs:QName items are followed by an additional <code>{URI}</code> string. ==Type IDs== The following table lists the type IDs that are returned by the server. Currently, all node kinds are of type {{Code|xs:untypedAtomic}}: {| class="wikitablesortable"
|-
! align='right' | Type&nbsp;ID! Data Node Kind/Item Type! Type
|-
| 7
| [[XQuery 3.0#Function Items|Function item]]| ''function item''
|-
| 8
| {{Code| node()}}| ''node''
|-
| 9
| {{Code| text()}}| ''node''
|-
| 10
| {{Code| processing-instruction()}}| ''node''
|-
| 11
| {{Code| element()}}| ''node''
|-
| 12
| {{Code| document-node()}}| ''node''
|-
| 13
| {{Code| document-node(element())}}| ''node''
|-
| 14
| {{Code| attribute()}}| ''node''
|-
| 15
| {{Code| comment()}}| ''node''
|-
| 32
| {{Code| item()}}| ''atomic value''
|-
| 33
| {{Code| xs:anyAtomicTypeuntyped}}| ''atomic value''
|-
| 34
| {{Code| xs:untypedAtomicanyType}}| ''atomic value''
|-
| 35
| {{Code| xs:stringanySimpleType}}| ''atomic value''
|-
| 36
| {{Code| xs:normalizedStringanyAtomicType}}| ''atomic value''
|-
| 37
| {{Code| xs:tokenuntypedAtomic}}| ''atomic value''
|-
| 38
| {{Code| xs:languagestring}}| ''atomic value''
|-
| 39
| {{Code| xs:NMTOKENnormalizedString}}| ''atomic value''
|-
| 40
| {{Code| xs:Nametoken}}| ''atomic value''
|-
| 41
| {{Code| xs:NCNamelanguage}}| ''atomic value''
|-
| 42
| {{Code| xs:IDNMTOKEN}}| ''atomic value''
|-
| 43
| {{Code| xs:IDREFName}}| ''atomic value''
|-
| 44
| {{Code| xs:ENTITYNCName}}| ''atomic value''
|-
| 45
| {{Code| xs:floatID}}| ''atomic value''
|-
| 46
| {{Code| xs:doubleIDREF}}| ''atomic value''
|-
| 47
| {{Code| xs:decimalENTITY}}| ''atomic value''
|-
| 48
| {{Code| xs:precisionDecimalfloat}}| ''atomic value''
|-
| 49
| {{Code| xs:integerdouble}}| ''atomic value''
|-
| 50
| {{Code| xs:nonPositiveIntegerdecimal}}| ''atomic value''
|-
| 51
| {{Code| xs:negativeIntegerprecisionDecimal}}| ''atomic value''
|-
| 52
| {{Code| xs:longinteger}}| ''atomic value''
|-
| 53
| {{Code| xs:intnonPositiveInteger}}| ''atomic value''
|-
| 54
| {{Code| xs:shortnegativeInteger}}| ''atomic value''
|-
| 55
| {{Code| xs:bytelong}}| ''atomic value''
|-
| 56
| {{Code| xs:nonNegativeIntegerint}}| ''atomic value''
|-
| 57
| {{Code| xs:unsignedLongshort}}| ''atomic value''
|-
| 58
| {{Code| xs:unsignedIntbyte}}| ''atomic value''
|-
| 59
| {{Code| xs:unsignedShortnonNegativeInteger}}| ''atomic value''
|-
| 60
| {{Code| xs:unsignedByteunsignedLong}}| ''atomic value''
|-
| 61
| {{Code| xs:positiveIntegerunsignedInt}}| ''atomic value''
|-
| 62
| {{Code| xs:durationunsignedShort}}| ''atomic value''
|-
| 63
| {{Code| xs:yearMonthDurationunsignedByte}}| ''atomic value''
|-
| 64
| {{Code| xs:dayTimeDurationpositiveInteger}}| ''atomic value''
|-
| 65
| {{Code| xs:dateTimeduration}}| ''atomic value''
|-
| 66
| {{Code| xs:dateTimeStampyearMonthDuration}}| ''atomic value''
|-
| 67
| {{Code| xs:datedayTimeDuration}}| ''atomic value''
|-
| 68
| {{Code| xs:timedateTime}}| ''atomic value''
|-
| 69
| {{Code| xs:gYearMonthdateTimeStamp}}| ''atomic value''
|-
| 70
| {{Code| xs:gYeardate}}| ''atomic value''
|-
| 71
| {{Code| xs:gMonthDaytime}}| ''atomic value''
|-
| 72
| {{Code| xs:gDaygYearMonth}}| ''atomic value''
|-
| 73
| {{Code| xs:gMonthgYear}}| ''atomic value''
|-
| 74
| {{Code| xs:booleangMonthDay}}| ''atomic value''
|-
| 75
| basex{{Code|xs:binarygDay}}| ''atomic value''
|-
| 76
| {{Code| xs:base64BinarygMonth}}| ''atomic value''
|-
| 77
| {{Code| xs:hexBinaryboolean}}| ''atomic value''
|-
| 78
| {{Code| basex:rawbinary}}| ''atomic value''
|-
| 79
| {{Code| xs:anyURIbase64Binary}}| ''atomic value''
|-
| 80
| {{Code| xs:QNamehexBinary}}| ''atomic value''
|-
| 81
| {{Code|xs:anyURI}}| ''atomic value''|-| 82| {{Code|xs:QName}}| ''atomic value''|-| 83| {{Code| xs:NOTATION}}| ''atomic value''
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu