Home
last modified time | relevance | path

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

/external/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()
/external/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))
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDefaultBase.java1264 SuballocatedIntVector nsList=null; in declareNamespaceInContext() local
1272 nsList=new SuballocatedIntVector(32); in declareNamespaceInContext()
1273 m_namespaceDeclSets.addElement(nsList); in declareNamespaceInContext()
1283 nsList=(SuballocatedIntVector)m_namespaceDeclSets.elementAt(last); in declareNamespaceInContext()
1286 if(nsList==null) in declareNamespaceInContext()
1301 nsList=new SuballocatedIntVector(Math.max(Math.min(isize+16,2048), in declareNamespaceInContext()
1306 nsList.addElement(inherited.elementAt(i)); in declareNamespaceInContext()
1309 nsList=new SuballocatedIntVector(32); in declareNamespaceInContext()
1312 m_namespaceDeclSets.addElement(nsList); in declareNamespaceInContext()
1321 for(int i=nsList.size()-1;i>=0;--i) in declareNamespaceInContext()
[all …]
/external/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()
8103 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix) in xmlTreeNSListLookupByPrefix() argument
8105 if (nsList == NULL) in xmlTreeNSListLookupByPrefix()
8109 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()