← Prev in month ← Prev in thread
Next in thread → Next in month →

DOCBOOK-APPS: Re: XHTML stylesheet and namespace

From
Norman Walsh <>
Date
2002-09-06T12:18:39+00:00
ID
Thread
DOCBOOK-APPS: Re: XHTML stylesheet and namespace
/ Christophe Roudet <> 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 <>      | 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
← Prev in month ← Prev in thread
Next in thread → Next in month →