File: removeXMLNamespaces.Rd

package info (click to toggle)
r-cran-xml 3.99-0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,688 kB
  • sloc: ansic: 6,659; xml: 2,890; asm: 486; sh: 12; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 1,142 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\name{removeXMLNamespaces}
%\Rdversion{1.1}
\alias{removeXMLNamespaces}
\alias{removeXMLNamespaces,XMLInternalNode-method}
\alias{removeXMLNamespaces,XMLInternalElementNode-method}
\alias{removeXMLNamespaces,XMLInternalDocument-method}
\title{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{
  \item{node}{an XMLInternalNode or XMLInternalDocument object}
  \item{\dots}{the names of the namespaces to remove or an
    XMLNamespaceRef object returned via \code{\link{getNodeSet}} or \code{\link{xpathApply}}.}
  \item{all}{a logical value indicating whether to remove all the
    namespace definitions on a node.}
  \item{.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{
Duncan Temple Lang
}

\seealso{
  \code{\link{newXMLNamespace}}
}
%\examples{}

\keyword{IO}