XMLAttributes-class | R Documentation |
"XMLAttributes"
A simple class to represent a named character vector of XML attributes some of which may have a namespace. This maintains the name space
Objects can be created by calls of the form new("XMLAttributes", ...)
.
These are typically generated via a call to xmlAttrs
.
.Data
:Object of class "character"
Class "character"
, from data part.
Class "vector"
, by class "character", distance 2.
Class "data.frameRowLabels"
, by class "character", distance 2.
Class "SuperClassMethod"
, by class "character", distance 2.
signature(x = "XMLAttributes")
: ...
signature(object = "XMLAttributes")
: ...
Duncan Temple Lang
xmlAttrs
newXMLNode
xmlParse
nn = newXMLNode("foo", attrs = c(a = "123", 'r:show' = "true"),
namespaceDefinitions = c(r = "http://www.r-project.org"))
a = xmlAttrs(nn)
a["show"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.