<?xml version="1.0"?>

<article xmlns:r='http://www.r-project.org'>

This is an example of code with references to other segments


Top-level code
<r:code>
x = 1
cat("top-level code node\n")
<r:code ref="bob"/>
print(x)
</r:code>

<r:frag id="bob">
cat("r:code node with id bob\n")
x = 10
</r:frag>


</article>
