These functions extract data from given nodes/attributes from XML item list.
.nodes2text(xml, xpath, scalar = TRUE).nodes2number(xml, xpath, scalar = TRUE)
.nodes2logical(xml, xpath, scalar = TRUE)
.attr2text(xml, xpath, attr, scalar = TRUE)
.attr2number(xml, xpath, attr, scalar = TRUE)
.attr2logical(xml, xpath, attr, scalar = TRUE)
.attr2datetime(xml, xpath, attr, scalar = TRUE)
List of elements of equal length as xml
.
XML item list.
Single string, name of XPATH expression, for example node name.
Single string, name of attribute