This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Where does DTD declare XSL?
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Jeffery Biss" <jeff at marco-inc dot com>, "docbook list" <docbook at lists dot oasis-open dot org>
- Date: Thu, 26 Aug 2004 14:56:44 -0700
- Subject: Re: [docbook] Where does DTD declare XSL?
- References: <412D4A6B.4050309@marco-inc.com>
>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
>
>
>
>
>