11#ifndef __XML_PATTERN_H__
12#define __XML_PATTERN_H__
18#ifdef LIBXML_PATTERN_ENABLED
29typedef struct _xmlPattern xmlPattern;
30typedef xmlPattern *xmlPatternPtr;
40 XML_PATTERN_DEFAULT = 0,
41 XML_PATTERN_XPATH = 1<<0,
42 XML_PATTERN_XSSEL = 1<<1,
43 XML_PATTERN_XSFIELD = 1<<2
47 xmlFreePattern (xmlPatternPtr comp);
50 xmlFreePatternList (xmlPatternPtr comp);
58 xmlPatternMatch (xmlPatternPtr comp,
62typedef struct _xmlStreamCtxt xmlStreamCtxt;
63typedef xmlStreamCtxt *xmlStreamCtxtPtr;
66 xmlPatternStreamable (xmlPatternPtr comp);
68 xmlPatternMaxDepth (xmlPatternPtr comp);
70 xmlPatternMinDepth (xmlPatternPtr comp);
72 xmlPatternFromRoot (xmlPatternPtr comp);
74 xmlPatternGetStreamCtxt (xmlPatternPtr comp);
76 xmlFreeStreamCtxt (xmlStreamCtxtPtr
stream);
78 xmlStreamPushNode (xmlStreamCtxtPtr
stream,
83 xmlStreamPush (xmlStreamCtxtPtr
stream,
87 xmlStreamPushAttr (xmlStreamCtxtPtr
stream,
91 xmlStreamPop (xmlStreamCtxtPtr
stream);
93 xmlStreamWantsAnyNode (xmlStreamCtxtPtr
stream);