MTXPath: xpath support function to handle multiple returned values

Description Usage Arguments Value

Description

Wrapper for xpathSApply to concatenate multiple xpath returned values. Also handles no returned values.

Usage

1
MTXPath(doc, tag, sep = ", ", fnxn = "xmlValue")

Arguments

doc

Parsed XML.

tag

The XML tag to be searched for.

sep

A string defining how multiple values should be separated.

fnxn

The function to be applied in xpathSapply

Value

A string


andrewbrownphd/MetaTurkR documentation built on Nov. 23, 2019, 4:17 p.m.