Home
last modified time | relevance | path

Searched refs:nsList (Results 1 – 6 of 6) sorted by relevance

/third_party/libxml2/doc/examples/
Dxpath1.c25 int execute_xpath_expression(const char* filename, const xmlChar* xpathExpr, const xmlChar* nsList
26 int register_namespaces(xmlXPathContextPtr xpathCtx, const xmlChar* nsList);
85 execute_xpath_expression(const char* filename, const xmlChar* xpathExpr, const xmlChar* nsList) { in execute_xpath_expression() argument
109 if((nsList != NULL) && (register_namespaces(xpathCtx, nsList) < 0)) { in execute_xpath_expression()
110 fprintf(stderr,"Error: failed to register namespaces list \"%s\"\n", nsList); in execute_xpath_expression()
147 register_namespaces(xmlXPathContextPtr xpathCtx, const xmlChar* nsList) { in register_namespaces() argument
154 assert(nsList); in register_namespaces()
156 nsListDup = xmlStrdup(nsList); in register_namespaces()
/third_party/libxml2/python/tests/
Dnsdel.py19 nsList = list(namespaceDefs(node))
21 if len(nsList) != count :
22 raise Exception("Error: saw %d namespace declarations. Expected %d" % (len(nsList), count))
/third_party/gettext/gnulib-local/lib/libxml/
Dtree.c6581 xmlNsPtr *nsList, *cur; in xmlGetPropNodeInternal() local
6587 nsList = xmlGetNsList(node->doc, node); in xmlGetPropNodeInternal()
6588 if (nsList == NULL) { in xmlGetPropNodeInternal()
6593 cur = nsList; in xmlGetPropNodeInternal()
6609 xmlFree(nsList); in xmlGetPropNodeInternal()
8081 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix) in xmlTreeNSListLookupByPrefix() argument
8083 if (nsList == NULL) in xmlTreeNSListLookupByPrefix()
8087 ns = nsList; in xmlTreeNSListLookupByPrefix()
Dxmlschemas.c8096 xmlNsPtr *nsList = NULL; in xmlSchemaCheckCSelectorXPath() local
8106 nsList = NULL; in xmlSchemaCheckCSelectorXPath()
8108 nsList = xmlGetNsList(attr->doc, attr->parent); in xmlSchemaCheckCSelectorXPath()
8112 if (nsList != NULL) { in xmlSchemaCheckCSelectorXPath()
8115 for (i = 0; nsList[i] != NULL; i++) in xmlSchemaCheckCSelectorXPath()
8123 xmlFree(nsList); in xmlSchemaCheckCSelectorXPath()
8127 nsArray[2 * i] = nsList[i]->href; in xmlSchemaCheckCSelectorXPath()
8128 nsArray[2 * i + 1] = nsList[i]->prefix; in xmlSchemaCheckCSelectorXPath()
8131 xmlFree(nsList); in xmlSchemaCheckCSelectorXPath()
/third_party/libxml2/
Dtree.c6604 xmlNsPtr *nsList, *cur; in xmlGetPropNodeInternal() local
6610 nsList = xmlGetNsList(node->doc, node); in xmlGetPropNodeInternal()
6611 if (nsList == NULL) { in xmlGetPropNodeInternal()
6616 cur = nsList; in xmlGetPropNodeInternal()
6632 xmlFree(nsList); in xmlGetPropNodeInternal()
8085 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix) in xmlTreeNSListLookupByPrefix() argument
8087 if (nsList == NULL) in xmlTreeNSListLookupByPrefix()
8091 ns = nsList; in xmlTreeNSListLookupByPrefix()
Dxmlschemas.c8112 xmlNsPtr *nsList = NULL; in xmlSchemaCheckCSelectorXPath() local
8122 nsList = NULL; in xmlSchemaCheckCSelectorXPath()
8124 nsList = xmlGetNsList(attr->doc, attr->parent); in xmlSchemaCheckCSelectorXPath()
8128 if (nsList != NULL) { in xmlSchemaCheckCSelectorXPath()
8131 for (i = 0; nsList[i] != NULL; i++) in xmlSchemaCheckCSelectorXPath()
8139 xmlFree(nsList); in xmlSchemaCheckCSelectorXPath()
8143 nsArray[2 * i] = nsList[i]->href; in xmlSchemaCheckCSelectorXPath()
8144 nsArray[2 * i + 1] = nsList[i]->prefix; in xmlSchemaCheckCSelectorXPath()
8147 xmlFree(nsList); in xmlSchemaCheckCSelectorXPath()