Learn R Programming

IFC (version 0.1.1)

xml_new_node: List to XML Conversion

Description

Helper to convert R list to xml node (character representation).

Usage

xml_new_node(name, attrs, .children, text, ...)

Arguments

name

name of the node to create.

attrs

a named list of name-value pairs to be used as attributes for the XML node.

.children

a list containing XML node elements or content.

text

the text content for the new XML node.

Value

an R object that points to the C-level structure instance.