View source: R/rk.XML.attribute.R
rk.XML.attribute | R Documentation |
This function will create a attribute node for component sections in .pluginmap files. Only meaningful for import plugins.
rk.XML.attribute(id, value = NULL, label = NULL, i18n = NULL)
id |
Either a character string (the |
value |
Character string, new value for the attribute. |
label |
Character string, label associated with the attribute. |
i18n |
Either a character string or a named list with the optional elements |
An object of class XiMpLe.node
.
rk.XML.components
,
and the Introduction to Writing Plugins for RKWard
test.checkbox <- rk.XML.cbox(label="foo", value="foo1", chk=TRUE) # re-set the attribute test.attribute <- rk.XML.attribute(test.checkbox, value="bar2", label="bar") cat(pasteXML(test.attribute))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.