This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XHTML stylesheet and namespace
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Christophe Roudet <croudet at activia dot net>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 06 Sep 2002 08:17:13 -0400
- Subject: DOCBOOK-APPS: Re: XHTML stylesheet and namespace
- References: <036001c24df3$a277b120$e701a8c0@yo>
/ Christophe Roudet <croudet@activia.net> was heard to say:
[...]
| Error: there is no attribute "xmlns" for this element (in this HTML version)
This is a good one. :-)
The problem is that your custom sample-titlepage.xsl file is in HTML not XHTML.
You can fix this problem by processing it with xsl/xhtml/html2xhtml.xsl.
In other words, something like this:
$ mv sample-titlepage.xsl temp.xsl
$ xslt-processor-of-choice temp.xsl .../xsl/xhtml/html2xhtml.xsl sample-titlepage.xsl
$ xslt-processor-of-choice yourdoc.xml yourstylesheet.xsl output.html
Now, where can we document that...
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | There are infinite possibilities
http://www.oasis-open.org/docbook/ | of error, and more cranks take up
Chair, DocBook Technical Committee | unfashionable untruths than
| unfashionable truths.--Bertrand
| Russell