Add a namespace definition to an XML node
This function, and associated methods,
define a name space
prefix = URI combination for the
given XML node.
It can also optionally make this name space the
default namespace for the node.
the XML node for which the name space is to be defined.
This can be a simple character vector giving the URI,
a named character vector giving the prefix = URI pairs, with the prefixes being the names
of the character vector,
or one or more (a list) of
the prefixes to be associated with the URIs given in
a logical value indicating whether to set the namespace for this node to this newly created name space definition.
An name space definition object whose class corresponds
to the type of XML node given in
Currently, this only applies to XMLInternalNodes. This will be rectified shortly and apply to RXMLNode and its non-abstract classes.
Duncan Temple Lang
~put references to the literature/web site here ~
Constructors for different XML node types -
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.