RE: [docbook-apps] xhtml output

From
Marius Scurtescu <>
Date
2003-10-15T22:17:00+00:00
ID
Thread
RE: [docbook-apps] xhtml output
Sorry for not mentioning the xslt processor, you
are right, the problem is there.

I was using Xalan version 2.5.x under Win2K. I 
don't know the exact version since it came with 
the XML editor I am using (oXygen).

As soon as I switched to Saxon both problems went
away (empty xmlns attributes and broken a tags).

I will try to find out the exact version of Xalan
and use a newer one if available. I thought that
Xalan is rock solid, but now it feels quite
flaky :-(

Thanks,
Marius

> -----Original Message-----
> From: Bob Stayton [mailto:]
> Sent: Wednesday, October 15, 2003 12:57 PM
> To: Marius Scurtescu
> Cc: Docbook-Apps
> Subject: Re: [docbook-apps] xhtml output
> 
> 
> On Wed, Oct 15, 2003 at 10:52:48AM -0700, Marius Scurtescu wrote:
> > Hi,
> > 
> > I am converting DocBook documents to XHTML using the
> > xhtml stylesheets from the XSL package version 1.62.0
> > and 1.62.4.
> > 
> > In both cases the generated XHTML is invalid. 
> > 
> > The major problem is the generation of empty 'xmlns' 
> > attributes on many of the output tags (meta, div and p).
> > 
> > Is there a way to prevent this and generate valid XHTML?
> 
> As Daniel pointed out, this is coming from an older
> version of xsltproc, not the stylesheet.  
> 
> Generally, the stylesheets output valid Transitional
> XHTML 1.0.   
>  
> > Are the XHTML stylesheets considered stable or just
> > work in progress?
> 
> Stable, but always with room for improvement.  8^)
>  
> > Another issue with the XHTML stylesheet is the conversion
> > of the ulink DocBook tag. It gets converted into a broken
> > a tag like: <a ="" target="_top">...</a>
> 
> Ulink usually works.  Do you have a 'url' attribute
> in the ulink (it's required by the 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: