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

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

rk.XML.textR Documentation

Create XML node "text" for RKWard plugins

Description

Create XML node "text" for RKWard plugins

Usage

rk.XML.text(text, type = "normal", id.name = "auto", i18n = NULL)

Arguments

text

Character string, the text to be displayed.

type

One value of either "normal", "warning" or "error".

id.name

Character string, a unique ID for this plugin element. If "auto", an ID will be generated automatically from text. If NULL, no ID will be given.

i18n

Either a character string or a named list with the optional elements context or comment, to give some i18n_context information for this node.

Value

An object of class XiMpLe.node.

See Also

Introduction to Writing Plugins for RKWard

Examples

test.text <- rk.XML.text("Added this text.")
cat(pasteXML(test.text))

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