1\name{removeXMLNamespaces} 2%\Rdversion{1.1} 3\alias{removeXMLNamespaces} 4\alias{removeXMLNamespaces,XMLInternalNode-method} 5\alias{removeXMLNamespaces,XMLInternalElementNode-method} 6\alias{removeXMLNamespaces,XMLInternalDocument-method} 7\title{Remove namespace definitions from a XML node or document} 8\description{ 9 This function and its methods allow one to remove one 10 or more XML namespace definitions on XML nodes within a document. 11} 12\usage{ 13removeXMLNamespaces(node, ..., all = FALSE, .els = unlist(list(...))) 14} 15\arguments{ 16 \item{node}{an XMLInternalNode or XMLInternalDocument object} 17 \item{\dots}{the names of the namespaces to remove or an 18 XMLNamespaceRef object returned via \code{\link{getNodeSet}} or \code{\link{xpathApply}}.} 19 \item{all}{a logical value indicating whether to remove all the 20 namespace definitions on a node.} 21 \item{.els}{a list which is sometimes a convenient way to specify the 22 namespaces to remove.} 23} 24\value{ 25This function is used for its side-effects and changing the internal node.} 26\author{ 27Duncan Temple Lang 28} 29 30\seealso{ 31 \code{\link{newXMLNamespace}} 32} 33%\examples{} 34 35\keyword{IO} 36