https://github.com/cran/XML
Raw File
Tip revision: 3cc154f91cacaa5bc05a347c841f07984b5a28a6 authored by CRAN Team on 22 January 2024, 13:30:59 UTC
version 3.99-0.16.1
Tip revision: 3cc154f
catalog.R
# 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")
back to top