Document-class: Reference Class representing an XML document

Document-classR Documentation

Reference Class representing an XML document

Description

The base container for the DOM

Usage

## S4 method for signature 'Document'
as.vector(x)

## S4 method for signature 'Document'
as.character(x)

Arguments

x

the object to convert

Details

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

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


Alipsa/rcdom documentation built on March 27, 2022, 11:07 p.m.