Helper to convert R list to xml node (character representation).
xml_new_node(name, attrs, .children, text, ...)
name of the node to create.
a named list of name-value pairs to be used as attributes for the XML node.
a list containing XML node elements or content.
the text content for the new XML node.
an R object that points to the C-level structure instance.