Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXpathExpression::eval ( p6IDOMXML pXMLTree,
p6IXMLNode pXMLNode,
p6IDOMNodeset pNodeSet,
P6XPATH_RESULT pResult 
)
pure virtual

Evaluate the compiled pattern or expression against the context defined by the following objects: (a) an XML tree (required), (b) an XSLT context node(optional), and (c) an XML node set (optional) One of the compile calls must be made before this method can be called.

Parameters
pXMLTree[ in ] Required, a p6IDOMXML component to evaluated the expression or pattern against.
pXMLNode[ in ] Can be NULL, a p6IXMLNode from the p6IDOMXML tree that is used in XSLT as the context node.
pNodeSet[ in ] Can be NULL, a node set resulting form a call to p6IDONXML::getNodeSet() method.
pResult[ out ] Supports the return in multiple different types (e.g., string, boolean, unsigned integer).
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedgA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne or more of the pointers are NULL.