as_xml {rddi}R Documentation

Get XML representation of ddi_node objects

Description

Get XML representation of ddi_node objects

Usage

as_xml(x, ...)

Arguments

x

A ddi_node object (or subclass).

...

Arguments to pass to methods.

Value

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

Examples

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


[Package rddi version 0.1.1 Index]