addRunspecNode: AddRunspecNode

View source: R/r4moves.R

addRunspecNodeR Documentation

AddRunspecNode

Description

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

Usage

addRunspecNode(
  runspec,
  xpathsLocation,
  childName,
  value = NULL,
  attrs = c(),
  cdata = FALSE
)

Arguments

runspec

XML::xmlParse() object

xpathsLocation

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

childNAme

string of the node to be added #'

Value

XML::xNodeSet() of the node from runspec

Examples

addRunspecNode(rs, "//databaseselections", "databaseselection")

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