https://github.com/cran/XML
Raw File
Tip revision: 7ab4aa451639a5b2fc73eb370b6d339d4f4c4979 authored by CRAN Team on 20 January 2020, 07:44:55 UTC
version 3.99-0.3
Tip revision: 7ab4aa4
RhelpArchive.xml
<?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>

back to top