rk.XML.set: Create XML node "set" for RKWard plugins

View source: R/rk.XML.set.R

rk.XML.setR Documentation

Create XML node "set" for RKWard plugins

Description

Create XML node "set" for RKWard plugins

Usage

rk.XML.set(id, set = NULL, to, check.modifiers = TRUE)

Arguments

id

Either a character string (the id of the property whose value should be set), or an object of class XiMpLe.node (whose id will be extracted and used).

set

Character string, a valid modifier.

to

Character string or logical, the value the property should be set to.

check.modifiers

Logical, if TRUE the given modifiers will be checked for validity. Should only be turned off if you know what you're doing.

Value

An object of class XiMpLe.node.

See Also

rk.XML.connect, rk.XML.external, rk.XML.logic, rk.XML.set, rk.XML.switch, and the Introduction to Writing Plugins for RKWard

Examples

test.set <- rk.XML.set(id="input_foo", set="required", to=TRUE)
cat(pasteXML(test.set))

rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.