getRunspecAttr: getRunspecAttr

View source: R/r4moves.R

getRunspecAttrR Documentation

getRunspecAttr

Description

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

Usage

getRunspecAttr(runspec, xpathsLocation, attribute)

Arguments

runspec

XML::xmlParse() object

xpathsLocation

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

attribute

the name of the attribute being found

Value

XML::xpathSApply() of attribute from runspec

Examples

getRunspecAttr(rs, "//scaleinputdatabase", "databasename")

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