H Accessor Summary (Non-Normative)

This section summarizes the return values of each accessor by node type.

H.1 dm:attributes Accessor

Document Nodes

Returns the empty sequence

Element Nodes

Returns the value of the attributes property. The order of Attribute Nodes is stable but implementation dependent.

Attribute Nodes

Returns the empty sequence.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.2 dm:base-uri Accessor

Document Nodes

Returns the value of the base-uri property.

Element Nodes

Returns the value of the base-uri property.

Attribute Nodes

If the attribute has a parent, returns the value of the dm:base-uri of its parent; otherwise it returns the empty sequence.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the value of the base-uri property.

Comment Nodes

If the comment has a parent, returns the value of the dm:base-uri of its parent; otherwise, returns the empty sequence.

Text Nodes

If the Text Node has a parent, returns the value of the dm:base-uri of its parent; otherwise, returns the empty sequence.

H.3 dm:children Accessor

Document Nodes

Returns the value of the children property.

Element Nodes

Returns the value of the children property.

Attribute Nodes

Returns the empty sequence.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.4 dm:document-uri Accessor

Document Nodes

Returns the absolute URI of the resource from which the Document Node was constructed, or the empty sequence if no such absolute URI is available.

Element Nodes

Returns the empty sequence.

Attribute Nodes

Returns the empty sequence.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.5 dm:is-id Accessor

Document Nodes

Returns the empty sequence.

Element Nodes

Returns the value of the is-id property.

Attribute Nodes

Returns the value of the is-id property.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.6 dm:is-idrefs Accessor

Document Nodes

Returns the empty sequence.

Element Nodes

Returns the value of the is-idrefs property.

Attribute Nodes

Returns the value of the is-idrefs property.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.7 dm:namespace-nodes Accessor

Document Nodes

Returns the empty sequence

Element Nodes

Returns the value of the namespaces property as a sequence of Namespace Nodes. The order of Namespace Nodes is stable but implementation dependent.

Attribute Nodes

Returns the empty sequence.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.8 dm:nilled Accessor

Document Nodes

Returns the empty sequence

Element Nodes

Returns the value of the nilled property.

Attribute Nodes

Returns the empty sequence.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.9 dm:node-kind Accessor

Document Nodes

Returns “document”.

Element Nodes

Returns “element”.

Attribute Nodes

Returns “attribute”.

Namespace Nodes

Returns “namespace”.

Processing Instruction Nodes

Returns “processing-instruction”.

Comment Nodes

Returns “comment”.

Text Nodes

Returns “text”.

H.10 dm:node-name Accessor

Document Nodes

Returns the empty sequence.

Element Nodes

Returns the value of the node-name property.

Attribute Nodes

Returns the value of the node-name property.

Namespace Nodes

If the prefix is not empty, returns an xs:QName with the value of the prefix property in the local-name and an empty namespace name, otherwise returns the empty sequence.

Processing Instruction Nodes

Returns an xs:QName with the value of the target property in the local-name and an empty namespace URI and empty prefix.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.11 dm:parent Accessor

Document Nodes

Returns the empty sequence

Element Nodes

Returns the value of the parent property.

Attribute Nodes

Returns the value of the parent property.

Namespace Nodes

Returns the value of the parent property.

Processing Instruction Nodes

Returns the value of the parent property.

Comment Nodes

Returns the value of the parent property.

Text Nodes

Returns the value of the parent property.

H.12 dm:string-value Accessor

Document Nodes

Returns the value of the string-value property.

Element Nodes

Returns the value of the string-value property.

Attribute Nodes

Returns the value of the string-value property.

Namespace Nodes

Returns the value of the uri property.

Processing Instruction Nodes

Returns the value of the content property.

Comment Nodes

Returns the value of the content property.

Text Nodes

Returns the value of the content property.

H.13 dm:type-name Accessor

Document Nodes

Returns the empty sequence.

Element Nodes

Returns the value of the schema-type property.

Attribute Nodes

Returns the value of the schema-type property.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns xs:untypedAtomic.

H.14 dm:typed-value Accessor

Document Nodes

Returns the value of the typed-value property.

Element Nodes

Returns the value of the typed-value property.

Attribute Nodes

Returns the value of the typed-value property.

Namespace Nodes

Returns the value of the uri property as an xs:string.

Processing Instruction Nodes

Returns the value of the content property as a xs:string.

Comment Nodes

Returns the value of the content property as a xs:string.

Text Nodes

Returns the value of the content property as an xs:untypedAtomic.

H.15 dm:unparsed-entity-public-id Accessor

Document Nodes

Returns the public identifier of the specified unparsed entity or the empty sequence if no such entity exists.

Element Nodes

Returns the empty sequence.

Attribute Nodes

Returns the empty sequence.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.

H.16 dm:unparsed-entity-system-id Accessor

Document Nodes

Returns the system identifier of the specified unparsed entity or the empty sequence if no such entity exists.

Element Nodes

Returns the empty sequence.

Attribute Nodes

Returns the empty sequence.

Namespace Nodes

Returns the empty sequence.

Processing Instruction Nodes

Returns the empty sequence.

Comment Nodes

Returns the empty sequence.

Text Nodes

Returns the empty sequence.