Element
Object Hierarchy:
Description:
[
Version ( deprecated =
true , deprecated_since =
"0.18" , replacement =
"GXml.DomElement" ) ]
public interface Element :
Object,
Node
Warning: Element is deprecated since 0.18. Use GXml.DomElement.
DOM1 Interface to access XML document's tags, properties and content.
Provides methods to create new XML tags properties and its values, and access to tag's contents.
All known implementing classes:
Content:
Properties:
- public abstract string content { owned get; set; }
- public abstract string tag_name { owned get; }
Methods:
- public abstract Node? get_attr (string name)
- public abstract Node? get_ns_attr (string name, string uri)
- public abstract void normalize ()
This merges all adjacent
GXml.Text nodes that are descendants of this GXml.Element.
- public abstract void remove_attr (string name)
- public abstract void remove_ns_attr (string name, string uri)
Search for a
GXml.Attribute with given name and namespace and removes it.
- public abstract void set_attr (string name, string value)
- public abstract void set_ns_attr (string ns, string name, string value)
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GXml.Node