File: catalog.R

package info (click to toggle)
r-cran-xml 3.99-0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,688 kB
  • sloc: ansic: 6,659; xml: 2,890; asm: 486; sh: 12; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Examples of manipulating the catalog for resolving URIs.



# Get this from catalog.xml
catalogResolve("http://www.omegahat.net/XSL/")

loadCatalogs("~/Classes/StatComputing/XDynDocs/inst/XML/catalog.xml")

# Found in the first/original catalog, not IDynDocs.
catalogResolve("http://docbook.sourceforge.net/release/xsl/current/foo")

catalogResolve("http://www.statdocs.org/foo")


catalogAdd(c("http://www.r-project.org/XSL/" = "/Users/duncan/R/XSL"))
catalogResolve("http://www.r-project.org/XSL/bob.xsl")