Added examples of XML resolver configuration files and instructions on what to do with them.
1 parent f54a8e5 commit d412d999d0e898bcf3e6d3aa4cacf9343a639002
Nigel Stanger authored on 10 Jul 2013
Showing 3 changed files
View
2
■■■
README.md
% git clone https://github.com/Otago-InfoSci-Database/XML.git
% cd XML
% make
 
Youll need to have the XML Entity Resolver set up with a catalog that includes the generated `.xsl` files in this directory.
Youll need to have the XML Entity Resolver set up with a catalog that includes the generated `.xsl` files in this directory. The usual approach is to create somewhere (e.g., `~/Library/Catalogs` under Mac OS X) a `catalog.xml` file that includes URI mappings for all the local `.xsl` files, then create somewhere (e.g., `~/Library/Java`) a `CatalogManager.properties` file that tells the resolver where to find catalog files (both user and system). Ensure that `CatalogManager.properties` or more likely its containing directory is in your Java class path. See the `configuration` directory for examples of both these files that you can use as a template.
 
To update:
 
% git pull
View
6
configuration/CatalogManager.properties 0 → 100644
catalogs=./catalog.xml;/Users/nstanger/Library/Catalogs/catalog.xml;/opt/local/etc/xml/catalog
relative-catalogs=true
static-catalog=yes
catalog-class-name=org.apache.xml.resolver.Resolver
verbosity=1
View
configuration/catalog.xml 0 → 100644