summaryrefslogtreecommitdiff
path: root/include/libxml/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libxml/tree.h')
-rw-r--r--include/libxml/tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libxml/tree.h b/include/libxml/tree.h
index 93d57e31..0f47268c 100644
--- a/include/libxml/tree.h
+++ b/include/libxml/tree.h
@@ -387,6 +387,8 @@ struct _xmlID {
struct _xmlID *next; /* next ID */
const xmlChar *value; /* The ID name */
xmlAttrPtr attr; /* The attribute holding it */
+ const xmlChar *name; /* The attribute if attr is not available */
+ int lineno; /* The line number if attr is not available */
};
/**
@@ -401,6 +403,8 @@ struct _xmlRef {
struct _xmlRef *next; /* next Ref */
const xmlChar *value; /* The Ref name */
xmlAttrPtr attr; /* The attribute holding it */
+ const xmlChar *name; /* The attribute if attr is not available */
+ int lineno; /* The line number if attr is not available */
};
/**