Learn R Programming

rddi (version 0.1.1)

as_xml: Get XML representation of ddi_node objects

Description

Get XML representation of ddi_node objects

Usage

as_xml(x, ...)

Value

An xml_document or xml_node object whether the object is a root node or not, respectively.

Arguments

x

A ddi_node object (or subclass).

...

Arguments to pass to methods.

Examples

Run this code
cb <- ddi_codeBook(ddi_stdyDscr(ddi_citation(ddi_titlStmt(ddi_titl("Sample")))))
as_xml(cb)

Run the code above in your browser using DataLab