library(XML)
doc = xmlParse("~/Books/XMLTechnologies/SVGAnnotation/SVGAnnotationPaper.xml")
figs = getNodeSet(doc, "//figure[.//dyngraphic]")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.