virtual P6R::P6ERR P6R::p6IXpathExpression::compileTemplateMatch ( P6WCHAR *  pPattern,
P6UINT32  length,
p6IXMLCompile pContext 
) [pure virtual]

Compile match attributes of XSLT templates which are patterns of the form: chapter/section//footnote into an XPath expression tree.

This method can be called multiple times. Each new call removes the last compiled pattern or expression. The compiled results of the pattern become part of the state of the p6IXpathExpression object and can be evaluated against any XML tree by calling the eval() method below.

Parameters:
pPattern [IN] A step pattern used to test if a given XML node is can be described by the pattern.
length [IN] Length of the string in pPattern.
pContext [IN] Interface that provides compile time context for namespaces
Returns:
SuccessP6R::eOk 
FailureP6R::eNotInitializedgA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgpPattern is NULL or length is zero.
P6R::eFailWhen pPattern is the string "/".
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.