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]

Re: [docbook-apps] Do docbook Stylesheet access the Internet


The problem occurs when i run the xml document through an xslt processor to generate html. The problem was with accessing the DTD which was not available. Ive tried manually copying it locally but it refers to additional DTDs.

Bob Stayton wrote:

The stylesheets themselves don't normally access the internet.  Generally
the Internet access comes when the processor tries to resolve the DTD
reference in the document, or when the XSL-FO processor tries to resolve the
draft.watermark.image location, whose default value is a URL.

Let's eliminate the DTD first.  After downloading the DTD and changing your
DOCTYPE, can you validate the document?

If the document validates, can you be more specific about what stage of the
processing generates the network messages?  Can you successfully generate
HTML output?  Are the message occuring when you run the FO processor?  If it
is the latter, then try setting the stylesheet parameter 'draft.mode' to
'no'.  That will prevent the draft.watermark.image from being accessed.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net






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