Learn R Programming

xmlr (version 0.1.2)

Document-class: Reference Class representing an XML document

Description

The base container for the DOM

Usage

# S4 method for Document
as.vector(x)

# S4 method for Document as.character(x)

Arguments

x

the object to convert

Methods (by generic)

  • as.vector: as.vector(Document)

  • as.character: as.character(Document)

Methods

getBaseURI()

return the URI from which this document was loaded

setBaseURI(uri)

Sets the effective URI from which this document was loaded

Details

Methods allow access to the root element as well as the DocType and other document-level information.