Learn R Programming

XML (version 3.1-1)

xmlToS4: General mechanism for mapping an XML node to an S4 object

Description

This generic function and its methods recursively process an XML node and its child nodes ( and theirs and so on) to map the nodes to S4 objects.

This is the run-time function that corresponds to the makeClassTemplate function.

Usage

xmlToS4(node, obj = new(xmlName(node)), ...)

Arguments

Value

  • The object obj whose slots have been modified.

concept

meta-computing

See Also

makeClassTemplate