--- embedaddon/libxml2/doc/devhelp/libxml2-xmlregexp.html 2012/02/21 23:37:59 1.1.1.1 +++ embedaddon/libxml2/doc/devhelp/libxml2-xmlregexp.html 2014/06/15 19:53:35 1.1.1.2 @@ -180,11 +180,11 @@ The content of this structure is not made public by th
int xmlExpGetLanguage (xmlExpCtxtPtr ctxt,
xmlExpNodePtr exp,
const xmlChar ** langList,
int len)
Find all the strings used in @exp and store them in @list
-ctxt: | the expression context |
exp: | the expression |
langList: | where to store the tokens |
len: | the allocated lenght of @list |
Returns: | the number of unique strings found, -1 in case of errors and -2 if there is more than @len strings |
ctxt: | the expression context |
exp: | the expression |
langList: | where to store the tokens |
len: | the allocated length of @list |
Returns: | the number of unique strings found, -1 in case of errors and -2 if there is more than @len strings |
int xmlExpGetStart (xmlExpCtxtPtr ctxt,
xmlExpNodePtr exp,
const xmlChar ** tokList,
int len)
Find all the strings that appears at the start of the languages accepted by @exp and store them in @list. E.g. for (a, b) | c it will return the list [a, c]
-ctxt: | the expression context |
exp: | the expression |
tokList: | where to store the tokens |
len: | the allocated lenght of @list |
Returns: | the number of unique strings found, -1 in case of errors and -2 if there is more than @len strings |
ctxt: | the expression context |
exp: | the expression |
tokList: | where to store the tokens |
len: | the allocated length of @list |
Returns: | the number of unique strings found, -1 in case of errors and -2 if there is more than @len strings |
int xmlExpIsNillable (xmlExpNodePtr exp)
Finds if the expression is nillable, i.e. if it accepts the empty sequqnce
@@ -196,7 +196,7 @@ The content of this structure is not made public by thxmlExpNodePtr xmlExpNewAtom (xmlExpCtxtPtr ctxt,
const xmlChar * name,
int len)
Get the atom associated to this name from that context
-ctxt: | the expression context |
name: | the atom name |
len: | the atom name lenght in byte (or -1); |
Returns: | the node or NULL in case of error |
ctxt: | the expression context |
name: | the atom name |
len: | the atom name length in byte (or -1); |
Returns: | the node or NULL in case of error |
xmlExpCtxtPtr xmlExpNewCtxt (int maxNodes,
xmlDictPtr dict)
Creates a new context for manipulating expressions