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


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] Where does DTD declare XSL?


>From what application are you getting that error?  It doesn't make much
sense to me.  The Docbook DTD is not supposed to declare the stylesheet at
all.  That <?xml-stylesheet?> processing instruction looks ok to me, and it
only has to occur before any element content, which it does.
Somehow the stylesheet is getting mixed up with the document content, it
seems.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Jeffery Biss" <jeff@marco-inc.com>
To: "docbook list" <docbook@lists.oasis-open.org>
Sent: Wednesday, August 25, 2004 7:26 PM
Subject: [docbook] Where does DTD declare XSL?


> Can someone please tell me where the docbook dtd is supposed to declare
> the stylesheet? I get the following error:
>
> "The element 'xsl:stylesheet' is used but not declared in the DTD/Schema."
>
> Here are the declarations:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2CR1//EN"
> "g:/docbookx/docbookx.dtd">
> <?xml-stylesheet type="text/xsl"
>     href="g:/docbook-xsl-1.58.1/html/docbook.xsl"?>
>
> I performed a search for the xsl element in the docbook directory but it
> returned nothing.
>
> Thanks, Jeff Biss
>
>
>
>
>



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