xml_new_node: List to XML Conversion

View source: R/xml_utils.R

xml_new_nodeR Documentation

List to XML Conversion

Description

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

Usage

xml_new_node(name, attrs, .children, text, ..., root = FALSE)

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.

...

other arguments to be passed, not used.

root

whether node is root. Default is FALSE.

Value

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


gitdemont/IFC documentation built on Feb. 20, 2025, 12:55 a.m.