# The idea is to test adding nodes to a document
library(XML)
f = system.file("exampleData", "catalog.xml", package = "XML")
doc = xmlParse(f)
gctorture()
n = newXMLNode("foo", "bob")
addChildren(xmlRoot(doc), n)
rm(doc)
gc()
rm(n)
gc()
gc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.