• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/

Lines Matching refs:ns

47     xmlNsPtr 	*nsTab;	    /* array of ns in no particular order */	      
75 xmlNsPtr ns,
83 xmlNsPtr ns);
85 xmlNsPtr ns,
253 xmlNs ns;
255 memcpy(&ns, node, sizeof(ns));
259 ns.next = (xmlNsPtr)parent->parent;
261 ns.next = (xmlNsPtr)parent;
268 return(xmlXPathNodeSetContains(nodes, (xmlNodePtr)&ns));
307 xmlC14NVisibleNsStackAdd(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlNodePtr node) {
346 cur->nsTab[cur->nsCurEnd] = ns;
399 * @ns: the namespace to check
406 xmlC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns)
422 prefix = ((ns == NULL) || (ns->prefix == NULL)) ? BAD_CAST "" : ns->prefix;
423 href = ((ns == NULL) || (ns->href == NULL)) ? BAD_CAST "" : ns->href;
440 xmlExcC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlC14NCtxPtr ctx) {
455 prefix = ((ns == NULL) || (ns->prefix == NULL)) ? BAD_CAST "" : ns->prefix;
456 href = ((ns == NULL) || (ns->href == NULL)) ? BAD_CAST "" : ns->href;
481 * @ns: the namespace to check
491 xmlC14NIsXmlNs(xmlNsPtr ns)
493 return ((ns != NULL) &&
494 (xmlStrEqual(ns->prefix, BAD_CAST "xml")) &&
495 (xmlStrEqual(ns->href,
526 * @ns: the pointer to namespace
534 xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx)
537 if ((ns == NULL) || (ctx == NULL)) {
542 if (ns->prefix != NULL) {
544 xmlOutputBufferWriteString(ctx->buf, (const char *) ns->prefix);
549 if(ns->href != NULL) {
550 xmlOutputBufferWriteString(ctx->buf, (const char *) ns->href);
599 xmlNsPtr ns, tmp;
620 for(ns = n->nsDef; ns != NULL; ns = ns->next) {
621 tmp = xmlSearchNs(cur->doc, cur, ns->prefix);
623 if((tmp == ns) && !xmlC14NIsXmlNs(ns) && xmlC14NIsVisible(ctx, ns, cur)) {
624 already_rendered = xmlC14NVisibleNsStackFind(ctx->ns_rendered, ns);
626 xmlC14NVisibleNsStackAdd(ctx->ns_rendered, ns, cur);
629 xmlListInsert(list, ns);
631 if(xmlStrlen(ns->prefix) == 0) {
703 xmlNsPtr ns;
733 * All namespace nodes appearing on inclusive ns list are
751 ns = xmlSearchNs(cur->doc, cur, prefix);
752 if((ns != NULL) && !xmlC14NIsXmlNs(ns) && xmlC14NIsVisible(ctx, ns, cur)) {
753 already_rendered = xmlC14NVisibleNsStackFind(ctx->ns_rendered, ns);
755 xmlC14NVisibleNsStackAdd(ctx->ns_rendered, ns, cur);
758 xmlListInsert(list, ns);
760 if(xmlStrlen(ns->prefix) == 0) {
768 if(cur->ns != NULL) {
769 ns = cur->ns;
771 ns = xmlSearchNs(cur->doc, cur, NULL);
774 if((ns != NULL) && !xmlC14NIsXmlNs(ns)) {
775 if(visible && xmlC14NIsVisible(ctx, ns, cur)) {
776 if(!xmlExcC14NVisibleNsStackFind(ctx->ns_rendered, ns, ctx)) {
777 xmlListInsert(list, ns);
781 xmlC14NVisibleNsStackAdd(ctx->ns_rendered, ns, cur);
783 if(xmlStrlen(ns->prefix) == 0) {
796 if((attr->ns != NULL) && !xmlC14NIsXmlNs(attr->ns) && xmlC14NIsVisible(ctx, attr, cur)) {
797 already_rendered = xmlExcC14NVisibleNsStackFind(ctx->ns_rendered, attr->ns, ctx);
798 xmlC14NVisibleNsStackAdd(ctx->ns_rendered, attr->ns, cur);
800 xmlListInsert(list, attr->ns);
802 if(xmlStrlen(attr->ns->prefix) == 0) {
805 } else if((attr->ns != NULL) && (xmlStrlen(attr->ns->prefix) == 0) && (xmlStrlen(attr->ns->href) == 0)) {
870 if (attr1->ns == attr2->ns) {
879 if (attr1->ns == NULL)
881 if (attr2->ns == NULL)
883 if (attr1->ns->prefix == NULL)
885 if (attr2->ns->prefix == NULL)
888 ret = xmlStrcmp(attr1->ns->href, attr2->ns->href);
920 if (attr->ns != NULL && xmlStrlen(attr->ns->prefix) > 0) {
922 (const char *) attr->ns->prefix);
1023 if ((attr->ns != NULL)
1024 && (xmlStrEqual(attr->ns->prefix, BAD_CAST "xml"))) {
1059 xmlNsPtr ns;
1066 ns = cur->nsDef;
1067 while (ns != NULL) {
1068 if (xmlStrlen(ns->href) > 0) {
1071 uri = xmlParseURI((const char *) ns->href);
1090 ns = ns->next;
1154 if ((cur->ns != NULL) && (xmlStrlen(cur->ns->prefix) > 0)) {
1156 (const char *) cur->ns->prefix);
1194 if ((cur->ns != NULL) && (xmlStrlen(cur->ns->prefix) > 0)) {
1196 (const char *) cur->ns->prefix);