<?xml version="1.0"?>
<r:helpArchive xmlns:r="http://www.r-project.org"
		xmlns:xi="http://www.w3.org/2001/XInclude" >
 <!-- common parts -->
 <references>
   Some general references that apply to all.
 </references>

 <r:help id="function 1">
  <title>Function 1</title>
  <args>
   <arg id="a">details about parameter named "a"</arg>
  </args>
  <xi:include xpointer="xmlns(r=http://www.r-project.org)xpointer(/r:helpArchive/references)"/>
 </r:help>

 <r:help>
  <title>Function 2</title>
  <args>
    <xi:include xpointer="xmlns(r=http://www.r-project.org)
                            xpointer(//arg[@id='a'])"/>
    <xi:include xpointer="xmlns(r=http://www.r-project.org)
                            xpointer(//r:help[@id='function 1']/args/arg[@id='a'])"/>
  </args>
  <xi:include xpointer="xmlns(r=http://www.r-project.org)xpointer(/r:helpArchive/references)"/>
 </r:help>
</r:helpArchive>

