This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XHTML Stylesheets


Once Again,
I. I downloaded docbook-1.47 and converted my docbook the result was fine, 
but without any namespaces.
II. I added this line to html/docbook.xsl
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    xmlns:doc="http://nwalsh.com/xsl/documentation/1.0";
    xmlns:xhtml="http://www.w3.org/1999/xhtml";
    xmlns="http://www.w3.org/1999/xhtml";
    exclude-result-prefixes="#default xhtml doc"
    version="1.0">
Now there was the correct Namespace attribute in the html element
<html xmlns="http://www.w3.org/1999/xhtml";>
but some columns right there was the problem:
<div xmlns="" class="set">
A null namespace in a div element which would cause a browser not to render 
the included content.

can you give me a hint, where I will find the piece of code that adds this 
null namespace to the document.

Lars

On Monday 10 December 2001 19:24, Norman Walsh wrote:
> / Lars Trieloff <lars@trieloff.net> was heard to say:
> | I've got a small problem with the xhtml xsl. I was trying to create XHTML
> | that conforms with mozillas requirements for displaying mathml but I was
> | unable to add the xhtml namespace to the html element.
> | If I just added it in the stylesheet, it appeared in the html element but
> | in the following elements there was a empty namespace added.
> | My Question is how to add this little piece of xmlns to html
>
> Can you show us your customization layer? And what processor are you using?
>
>                                         Be seeing you,
>                                           norm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]