get_conversion_function: Get the relevant conversion function for an xml node.

Description Usage Arguments Value

View source: R/xml_utils.R

Description

Looks at the children of the node to determine the type of data contained in the node. If the node represents an array then this will return all of the array data. If the children contain single property data then it will return the function to convert the data at the specified search location.

Usage

1

Arguments

node

The nodeset to get the property from.

search

Passed to xml_child, either the child number to convert, or name of the child node to convert. If multiple with the same name exist, the first will be returned. Defaults to first.

Value

Conversion function for the node type.


mrc-ide/specio documentation built on April 15, 2021, 8:37 a.m.