NCBI C++ ToolKit
|
This file contains the definition of the xml::node manipulation functions. More...
#include <libxml/tree.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Namespaces | |
xml | |
XML library namespace. | |
xml::impl | |
Functions | |
xmlNodePtr | xml::impl::node_insert (xmlNodePtr parent, xmlNodePtr before, xmlNodePtr to_add) |
Insert a node somewhere in the child list of a parent node. More... | |
xmlNodePtr | xml::impl::node_replace (xmlNodePtr old_node, xmlNodePtr new_node) |
Replace a node with another one. More... | |
xmlNodePtr | xml::impl::node_erase (xmlNodePtr to_erase) |
Erase a node from the child list, and then free it from memory. More... | |
void | xml::impl::set_children_default_ns (xmlNodePtr node, xmlNsPtr default_ns) |
Set the node and its children default namespace to the given. More... | |
bool | xml::impl::has_default_ns_definition (xmlNodePtr node) |
Check if the node holds default namespace definition. More... | |
bool | xml::impl::is_ns_used (xmlNodePtr node, xmlNsPtr ns) |
Check if the node, attributes and children use the namespace. More... | |
void | xml::impl::update_children_default_ns (xmlNodePtr node, xmlNsPtr newns) |
Replaces the node and its children default namespace with the given. More... | |
void | xml::impl::erase_ns_definition (xmlNodePtr node, xmlNsPtr definition) |
Erases namespace definition in the node. More... | |
xmlNsPtr | xml::impl::lookup_ns_definition (xmlNodePtr node, const char *prefix) |
Searches for a namspace definition in the given node. More... | |
xmlNsPtr | xml::impl::lookup_default_ns_above (xmlNodePtr node) |
Searches for a default namspace definition in the given node and above. More... | |
void | xml::impl::replace_ns (xmlNodePtr node, xmlNsPtr oldNs, xmlNsPtr newNs) |
Replaces old namspace with a new one in nodes and attributes all the way down in the hierarchy. More... | |
This file contains the definition of the xml::node manipulation functions.
Definition in file node_manip.hpp.