Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

removeXMLNamespaces

Remove namespace definitions from a XML node or document


Description

This function and its methods allow one to remove one or more XML namespace definitions on XML nodes within a document.

Usage

removeXMLNamespaces(node, ..., all = FALSE, .els = unlist(list(...)))

Arguments

node

an XMLInternalNode or XMLInternalDocument object

...

the names of the namespaces to remove or an XMLNamespaceRef object returned via getNodeSet or xpathApply.

all

a logical value indicating whether to remove all the namespace definitions on a node.

.els

a list which is sometimes a convenient way to specify the namespaces to remove.

Value

This function is used for its side-effects and changing the internal node.

Author(s)

Duncan Temple Lang

See Also


XML

Tools for Parsing and Generating XML Within R and S-Plus

v3.99-0.10
BSD_3_clause + file LICENSE
Authors
CRAN Team [ctb, cre] (de facto maintainer since 2013), Duncan Temple Lang [aut] (<https://orcid.org/0000-0003-0159-1546>), Tomas Kalibera [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.