integrating Keith Isdale patches for the XSLT debugger interfaces. Some
* include/libxml/debugXML.h debugXML.c tree.c: integrating
Keith Isdale patches for the XSLT debugger interfaces. Some
cleanup
Daniel
diff --git a/tree.c b/tree.c
index 836bb03..799d9bf 100644
--- a/tree.c
+++ b/tree.c
@@ -5479,6 +5479,10 @@
xmlDumpElementDecl(buf, (xmlElementPtr) cur);
return;
}
+ if (cur->type == XML_ATTRIBUTE_NODE){
+ xmlAttrDump(buf, doc, (xmlAttrPtr)cur);
+ return;
+ }
if (cur->type == XML_ATTRIBUTE_DECL) {
xmlDumpAttributeDecl(buf, (xmlAttributePtr) cur);
return;
@@ -5653,6 +5657,7 @@
"xmlElemDump : doc == NULL\n");
}
#endif
+
buf = xmlBufferCreate();
if (buf == NULL) return;
if ((doc != NULL) &&