salesforcer (version 0.2.2)

build_metadata_xml_from_list: Metadata List to XML Converter

Description

This function converts a list of metadata to XML

Usage

build_metadata_xml_from_list(
  input_data,
  metatype = NULL,
  root_name = NULL,
  ns = c(character(0)),
  root = NULL
)

Arguments

input_data

XML document serving as the basis upon which to add the list

metatype

a character indicating the element name of each record in the list

root_name

character; the name of the root node if created

ns

named vector; a collection of character strings indicating the namespace definitions of the root node if created

root

XMLNode; a node to be used as the root

Value

A XML document with the sublist data added