Re: Do docbook Stylesheet access the Internet

From
=?JRN-8859-1?P?Cj=G6rn?= Mundin
Date
2004-11-15T20:08:52+00:00
ID
cnb2cf$6f7$
Thread
Re: Do docbook Stylesheet access the Internet
Paul Taylor wrote:

> Sorry, read the chapter but didnt really understand it, it seems
> unneccessarily complicated for what i want to do.
> 
> So instead I downloaded the DTD and in my source document and changed
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
>           "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
> to
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
>           "file://code/help/docbookx.dtd">
> 
> but it didnt work

I use the same approach, but should really read the catalog stuff. Anyway,
it works for me (tm)

I _think_ that you need to set the file url absolut like:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"file:///usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd">

and not using a relative path, as you have.
-- 
/Bj顤n
-------------------------------------------------------------------
http://lundin.homelinux.net
Registered Linux User No. 267342 <http://counter.li.org>