* Summary: interface for the pattern matching used in template matches.
* Description: the implementation of the lookup of the right template
* for a given node must be really fast in order to keep
* Copy: See Copyright for the status of this software.
* Author: Daniel Veillard
#ifndef __XML_XSLT_PATTERN_H__
#define __XML_XSLT_PATTERN_H__
#include "xsltInternals.h"
* Data structure used for the implementation of patterns.
* It is kept private (in pattern.c).
typedef struct _xsltCompMatch xsltCompMatch;
typedef xsltCompMatch *xsltCompMatchPtr;
* Pattern related interfaces.
XSLTPUBFUN xsltCompMatchPtr XSLTCALL
xsltCompilePattern (const xmlChar *pattern,
xsltTransformContextPtr runtime);
xsltFreeCompMatchList (xsltCompMatchPtr comp);
xsltTestCompMatchList (xsltTransformContextPtr ctxt,
xsltNormalizeCompSteps (void *payload,
* Template related interfaces.
xsltAddTemplate (xsltStylesheetPtr style,
XSLTPUBFUN xsltTemplatePtr XSLTCALL
xsltGetTemplate (xsltTransformContextPtr ctxt,
xsltStylesheetPtr style);
xsltFreeTemplateHashes (xsltStylesheetPtr style);
xsltCleanupTemplates (xsltStylesheetPtr style);
int xsltMatchPattern (xsltTransformContextPtr ctxt,
#endif /* __XML_XSLT_PATTERN_H__ */