XMLNode-class

0th

Percentile

Classes to describe an XML node object.

These classes are intended to represent an XML node, either directly in S or a reference to an internal libxml node. Such nodes respond to queries about their name, attributes, namespaces and children. These are old-style, S3 class definitions at present.

Keywords
classes
Slots

formal slots

Methods

No methods defined with class "XMLNode" in the signature.

References

http://www.w3.org/XML, http://www.xmlsoft.org

See Also

xmlTreeParse xmlTree newXMLNode xmlNode

Aliases
  • XMLAbstractNode-class
  • XMLAbstractNode-class
  • RXMLNode-class
  • XMLNode-class
  • XMLTreeNode-class
  • XMLInternalNode-class
  • XMLInternalTextNode-class
  • XMLInternalElementNode-class
  • XMLInternalCommentNode-class
  • XMLInternalPINode-class
  • XMLInternalCDataNode-class
  • XMLAttributeDeclNode-class
  • XMLDocumentFragNode-class
  • XMLDocumentNode-class
  • XMLDocumentTypeNode-class
  • XMLEntityDeclNode-class
  • XMLNamespaceDeclNode-class
  • XMLXIncludeStartNode-class
  • XMLXIncludeEndNode-class
  • XMLDTDNode-class
  • coerce,XMLAbstractNode,Date-method
  • coerce,XMLAbstractNode,POSIXct-method
  • coerce,XMLAbstractNode,URL-method
  • coerce,XMLAbstractNode,character-method
  • coerce,XMLAbstractNode,integer-method
  • coerce,XMLAbstractNode,logical-method
  • coerce,XMLAbstractNode,numeric-method
  • XMLNamespaceDefinitions-class
Examples
# NOT RUN {
           # An R-level XMLNode object
   a <- xmlNode("arg", attrs = c(default="T"),
                 xmlNode("name", "foo"), xmlNode("defaultValue","1:10"))

  xmlAttrs(a) = c(a = 1, b = "a string")
# }
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.