https://github.com/cran/XML
Raw File
Tip revision: 3c0b64398bf79b865a4134380b14356c1683f77f authored by Duncan Temple Lang on 31 May 2015, 00:00:00 UTC
version 3.98-1.2
Tip revision: 3c0b643
catalog.R
# Examples of manipulating the catalog for resolving URIs.



# Get this from catalog.xml
catalogResolve("http://www.omegahat.org/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")
back to top