https://github.com/cran/XML
Raw File
Tip revision: 2dea04a1ef06f53429143cf07f247203a6e73f8b authored by CRAN Team on 29 November 2023, 11:55:26 UTC
version 3.99-0.16
Tip revision: 2dea04a
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