Learn R Programming

dmdScheme (version 1.3.5)

as_xml_list: Generic function to convert an object to a list containing xml(s)

Description

Generic function to convert an object to a list containing xml(s)

Usage

as_xml_list(x, output = "metadata", ...)

# S3 method for dmdSchemeSet as_xml_list(x, output = "metadata", ...)

Value

a list() where each element is xml_document object

Arguments

x

object to be converted.

output

specifies the content and format of the exported xml.

"metadata" :

export of the metadata only with no format attributes

"complete" :

export tof the complete sheme, i.e. "metadata" plus the scheme definition. This is a self contained format which contains all attributes.

...

additional arguments for methods

Examples

Run this code

x <- as_xml_list( dmdScheme_example() )
x

## returns a \code{list()} with one \code{xml_document} object


Run the code above in your browser using DataLab