This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %XML.XPATH.DOMResult

%XML.XPATH.DOMResult

persistent class %XML.XPATH.DOMResult extends %XML.XPATH.Result

SQL Table Name: %XML_XPATH.DOMResult

Property Inventory

Method Inventory

Properties

property AttributeCount as %Integer;
Public property, Only applicable to element nodes. Returns the number of attributes on the current node.
Property methods: AttributeCountDisplayToLogical(), AttributeCountGet(), AttributeCountIsValid(), AttributeCountLogicalToDisplay(), AttributeCountNormalize(), AttributeCountSet()
property EOF as %Boolean;
Public property, true if the reader is positioned at the end of the stream; otherwise, false.
Property methods: EOFDisplayToLogical(), EOFGet(), EOFIsValid(), EOFLogicalToDisplay(), EOFNormalize(), EOFSet()
property HasAttributes as %Boolean;
Public property, Gets a value indicating whether the current node has any attributes. true if the current node has attributes; otherwise, false.
Property methods: HasAttributesDisplayToLogical(), HasAttributesGet(), HasAttributesIsValid(), HasAttributesLogicalToDisplay(), HasAttributesNormalize(), HasAttributesSet()
property HasValue as %Boolean;
Public property, returns true if the node on which the reader is currently positioned can have a Value;
Property methods: HasValueDisplayToLogical(), HasValueGet(), HasValueIsValid(), HasValueLogicalToDisplay(), HasValueNormalize(), HasValueSet()
property LocalName as %String;
Public property, The unqualified name of the current node. The name returned is dependent on the NodeType of the node.
Property methods: LocalNameDisplayToLogical(), LocalNameGet(), LocalNameIsValid(), LocalNameLogicalToDisplay(), LocalNameLogicalToOdbc(), LocalNameNormalize(), LocalNameSet()
property Name as %String;
Public property, The qualified name of the current node. The name returned is dependent on the NodeType of the node.
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property NodeType as %String;
Public property, contains the node type of the current node as indicated by the following table:- Node Type --------- attribute chars cdata comment document documentfragment documenttype element entity entityreference notation processinginstruction
Property methods: NodeTypeDisplayToLogical(), NodeTypeGet(), NodeTypeIsValid(), NodeTypeLogicalToDisplay(), NodeTypeLogicalToOdbc(), NodeTypeNormalize(), NodeTypeSet()
property Path as %String;
Public property, contains the current path to the containing element
Property methods: PathDisplayToLogical(), PathGet(), PathIsValid(), PathLogicalToDisplay(), PathLogicalToOdbc(), PathNormalize(), PathSet()
property ReadState as %String;
Public property, returns the current read state of the reader The following table lists the states and their meanings State Meaning ----- ------- eof The end of the file has been reached successfully. initial The Read method has not been called. cursoractive The Read method has been called. Additional methods may be called on the reader.
Property methods: ReadStateDisplayToLogical(), ReadStateGet(), ReadStateIsValid(), ReadStateLogicalToDisplay(), ReadStateLogicalToOdbc(), ReadStateNormalize(), ReadStateSet()
property Uri as %String;
Public property, The uri of the current node. The name returned is dependent on the NodeType of the node.
Property methods: UriDisplayToLogical(), UriGet(), UriIsValid(), UriLogicalToDisplay(), UriLogicalToOdbc(), UriNormalize(), UriSet()
property Value;
Public property, returns the value of the current node. If the value is <32k in length then a string will be returned, if greater then a character stream
Property methods: ValueDisplayToLogical(), ValueGet(), ValueIsValid(), ValueLogicalToDisplay(), ValueLogicalToOdbc(), ValueNormalize(), ValueSet()

Methods

method AttributeCountGet() as %Integer
AttributeCount Implementation
method EOFGet() as %Boolean
EOF Implementation
method HasAttributesGet() as %Boolean
HasAttributes Implementation
method HasValueGet() as %Boolean
HasValue Implementation
method LocalNameGet() as %String
method MoveToAttributeIndex(pIndex As %String) as %Boolean
Moves to the attribute with the specified index. Returns 'true' on success, 'false' otherwise
method MoveToAttributeName(pName As %String, pUri As %String = "") as %Boolean
Move to the attribute with the specified name. Returns 'true' on success, 'false' otherwise
method MoveToElement() as %Boolean
Moves to the associated element when the current node is of type attribute
method NameGet() as %String
Name implementation
method NodeTypeGet() as %String
NodeType implementation
method PathGet() as %String
Path Implementation
method Read() as %Boolean
Reads the next node from the stream. Returns true if the next node was read successfully; false if there are no more nodes to read. When an DOMResult is first created and initialized, there is no information available. You must call Read to read the first node.
method ReadStateGet() as %String
ReadState Implementation
method Rewind()
Resets the reader to the initial state
method UriGet() as %String
method ValueGet()
Value Implementation

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

FeedbackOpens in a new window