Home | History | Annotate | Download | only in libxml2

Lines Matching refs:attr

705     xmlAttrPtr attr;
790 for(attr = cur->properties; attr != NULL; attr = attr->next) {
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)) {
849 * @attr1: the pointer tls o first attr
850 * @attr2: the pointer to second attr
898 * @attr: the pointer to attr
909 xmlC14NPrintAttrs(const xmlAttrPtr attr, xmlC14NCtxPtr ctx)
914 if ((attr == NULL) || (ctx == NULL)) {
920 if (attr->ns != NULL && xmlStrlen(attr->ns->prefix) > 0) {
922 (const char *) attr->ns->prefix);
925 xmlOutputBufferWriteString(ctx->buf, (const char *) attr->name);
928 value = xmlNodeListGetString(attr->doc, attr->children, 1);
980 xmlAttrPtr attr;
1000 attr = cur->properties;
1001 while (attr != NULL) {
1003 if (xmlC14NIsVisible(ctx, attr, cur)) {
1004 xmlListInsert(list, attr);
1006 attr = attr->next;
1021 attr = cur->properties;
1022 while (attr != NULL) {
1023 if ((attr->ns != NULL)
1024 && (xmlStrEqual(attr->ns->prefix, BAD_CAST "xml"))) {
1025 if (xmlListSearch(list, attr) == NULL) {
1026 xmlListInsert(list, attr);
1029 attr = attr->next;