|
From: Robert C. <rob...@it...> - 2001-10-31 22:44:34
|
On Thu, 2001-11-01 at 09:09, Casper Hornstrup wrote: > Is there any way to make following less position dependent? > > <!DOCTYPE book SYSTEM "../dtd/docbook-xml-4.1.2/docbookx.dtd"> > <?xml-stylesheet type="text/xsl" > href="../docbook-xsl-1.45/xhtml/docbook.xsl"?> > > Can we specify include directories to the XML processor? Or have a > "forwarder" > file in a central place? There is a thing called a CATALOG that lists all the local system copies of PUBLIC dtd's, and the processor should search that list to find the first match. There is a similar thing now for the stock XSL stylesheets, implemented in xsltproc. > I'm just concerned that it will cause problems in the event of an > upgrade of > the DocBook DTD. Very much so, that doctype is wrong. It should be something like <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "docbookx.dtd" [ <!ENTITY includeddoc1 SYSTEM "includeddoc1.xml"> <!ENTITY includeddoc2 SYSTEM "includeddoc2.xml"> ]> Note that the stylesheet is _not_ listed in the xml source. Rob ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |