Top | ![]() |
![]() |
![]() |
![]() |
These represent name="value" attributes associated with XML Elements (see GXmlElement). Values are often represented as strings but can also be more complex subtrees for some nodes.
To create one, use gxml_xdocument_create_attribute()
.
XML Example: Here, we have an Attr with the name 'flavour' and the value 'pumpkin'.
<pie flavour="pumpkin" />
Version: DOM Level 1 Core
URL: http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-637646024
See also: GXmlNode
gboolean
gxml_xattr_get_specified (GXmlxAttr *self
);
Get and return the current value of the "specified" property.
Whether an Attr was explicitly set in the underlying document. If the attribute is changed, it is set to false.
Version: DOM Level 1 Core URL: http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-862529273
struct GXmlxAttr { GXmlBackedNode parent_instance; GXmlxAttrPrivate * priv; xmlAttr* node; GXmlAttrChildNodeList* _attr_list; };
An XML Attr node, which represents a name="value" pair.
These represent name="value" attributes associated with XML Elements (see GXmlElement). Values are often represented as strings but can also be more complex subtrees for some nodes.
To create one, use gxml_xdocument_create_attribute()
.
XML Example: Here, we have an Attr with the name 'flavour' and the value 'pumpkin'.
<pie flavour="pumpkin" />
Version: DOM Level 1 Core
URL: http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-637646024
See also: GXmlNode
struct GXmlxAttrClass { GXmlBackedNodeClass parent_class; };
The class structure for GXML_TYPE_XATTR
. All the fields in this structure are private and should never be accessed directly.