as_xml: Get XML representation of ddi_node objects

View source: R/xml_interop.R

as_xmlR 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)


Global-TIES-for-Children/rddi documentation built on Oct. 24, 2022, 9:50 p.m.