XMLAttributes-class

0th

Percentile

Class "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

Keywords
classes
Objects from the Class

Objects can be created by calls of the form new("XMLAttributes", ...). These are typically generated via a call to xmlAttrs.

Slots

.Data:

Object of class "character"

Extends

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.

Methods

[

signature(x = "XMLAttributes"): ...

show

signature(object = "XMLAttributes"): ...

See Also

xmlAttrs newXMLNode xmlParse

Aliases
  • XMLAttributes-class
  • [,XMLAttributes-method
  • show,XMLAttributes-method
Examples
# NOT RUN {
  nn = newXMLNode("foo", attrs = c(a = "123", 'r:show' = "true"),
                   namespaceDefinitions = c(r = "http://www.r-project.org"))
  a = xmlAttrs(nn)
  a["show"]
# }
Documentation reproduced from package XML, version 3.98-1.19, License: BSD_2_clause + file LICENSE

Community examples

Looks like there are no examples yet.