Re: [xsl] Need attr="" in html...

Subject: Re: [xsl] Need attr="" in html...
From: Kurt George Gjerde <kurt.gjerde@xxxxxxxxxxxxxxxxx>
Date: Thu, 27 Jun 2002 20:52:19 +0200 (MET DST)
On Thu, 27 Jun 2002, Joerg Heinicke wrote:
> No, you can't influence the serializer. Where is the problem? <img alt=""/>
> or <table summary=""/>? An intelligent serializer should know the attributes
> which can be empty. For example Xalan creates the two ones above, but
> reduces an <option selected="selected"/> to <option selected/> during
> serialization.

Yeah, <img alt=""/> but also <img title=""/>. libxslt (of libxml2) renders
as <img alt> which is quite useless.

thanks,
-Kurt.

> Kurt George Gjerde wrote:
> > Hi,
> >
> > Empty attributes: Is there any way to get <tag attr=""> when output method
> > is HTML? And not just <tag attr>...
> >
> > thanks,
> > -Kurt.
>
__________
kurt george gjerde <kurt.gjerde@xxxxxxxxxxxx>
intermedia uib, university of bergen



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread