|
| AttributeNode (_xmlNode * node) |
|
| ~AttributeNode () override |
|
| Attribute (_xmlNode * node) |
|
| ~Attribute () override |
|
_xmlAttr * | cobj () |
| Access the underlying libxml implementation.
|
|
const _xmlAttr * | cobj () const |
| Access the underlying libxml implementation.
|
|
Glib::ustring | get_name () const |
| Get the name of this attribute.
|
|
Glib::ustring | get_value () const |
| Get the value of this attribute.
|
|
void | set_value (const Glib::ustring & value) |
| Set the value of this attribute.
|
|
| Node (_xmlNode * node) |
|
| ~Node () override |
|
Element * | add_child (const Glib::ustring & name, const Glib::ustring & ns_prefix=Glib::ustring()) |
| Add a child element to this node.
|
|
Element * | add_child (xmlpp::Node * previous_sibling, const Glib::ustring & name, const Glib::ustring & ns_prefix=Glib::ustring()) |
| Add a child element to this node after the specified existing child node.
|
|
Element * | add_child_before (xmlpp::Node * next_sibling, const Glib::ustring & name, const Glib::ustring & ns_prefix=Glib::ustring()) |
| Add a child element to this node before the specified existing child node.
|
|
Element * | add_child_before_with_new_ns (xmlpp::Node * next_sibling, const Glib::ustring & name, const Glib::ustring & ns_uri, const Glib::ustring & ns_prefix=Glib::ustring()) |
| Add a child element to this node before the specified existing child node.
|
|
Element * | add_child_with_new_ns (const Glib::ustring & name, const Glib::ustring & ns_uri, const Glib::ustring & ns_prefix=Glib::ustring()) |
| Add a child element to this node.
|
|
Element * | add_child_with_new_ns (xmlpp::Node * previous_sibling, const Glib::ustring & name, const Glib::ustring & ns_uri, const Glib::ustring & ns_prefix=Glib::ustring()) |
| Add a child element to this node after the specified existing child node.
|
|
_xmlNode * | cobj () |
| Access the underlying libxml implementation.
|
|
const _xmlNode * | cobj () const |
| Access the underlying libxml implementation.
|
|
bool | eval_to_boolean (const Glib::ustring & xpath, const PrefixNsMap & namespaces, XPathResultType * result_type=nullptr) const |
| Evaluate an XPath expression.
|
|
bool | eval_to_boolean (const Glib::ustring & xpath, XPathResultType * result_type=nullptr) const |
| Evaluate an XPath expression.
|
|
double | eval_to_number (const Glib::ustring & xpath, const PrefixNsMap & namespaces, XPathResultType * result_type=nullptr) const |
| Evaluate an XPath expression.
|
|
double | eval_to_number (const Glib::ustring & xpath, XPathResultType * result_type=nullptr) const |
| Evaluate an XPath expression.
|
|
Glib::ustring | eval_to_string (const Glib::ustring & xpath, const PrefixNsMap & namespaces, XPathResultType * result_type=nullptr) const |
| Evaluate an XPath expression.
|
|
Glib::ustring | eval_to_string (const Glib::ustring & xpath, XPathResultType * result_type=nullptr) const |
| Evaluate an XPath expression.
|
|
NodeSet | find (const Glib::ustring & xpath) const |
| Find nodes from an XPath expression.
|
|
NodeSet | find (const Glib::ustring & xpath, const PrefixNsMap & namespaces) const |
| Find nodes from an XPath expression.
|
|
NodeList | get_children (const Glib::ustring & name=Glib::ustring()) |
| Obtain the list of child nodes.
|
|
const NodeList | get_children (const Glib::ustring & name=Glib::ustring()) const |
| Obtain the list of child nodes.
|
|
Node * | get_first_child (const Glib::ustring & name=Glib::ustring()) |
| Get the first child of this node.
|
|
const Node * | get_first_child (const Glib::ustring & name=Glib::ustring()) const |
| Get the first child of this node.
|
|
int | get_line () const |
| Discover at what line number this node occurs in the XML file.
|
|
Glib::ustring | get_name () const |
| Get the name of this node.
|
|
Glib::ustring | get_namespace_prefix () const |
| Get the namespace prefix of this node.
|
|
Glib::ustring | get_namespace_uri () const |
| Get the namespace URI of this node.
|
|
Node * | get_next_sibling () |
| Get the next sibling for this node.
|
|
const Node * | get_next_sibling () const |
| Get the next sibling for this node.
|
|
Element * | get_parent () |
| Get the parent element for this node.
|
|
const Element * | get_parent () const |
| Get the parent element for this node.
|
|
Glib::ustring | get_path () const |
| Get the XPath of this node.
|
|
Node * | get_previous_sibling () |
| Get the previous sibling for this node.
|
|
const Node * | get_previous_sibling () const |
| Get the previous sibling for this node .
|
|
Node * | import_node (const Node * node, bool recursive=true) |
| Import node(s) from another document under this node, without affecting the source node.
|
|
void | remove_child (Node * node) |
| Remove the child node.
|
|
void | set_name (const Glib::ustring & name) |
| Set the name of this node.
|
|
void | set_namespace (const Glib::ustring & ns_prefix) |
| Set the namespace prefix used by the node.
|
|
Represents an explicit attribute of an XML Element node.
This will be instantiated by the parser.
- Since libxml++ 2.36: