Transform a list in xml

list2xml(item, tag = "model")

Arguments

item

something. If a list, recursive call to list2xml is made, if not the value to add to the item.

tag

the tag that will be used for the item

Value

xml object