XML related stuff including, but not limited to, the XML authoring framework

Nigel Stanger authored on 10 Jul 2013
configuration Added examples of XML resolver configuration files and instructions on what to do with them. 10 years ago
modules Added subtitle element. Also renamed a few templates to something slightly more consistent. 10 years ago
.gitignore Added generated files to .gitignore. 10 years ago
Makefile Removed now obsolete CVS substitutions. 10 years ago
README.md Added examples of XML resolver configuration files and instructions on what to do with them. 10 years ago
extract_svg_layers.xsl - Added omitted lower-case calls in layer exclusion code. 11 years ago
format-master.xml - Calendar templates now working apart from some (moderately complex to achieve) 11 years ago
generate_calendar_dates.php Removed now obsolete CVS substitutions. 10 years ago
html_calendar.xsl - Deprecated the old teaching calendar stylesheets. They'll stick around, 11 years ago
latex_calendar.xsl - Deprecated the old teaching calendar stylesheets. They'll stick around, 11 years ago
oracle-docs.perl Updated book titles. 10 years ago
xml2xslt.xsl Replaced CVS ID variables with a single variable $document-name that uses the base-uri() function to extract the name of the document being processed. The CVS IDs can be gradually expunged from source files as we go. (closes #1) 10 years ago
README.md

Master XSLT stylesheets for the INFO database authoring framework.

To install:

% git clone https://github.com/Otago-InfoSci-Database/XML.git
% cd XML
% make

You’ll 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
% make

Documents that use the framework depend on the master stylesheets, and so will automatically rebuild from scratch the next time they are built.

Most of the actual stylesheet code is in the modules directory.