Blame | Last modification | View Log | Download | RSS feed
<articlexmlns:xi="http://www.w3.org/2003/XInclude"xmlns:r="http://www.r-project.org"><title>This is the title</title><section><xi:include xpointer="xpointer(//title)"/><para>This section should have the same title as the article.</para><para><xi:include xpointer="xmlns(r=http://www.r-project.org)xpointer(//r:code[@id='foo'])"/><r:code><xi:include xpointer="xmlns(r=http://www.r-project.org)xpointer(//r:code[@id='foo']/text())"/>y = 10*x + 3 + rnorm(length(x))</r:code></para></section><r:code id="foo">x = 1:10</r:code></article>