Skip to main content

%XML.XPATH.ResultHandler

Class %XML.XPATH.ResultHandler Extends %RegisteredObject [ System = 3 ]

Handles results of XPATH expression validation

Methods

StartMatch

Method StartMatch(pResultType As %Integer)

This method is called when a match is made. It specifies the Match key as well as the result type. The type may be $$$XPATHVALUE or $$$XPATHDOM

EndMatch

Method EndMatch(pMatch As %Integer)

This method is called when a match is completed

Result

Method Result(pChunk As %Integer, pResult As %String)

Attribute

Method Attribute(pIndex As %Integer, pParent As %Integer, pName As %String, pLocalName As %String, pUri As %String, pValue As %String)

Node

Method Node(pIndex As %Integer, pParent As %Integer, pNodeType As %Integer, pName As %String, pLocalName As %String, pUri As %String)

Value

Method Value(pIndex As %Integer, pChunk As %Integer, pValue As %String)

NodeType

Method NodeType(pNodeType As %Integer = "") As %String