Displaying 2 results from an estimated 2 matches for "suppressnamespacewarning".
2012 Oct 29
1
XML namespace control
...;http://my.weather.com/events" type="hurricane" name="Sandy">ripsnorter</weather:storm>
node2 <- newXMLNode("storm", "ripsnorter",
namespace = "weather",
attrs = c(type = "hurricane", name = "Sandy"),
suppressNamespaceWarning = TRUE)
node2
# produces the node without the namespace prefix and without the definition
# <storm type="hurricane" name="Sandy">ripsnorter</storm>
Is there some way to create a node with a namespace prefix but without embedding the namespace definition along with...
2018 Mar 22
1
how to add a child to a child in XML
Just to clarify and hopefully catch the attention of the maintainer:
The newXMLNode function is not mentioned in:
https://cran.r-project.org/web/packages/XML/XML.pdf
which supposedly describes all functions in the package.
Stephen
From: Ben Tupper [mailto:btupper at bigelow.org]
Sent: Thursday, March 22, 2018 10:40 AM
To: Bond, Stephen
Cc: r-help
Subject: Re: [R] how to add a child to a