This function and its methods allow one to remove one or more XML namespace definitions on XML nodes within a document.
removeXMLNamespaces(node, ..., all = FALSE, .els = unlist(list(...)))
an XMLInternalNode or XMLInternalDocument object
the names of the namespaces to remove or an
XMLNamespaceRef object returned via getNodeSet
or xpathApply
.
a logical value indicating whether to remove all the namespace definitions on a node.
a list which is sometimes a convenient way to specify the namespaces to remove.
This function is used for its side-effects and changing the internal node.