GXmlNamespaceAttr

GXmlNamespaceAttr — Represents an XML Namespace for a GXmlNode node.

Functions

Types and Values

Description

These represent prefix=uri pairs that define namespaces for XML GXmlxElement and GXmlxAttr.

Functions

gxml_namespace_attr_get_defined_prefix ()

const gchar *
gxml_namespace_attr_get_defined_prefix
                               (GXmlNamespaceAttr *self);

Get and return the current value of the "defined-prefix" property.

The prefix that this xmlns attribute defines. So, if the element was like

xmlns:foods="http://fishies.org/foods"

, the defined prefix would be foods.

Parameters

self

the GXmlNamespaceAttr instance to query

 

Returns

the value of the "defined-prefix" property


gxml_namespace_attr_get_defined_namespace_uri ()

const gchar *
gxml_namespace_attr_get_defined_namespace_uri
                               (GXmlNamespaceAttr *self);

Get and return the current value of the "defined-namespace-uri" property.

The namespace uri that this xmlns attribute defines. So, if the element was like

<Fish xmlns:foods="http://fishies.org/foods" />

, the defined namespace uri would be http://fishies.org/foods/.

Parameters

self

the GXmlNamespaceAttr instance to query

 

Returns

the value of the "defined-namespace-uri" property

Types and Values

GXML_TYPE_NAMESPACE_ATTR

#define GXML_TYPE_NAMESPACE_ATTR (gxml_namespace_attr_get_type ())

The type for GXmlNamespaceAttr.


struct GXmlNamespaceAttr

struct GXmlNamespaceAttr {
	GXmlxNode parent_instance;
	GXmlNamespaceAttrPrivate * priv;
};

Represents an XML Namespace for a GXmlNode node.

These represent prefix=uri pairs that define namespaces for XML GXmlxElement and GXmlxAttr.


struct GXmlNamespaceAttrClass

struct GXmlNamespaceAttrClass {
	GXmlxNodeClass parent_class;
};

The class structure for GXML_TYPE_NAMESPACE_ATTR. All the fields in this structure are private and should never be accessed directly.

Members