Re: Template Rule for JavaScript Rollovers

Subject: Re: Template Rule for JavaScript Rollovers
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Fri, 16 Jun 2000 15:21:34 -0400
Blond JB wrote:
> 
> It's my first word here on this list!

Well, welcome on board.

> I'am a web developper and am working hard on XSL. So let me give you my
> point of view on Daniel's template : Fine! But <img></img> is NOT HTML 4.0
> compliant!

True - but it is XML compliant, and it's perfectly legal to use it in
the way it was used in the first post. If this XSL fragment is used in
a template with <xsl:output method="html" /> (as you mentioned), this
will be processed with no problems, as there is nothing inside the
<img></img> other than attributes.

> Instead use the <xsl:element name="img"></xsl:element>

This is also legal.

-- 
Warren Hedley


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


Current Thread