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.c6552 xmlNsPtr *nsList, *cur; in xmlGetPropNodeInternal() local
6558 nsList = xmlGetNsList(node->doc, node); in xmlGetPropNodeInternal()
6559 if (nsList == NULL) { in xmlGetPropNodeInternal()
6564 cur = nsList; in xmlGetPropNodeInternal()
6580 xmlFree(nsList); in xmlGetPropNodeInternal()
8052 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix) in xmlTreeNSListLookupByPrefix() argument
8054 if (nsList == NULL) in xmlTreeNSListLookupByPrefix()
8058 ns = nsList; in xmlTreeNSListLookupByPrefix()
Dxmlschemas.c8067 xmlNsPtr *nsList = NULL; in xmlSchemaCheckCSelectorXPath() local
8077 nsList = NULL; in xmlSchemaCheckCSelectorXPath()
8079 nsList = xmlGetNsList(attr->doc, attr->parent); in xmlSchemaCheckCSelectorXPath()
8083 if (nsList != NULL) { in xmlSchemaCheckCSelectorXPath()
8086 for (i = 0; nsList[i] != NULL; i++) in xmlSchemaCheckCSelectorXPath()
8094 xmlFree(nsList); in xmlSchemaCheckCSelectorXPath()
8098 nsArray[2 * i] = nsList[i]->href; in xmlSchemaCheckCSelectorXPath()
8099 nsArray[2 * i + 1] = nsList[i]->prefix; in xmlSchemaCheckCSelectorXPath()
8102 xmlFree(nsList); in xmlSchemaCheckCSelectorXPath()