docbook: Updated XSL Stylesheets
Subject:
Re: Updated XSL Stylesheets
From:
Bob Stayton ####@####.####
Date:
3 Jul 2003 09:31:56 -0000
Message-Id: <20030703024630.A24631@sco.com>
On Wed, Jul 02, 2003 at 01:50:06PM -0400, Emma Jane Hogbin wrote:
[stuff deleted]
>
> > > For the XHTML version
> > > there are namespaces put into elements that don't allow them.
> >
> > This is a bug in the version of xsltproc you are using.
> > Try a later version.
>
> Bah. Debian did all the installing and that is the latest version
> according to unstable. This is the version I'm using:
> emmajane@debian:/web/ref$ xsltproc -version
> Using libxml 20507, libxslt 10030 and libexslt 720
> xsltproc was compiled against libxml 20507, libxslt 10030 and libexslt 720
> libxslt 10030 was compiled against libxml 20507
> libexslt 720 was compiled against libxml 20507
Well, that's the version of xsltproc that I'm using,
and I see the namespace declaration only on the <html>
element when I use the straight DocBook xhtml stylesheets
(both docbook.xsl and chunk.xsl).
Looking at the tldp customization files, I can see the problem.
They use the wrong namespace for xhtml
(xmlns="http://www.w3.org/TR/xhtml1/transitional).
The correct namespace is http://www.w3.org/1999/xhtml,
even for the transitional version. See
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: ####@####.####