diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-02-15 18:36:27 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-02-15 18:36:27 +0000 |
commit | d06a756b9da4e6475e5ed5999df5ef0489a89d54 (patch) | |
tree | 6cb0bb8074261379cd045650794b826f323cfa80 /src/core/element.h | |
parent | 79bfe3a2a055ac3d33509de9e68faa85c069e1ba (diff) | |
download | libdom-d06a756b9da4e6475e5ed5999df5ef0489a89d54.tar.gz libdom-d06a756b9da4e6475e5ed5999df5ef0489a89d54.tar.bz2 |
Use list for element attributes.
svn path=/trunk/libdom/; revision=13444
Diffstat (limited to 'src/core/element.h')
-rw-r--r-- | src/core/element.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/element.h b/src/core/element.h index ae7d155..34f4167 100644 --- a/src/core/element.h +++ b/src/core/element.h @@ -19,6 +19,7 @@ struct dom_element; struct dom_namednodemap; struct dom_node; struct dom_attr; +struct dom_attr_list; struct dom_type_info; struct dom_hash_table; @@ -28,10 +29,7 @@ struct dom_hash_table; struct dom_element { struct dom_node_internal base; /**< Base node */ - struct dom_hash_table *attributes; /**< Element attributes */ - - struct dom_hash_table *ns_attributes; - /**< Attributes with prefix */ + struct dom_attr_list *attributes; /**< Element attributes */ dom_string *id_ns; /**< The id attribute's namespace */ @@ -72,7 +70,7 @@ dom_exception _dom_element_get_elements_by_tag_name( struct dom_element *element, dom_string *name, struct dom_nodelist **result); dom_exception _dom_element_get_attribute_ns(struct dom_element *element, - dom_string *namespace, dom_string *localname, + dom_string *namespace, dom_string *localname, dom_string **value); dom_exception _dom_element_set_attribute_ns(struct dom_element *element, dom_string *namespace, dom_string *qname, |