summaryrefslogtreecommitdiff
path: root/src/core/element.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add library-internal accessor to the head of an Element's attribute list ↵John Mark Bell2007-09-251-0/+11
| | | | | | | | | | | | | | (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
* Move attributes field to struct dom_element as it doesn't apply to other ↵John Mark Bell2007-09-241-14/+54
| | | | | | node types. svn path=/trunk/dom/; revision=3590
* Fix dom_element_set_attribute() to use dom_attr_set_value() to replace the ↵John Mark Bell2007-09-231-5/+4
| | | | | | value of an existing attribute -- attribute values are stored as a tree of child nodes, not as a string attached to the nodeValue pointer. svn path=/trunk/dom/; revision=3580
* Note the need for handling of defaulted attributes in ↵John Mark Bell2007-09-221-0/+4
| | | | | | dom_element_remove_attribute{_node} svn path=/trunk/dom/; revision=3578
* Implement dom_element_get_attribute()John Mark Bell2007-09-221-36/+154
| | | | | | | | | | | | | Implement dom_element_set_attribute() Implement dom_element_remove_attribute() Implement dom_element_get_attribute_node() Make dom_element_set_attribute_node() ensure that the element is writable Implement dom_element_remove_attribute_node() Implement dom_element_get_elements_by_tag_name() Implement dom_element_get_elements_by_tag_name_ns() Implement dom_element_has_attribute() svn path=/trunk/dom/; revision=3577
* Implement dom_element_get_tag_name()John Mark Bell2007-09-181-8/+105
| | | | | | Implement dom_element_set_attribute_node() [still has some outstanding sanity checking] svn path=/trunk/dom/; revision=3549
* Finalisation and destruction of nodesJohn Mark Bell2007-07-281-0/+69
| | | | svn path=/trunk/dom/; revision=3467
* Implement type-specific node constructors and veneer the appropriate ↵John Mark Bell2007-07-261-0/+45
| | | | | | Document APIs onto them. svn path=/trunk/dom/; revision=3463
* Fix typoJohn Mark Bell2007-07-161-1/+1
| | | | svn path=/trunk/dom/; revision=3425
* Add Element.John Mark Bell2007-07-111-0/+513
Fix Attr's get_schema_type_info to have the right name. svn path=/trunk/dom/; revision=3400