Description Usage Arguments Value Examples
View source: R/txx_create_element.R
Converts a string into an XML element by adding start and end tags. The string can also be an XML element, allowing for easy nesting of XML elements.
1 | txx_create_element(string, tag)
|
string |
A character string |
tag |
The character string used in the start and end tags. |
A character string wrapped in the tag start and end tags.
1 2 3 4 | txx_create_element(string = "Alice", tag = "name")
txx_create_element(string = "<name>Alice</name><age>53</age>",
tag = "patient")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.