File: RhelpArchive.xml

package info (click to toggle)
r-cran-xml 3.99-0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,672 kB
  • sloc: ansic: 6,064; xml: 2,904; asm: 486; sh: 12; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 898 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?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>