Examples for 'XML::XMLAttributes-class'


Class '"XMLAttributes"'

Aliases: XMLAttributes-class [,XMLAttributes-method show,XMLAttributes-method

Keywords: classes

### ** Examples

  nn = newXMLNode("foo", attrs = c(a = "123", 'r:show' = "true"),
                   namespaceDefinitions = c(r = "http://www.r-project.org"))
  a = xmlAttrs(nn)
  a["show"]
  show 
"true" 
attr(,"namespaces")
http://www.r-project.org 
                     "r" 
attr(,"class")
[1] "XMLAttributes"
attr(,"class")attr(,"package")
[1] "XML"

[Package XML version 3.99-0.10 Index]