I have forked libxml2 to introduce 2 very small but important changes related to XInclude and the sentinel nodes that surround the included content. This allows us to identify the original document source of each node.
I install this into ~/local and then prepend $HOME/local/lib to LDFLAGS in ~/.R/Makevars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.