%XML.XPATH.DOMResult
Class %XML.XPATH.DOMResult Extends %XML.XPATH.Result [ System = 4 ]
Properties
Path
Property Path As %String;
Public property, contains the current path to the containing element
AttributeCount
Property AttributeCount As %Integer;
Public property, Only applicable to element nodes. Returns the number of attributes on the current node.
EOF
Property EOF As %Boolean;
Public property, true if the reader is positioned at the end of the stream; otherwise, false.
HasAttributes
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.
HasValue
Property HasValue As %Boolean;
Public property, returns true if the node on which the reader is currently positioned can have a Value;
Name
Property Name As %String;
Public property, The qualified name of the current node. The name returned is dependent on the NodeType of the node.
LocalName
Property LocalName As %String;
Public property, The unqualified name of the current node. The name returned is dependent on the NodeType of the node.
Uri
Property Uri As %String;
Public property, The uri of the current node. The name returned is dependent on the NodeType of the node.
NodeType
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
ReadState
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.
Value;
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
attrseq
Property attrseq As %Integer [ Private ];
seq
Property seq As %Integer [ Private ];
Methods
%LoadData
Method %LoadData(id As %String) As %Status [ Private, ProcedureBlock = 1 ]
AttributeCountGet
Method AttributeCountGet() As %Integer
AttributeCount Implementation
EOFGet
Method EOFGet() As %Boolean
EOF Implementation
HasAttributesGet
Method HasAttributesGet() As %Boolean
HasAttributes Implementation
PathGet
Method PathGet() As %String
Path Implementation
HasValueGet
Method HasValueGet() As %Boolean
HasValue Implementation
MoveToAttributeIndex
Method MoveToAttributeIndex(pIndex As %String) As %Boolean
Moves to the attribute with the specified index. Returns 'true' on success, 'false' otherwise
MoveToAttributeName
Method MoveToAttributeName(pName As %String, pUri As %String = "") As %Boolean
Move to the attribute with the specified name. Returns 'true' on success, 'false' otherwise
MoveToElement
Method MoveToElement() As %Boolean
Moves to the associated element when the current node is of type attribute
NameGet
Method NameGet() As %String
Name implementation
LocalNameGet
Method LocalNameGet() As %String
UriGet
Method UriGet() As %String
NodeTypeGet
Method NodeTypeGet() As %String
NodeType implementation
Read
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.
ReadStateGet
Method ReadStateGet() As %String
ReadState Implementation
Rewind
Method Rewind()
Resets the reader to the initial state
ValueGet
Method ValueGet()
Value Implementation