https://github.com/cran/XML
Raw File
Tip revision: 3af7105d1463f17d4ed082eb3452b8bed85a37a6 authored by Duncan Temple Lang on 10 November 2016, 15:39:18 UTC
version 3.98-1.5
Tip revision: 3af7105
XMLAttributes-class.Rd
\name{XMLAttributes-class}
\Rdversion{1.1}
\docType{class}
\alias{XMLAttributes-class}
\alias{[,XMLAttributes-method}
\alias{show,XMLAttributes-method}

\title{Class \code{"XMLAttributes"}}
\description{A simple class to represent a named character vector of XML
  attributes some of which may have a namespace.
This maintains the name space}
\section{Objects from the Class}{
Objects can be created by calls of the form \code{new("XMLAttributes", ...)}.
These are typically generated via a call to \code{\link{xmlAttrs}}.
}
\section{Slots}{
  \describe{
    \item{\code{.Data}:}{Object of class \code{"character"}}
  }
}
\section{Extends}{
Class \code{"\linkS4class{character}"}, from data part.
Class \code{"\linkS4class{vector}"}, by class "character", distance 2.
Class \code{"\linkS4class{data.frameRowLabels}"}, by class "character", distance 2.
Class \code{"\linkS4class{SuperClassMethod}"}, by class "character", distance 2.
}
\section{Methods}{
  \describe{
    \item{[}{\code{signature(x = "XMLAttributes")}: ... }
    \item{show}{\code{signature(object = "XMLAttributes")}: ... }
	 }
}
\author{
Duncan Temple Lang
}

\seealso{
  \code{\link{xmlAttrs}}
  \code{\link{newXMLNode}}
  \code{\link{xmlParse}}  
}
\examples{
  nn = newXMLNode("foo", attrs = c(a = "123", 'r:show' = "true"),
                   namespaceDefinitions = c(r = "http://www.r-project.org"))
  a = xmlAttrs(nn)
  a["show"]
}
\keyword{classes}
back to top