diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-25 00:02:07 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-25 00:02:07 +0000 |
commit | 4f82098cae7c00568c1ca436f0b2f8d1103d6760 (patch) | |
tree | 68a7efb856946deb63fb8e881078a04340b8ebd8 /src/core/element.h | |
parent | cbfa1de186b10ca7fd192ca7d30e8466939f2a92 (diff) | |
download | libdom-4f82098cae7c00568c1ca436f0b2f8d1103d6760.tar.gz libdom-4f82098cae7c00568c1ca436f0b2f8d1103d6760.tar.bz2 |
Add library-internal accessor to the head of an Element's attribute list (dom_element_get_first_attribute())
Implement dom_namednodemap_get_length()
Implement dom_namednodemap_get_named_item()
Implement dom_namednodemap_set_named_item()
Implement dom_namednodemap_remove_named_item()
Implement dom_namednodemap_item()
All dom_namednodemap_*() still require support for maps of Entity and Notation nodes to be added (this requires DocumentType to gain support for these nodes).
svn path=/trunk/dom/; revision=3591
Diffstat (limited to 'src/core/element.h')
-rw-r--r-- | src/core/element.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/element.h b/src/core/element.h index f51b9ae..95e7cfe 100644 --- a/src/core/element.h +++ b/src/core/element.h @@ -15,6 +15,7 @@ struct dom_document; struct dom_element; struct dom_namednodemap; +struct dom_node; struct dom_string; dom_exception dom_element_create(struct dom_document *doc, @@ -28,4 +29,7 @@ dom_exception dom_element_get_attributes(struct dom_element *element, dom_exception dom_element_has_attributes(struct dom_element *element, bool *result); + +struct dom_node *dom_element_get_first_attribute(struct dom_element *element); + #endif |