| xml_add_child | R Documentation |
Add a child node to an XML target
xml_add_child(.x, .name, ..., .where = -1, .value = NULL)
.x |
A pugi_node, pugi_xml, or a list containing one. |
.name |
The name of the new tag to create. |
... |
Named arguments for attributes, unnamed for text content. |
.where |
Integer; 0 to prepend, -1 to append. |
.value |
Optional character string to set as text content. |
The newly created pugi_node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.