Annotation of win32/gnome/libxslt-x.x.x/libxslt/pattern.h, revision 1.1
1.1 ! paf 1: /*
! 2: * pattern.h: interface for the pattern matching used in template matches.
! 3: *
! 4: * See Copyright for the status of this software.
! 5: *
! 6: * daniel@veillard.com
! 7: */
! 8:
! 9: #ifndef __XML_XSLT_PATTERN_H__
! 10: #define __XML_XSLT_PATTERN_H__
! 11:
! 12: #include "xsltInternals.h"
! 13:
! 14: #ifdef __cplusplus
! 15: extern "C" {
! 16: #endif
! 17:
! 18: /**
! 19: * xsltCompMatch:
! 20: *
! 21: * Data structure used for the implementation of patterns.
! 22: * It is kept private (in pattern.c)
! 23: */
! 24: typedef struct _xsltCompMatch xsltCompMatch;
! 25: typedef xsltCompMatch *xsltCompMatchPtr;
! 26:
! 27: /*
! 28: * Pattern related interfaces
! 29: */
! 30:
! 31: xsltCompMatchPtr xsltCompilePattern (const xmlChar *pattern,
! 32: xmlDocPtr doc,
! 33: xmlNodePtr node);
! 34: void xsltFreeCompMatchList (xsltCompMatchPtr comp);
! 35: int xsltTestCompMatchList (xsltTransformContextPtr ctxt,
! 36: xmlNodePtr node,
! 37: xsltCompMatchPtr comp);
! 38:
! 39: /*
! 40: * Template related interfaces
! 41: */
! 42: int xsltAddTemplate (xsltStylesheetPtr style,
! 43: xsltTemplatePtr cur,
! 44: const xmlChar *mode,
! 45: const xmlChar *modeURI);
! 46: xsltTemplatePtr xsltGetTemplate (xsltTransformContextPtr ctxt,
! 47: xmlNodePtr node,
! 48: xsltStylesheetPtr style);
! 49: void xsltFreeTemplateHashes (xsltStylesheetPtr style);
! 50: void xsltCleanupTemplates (xsltStylesheetPtr style);
! 51:
! 52: #if 0
! 53: int xsltMatchPattern (xsltTransformContextPtr ctxt,
! 54: xmlNodePtr node,
! 55: const xmlChar *pattern);
! 56: #endif
! 57: #ifdef __cplusplus
! 58: }
! 59: #endif
! 60:
! 61: #endif /* __XML_XSLT_PATTERN_H__ */
! 62:
E-mail: