Bob,
Before I submit a bug report does this mean anything?
g:\docbook-xsl-1.58.1\html\docbook.xsl(0,0): Error while parsing
"file:///g:/docbook-xsl-1.58.1/html/autoidx.xsl". The element
'xsl:stylesheet' is used but not declared in the DTD/Schema.
I somehow did not copy the entire error message. The stylesheet and DTD
are on my machine and the paths are valid. Sorry for the trouble.
Jeff Biss
Jeffery Biss wrote:
Bob,
Thanks. I wanted to make sure that I was not totally wrong before I
filed a bug report.
Jeff Biss
Bob Stayton wrote:
Your are correct, I don't
think the processing instruction is wrong. I would ask Wattle about
the problem.
-----
Original Message -----
Sent:
Thursday, August 26, 2004 3:08 PM
Subject:
Re: [docbook] Where does DTD declare XSL?
Bob,
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
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
|