getRunspecValue: getRunspecValue

View source: R/r4moves.R

getRunspecValueR Documentation

getRunspecValue

Description

Gets an attibute in a runspec XML::xmlParse() object.

Usage

getRunspecValue(runspec, xpathsLocation)

Arguments

runspec

XML::xmlParse() object

xpathsLocation

string in the format of an XPath (https://way2tutorial.com/xml/xpath-expression.php)

Value

XML::xNodeSet() of the node from runspec

Examples

getRunspecValue(rs, "//scaleinputdatabase")

hlinak/R-for-MOVES documentation built on Jan. 31, 2023, 2:03 p.m.