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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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

Subject: DOCBOOK-APPS: Re: XHTML stylesheet and namespace

/ 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,

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

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

Powered by eList eXpress LLC