Good afternoon all,
I am trying to write a catalog file for my DocBook processing so all the paths that I need are in one place. At the moment I have limited success.
I have pretty much lifted the Catalog file from
and I have got the system to find my customisation stylesheet in the correct location.
However when my file then tries to import the Docbook XSL file, it does it with the same path location as it did when it found my customisation, even though in my catalog I have a different path for this file.
I am using xsltproc to produce my FO file, the command I am using is:
XML_CATALOG_FILES="catalog.xml" xsltproc -o output.fo
If i re-run this command using fo-docbook.xsl instead it works perfectly and I get the FO, trouble is that it is not what I want. I have appened the Catalog file to the end of this email.
PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
<!-- DTD and stylesheet files installed under /usr/share/xml -->
<!-- Resolve DTD URL system ID to local file -->
<!-- Resolve stylesheet URL to local file -->
<!-- To resolve simple DTD SYSTEM identifiers. -->
<!-- Note: this does not work with Java resolver -->
<!-- classes in Saxon or Xalan -->
<!-- To resolve short stylesheet references -->