powered by
Get XML representation of ddi_node objects
as_xml(x, ...)
An xml_document or xml_node object whether the object is a root node or not, respectively.
xml_document
xml_node
A ddi_node object (or subclass).
ddi_node
Arguments to pass to methods.
cb <- ddi_codeBook(ddi_stdyDscr(ddi_citation(ddi_titlStmt(ddi_titl("Sample"))))) as_xml(cb)
Run the code above in your browser using DataLab