This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] 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örn
-------------------------------------------------------------------
http://lundin.homelinux.net
Registered Linux User No. 267342 <http://counter.li.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]