Tag
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
* Summary: pattern expression handling
* Description: allows to compile and test pattern expressions for nodes
* either in a tree or based on a parser state.
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_PATTERN_H__)
/define XML_PATTERN_H__
/include "libxmlrpg/xmlversion"
/if defined(LIBXML_PATTERN_ENABLED)
/include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/tree"
/include "libxmlrpg/dict"
* xmlPattern:
*
* A compiled (XPath based) pattern to select nodes
d xmlPatternPtr...
d s * based(######typedef######)
* xmlPatternFlags:
*
* This is the set of options affecting the behaviour of pattern
* matching with this module
d xmlPatternFlags...
d s based(######typedef######)
d like(xmlCenum)
d XML_PATTERN_DEFAULT... Simple pattern match
d c X'0000'
d XML_PATTERN_XPATH... Std XPath pattern
d c X'0001'
d XML_PATTERN_XSSEL... Schm sel XPth subset
d c X'0002'
d XML_PATTERN_XSFIELD... Schm fld XPth subset
d c X'0004'
d xmlFreePattern pr extproc('xmlFreePattern')
d comp value like(xmlPatternPtr)
d xmlFreePatternList...
d pr extproc('xmlFreePatternList')
d comp value like(xmlPatternPtr)
d xmlPatterncompile...
d pr extproc('xmlPatterncompile')
d like(xmlPatternPtr)
d pattern * value options(*string) const xmlChar *
d dict * value xmlDict *
d flags value like(xmlCint)
d namespaces * const xmlChar *(*)
d xmlPatternMatch...
d pr extproc('xmlPatternMatch')
d like(xmlCint)
d comp value like(xmlPatternPtr)
d node value like(xmlNodePtr)
* streaming interfaces
d xmlStreamCtxtPtr...
d s * based(######typedef######)
d xmlPatternStreamable...
d pr extproc('xmlPatternStreamable')
d like(xmlCint)
d comp value like(xmlPatternPtr)
d xmlPatternMaxDepth...
d pr extproc('xmlPatternMaxDepth')
d like(xmlCint)
d comp value like(xmlPatternPtr)
d xmlPatternMinDepth...
d pr extproc('xmlPatternMinDepth')
d like(xmlCint)
d comp value like(xmlPatternPtr)
d xmlPatternFromRoot...
d pr extproc('xmlPatternFromRoot')
d like(xmlCint)
d comp value like(xmlPatternPtr)
d xmlPatternGetStreamCtxt...
d pr extproc('xmlPatternGetStreamCtxt')
d like(xmlStreamCtxtPtr)
d comp value like(xmlPatternPtr)
d xmlFreeStreamCtxt...
d pr extproc('xmlFreeStreamCtxt')
d stream value like(xmlStreamCtxtPtr)
d xmlStreamPushNode...
d pr extproc('xmlStreamPushNode')
d like(xmlCint)
d stream value like(xmlStreamCtxtPtr)
d name * value options(*string) const xmlChar *
d ns * value options(*string) const xmlChar *
d nodeType value like(xmlCint)
d xmlStreamPush pr extproc('xmlStreamPush')
d like(xmlCint)
d stream value like(xmlStreamCtxtPtr)
d name * value options(*string) const xmlChar *
d ns * value options(*string) const xmlChar *
d xmlStreamPushAttr...
d pr extproc('xmlStreamPushAttr')
d like(xmlCint)
d stream value like(xmlStreamCtxtPtr)
d name * value options(*string) const xmlChar *
d ns * value options(*string) const xmlChar *
d xmlStreamPop pr extproc('xmlStreamPop')
d like(xmlCint)
d stream value like(xmlStreamCtxtPtr)
d xmlStreamWantsAnyNode...
d pr extproc('xmlStreamWantsAnyNode')
d like(xmlCint)
d stream value like(xmlStreamCtxtPtr)
/endif LIBXML_PATTERN_ENBLD
/endif XML_PATTERN_H__