[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: AW: DOCBOOK-APPS: XML catalog resolution problems
Hej Jeanson, > -----Ursprüngliche Nachricht----- > Von: Jeanson Mauritz [SMTP:mauritz.jeanson@aerotechtelub.se] > Gesendet am: Dienstag, 22. Oktober 2002 14:23 > An: docbook-apps@lists.oasis-open.org > Betreff: DOCBOOK-APPS: XML catalog resolution problems > > Hello. > > I can't get Norman Walsh's catalog resolver to work properly with > Saxon on Windows. I have tried to follow the instructions in Bob > Stayton's article at http://www.sagehill.net/xml/docbookxsl/Catalogs.html. > > > Details can be found in my two posts to the Saxon-help list: > http://www.geocrawler.com/lists/3/SourceForge/13378/0/9822868/ > http://www.geocrawler.com/lists/3/SourceForge/13378/0/9879640/ > > I suppose I am doing something wrong, but I have no idea what it is. > > This is the current score: > > A. Resolution of system IDs: does not work at all. [Schlienger, Marc] say you have DocBook located in c:\docbook\docbookxml42, then your XML_CATALOG_FILES var should look like: file:///c:/docbook/docbookxml42/catalog.xml > B. Resolution of stylesheet locations: works only if I > 1. use Saxon's -u flag, > 2. use <uri> instead of <system> in the catalog file, > 3. prepend the xml file name with "file:" on the command line, and > 4. use a system ID with full path to the DTD (or a public ID). [Schlienger, Marc] for stylesheets I suggest you put local links into the required ones, for instance in chunk.xsl there is normaly: <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/> comment it out and replace it with <xsl:import href="docbook.xsl"/> Well, you might say that this is not nice, but it works... Tell me if this helps... Marc
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC