OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Where does DTD declare XSL?


I am using Wattle software's XMLWriter ver 2.4 which uses MSXML. I certainly am not as knowledgable about XML as you but I did try to find an answer before I went to the list but nothing I found lead me to think that the processing instruction was wrong.

Thanks, Jeff Biss

Bob Stayton wrote:
>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

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- 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"
<?xml-stylesheet type="text/xsl"

I performed a search for the xsl element in the docbook directory but it
returned nothing.

Thanks, Jeff Biss



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]