10 #ifndef P6XPATHEXPRESSION_H__
11 #define P6XPATHEXPRESSION_H__ 1
221 #define IF_p6IXpathExpression {0x509a1eca,0x1c99,0x46b3,{0x8f,0xd4,0xa5,0xf,0x21,0xf7,0x26,0x7d}}
224 #define COMP_p6XpathExpression {0x88ee96c5,0xef80,0x42a8,{0xa5,0x2c,0x87,0x87,0x6d,0x2,0xfc,0x5b}}
P6R's interface of the DOM parser.
This interface provides the compilation time context of an XML document.
The return value form an XPath 2.0 expression evaluation.
virtual P6R::P6ERR eval(p6IDOMXML *pXMLTree, p6IXMLNode *pXMLNode, p6IDOMNodeset *pNodeSet, P6XPATH_RESULT *pResult)=0
Evaluate the compiled pattern or expression against the context defined by the following objects: (a)...
virtual P6R::P6ERR compileExpression(const P6WCHAR *pExpression, P6UINT32 length, p6IXMLCompile *pContext)=0
Compile a general XPath expression that would normally be used in XSLT into an XPath expression tree...
const P6XPATHFLAGS P6XPATH_NOFLAGS
virtual P6R::P6ERR setDefaultCollation(const P6CHAR *pCollate)=0
The XPath processor uses the default collation from the runtime enviroment.
p6IDataStream interface definitions
P6R's interface of the DOM parser.
virtual P6R::P6ERR initialize(P6XPATHFLAGS flags, p6IDataStream *pTraceResult)=0
Sets up the component to run properly.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
This interface is implmented by components that support receiving streamed data.
The base interface all [p6]COM components must derive from and implement.
virtual P6R::P6ERR compileTemplateMatch(P6WCHAR *pPattern, P6UINT32 length, p6IXMLCompile *pContext)=0
Compile match attributes of XSLT templates which are patterns of the form: chapter/section//footnote ...
P6UINT32 P6XPATHFLAGS
P6XPATHFLAGS.
This interface supports the extensibility of the XPath languague.
const P6XPATHFLAGS P6XPATH_TRACEON
virtual P6R::P6ERR evalBoolean(p6IDOMXML *pXMLTree, p6IXMLNode *pXMLNode, p6IDOMNodeset *pNodeSet, P6BOOL *pbResult)=0
Evaluate the compiled pattern or expression against the context defined by the following objects: (a)...
This interface is implemented by the application making use of the p6xpathexpression component...
This interface is an enumerator over a set of nodes resulting from the evaluation of an XPath express...
This component represents an element in an XML or JSON document.
virtual P6R::P6ERR setVariableHandler(p6IXpathVariables *pObject)=0
The calling application uses this method to register a handler to look up external variable values...
This interface provides the compilation time context of an XML document.
virtual P6R::P6ERR setRegexLimits(P6UINT32 maxBackStack, P6UINT32 maxBackTracks)=0
As default there are NO limits on the execution of regular expression in an XPath expression...
This component is used to parse a complex XPath 2.0 expression or pattern into an expression tree for...
char P6CHAR
Narrow character type.