Table 5. DomElement class (DomElement :
DomNode)
Method name Function name Remark
tagname DomElement_tagname()
get_attribute DomElement_get_attribute()
set_attribute DomElement_set_attribute()
remove_attribute DomElement_remove_attribute()
get_attribute_node DomElement_get_attribute_node()
get_elements_by_tagname DomElement_get_elements_by_tagname()
has_attribute DomElement_has_attribute()
Table 6. DomNode class
Method name Remark
DomNode_node_name()
DomNode_node_value()
DomNode_node_type()
DomNode_last_child()
DomNode_first_child()
DomNode_child_nodes()
DomNode_previous_sibling()
DomNode_next_sibling()
DomNode_parent_node()
DomNode_owner_document()
DomNode_insert_before()
DomNode_append_child()
DomNode_append_sibling() Not in DOM standard. This function
emulates the former behaviour of DomNode_append_child().
DomNode_remove_child()
DomNode_has_child_nodes()
DomNode_has_attributes()
DomNode_clone_node()
DomNode_attributes()
DomNode_unlink_node() Not in DOM standard
DomNode_replace_node() Not in DOM standard
DomNode_set_content() Not in DOM standard, deprecated
DomNode_get_content() Not in DOM standard, deprecated
DomNode_dump_node() Not in DOM standard
DomNode_is_blank_node() Not in DOM standard
|