This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Template Rule for JavaScript Rollovers
- To: xsl-list at mulberrytech dot com
- Subject: Re: Template Rule for JavaScript Rollovers
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Fri, 16 Jun 2000 15:21:34 -0400
- Organization: Department of Engineering Science, The University of Auckland
- References: <394A5CD7.BF94663@higher-order.de> <001601bfd7bf$0c152160$0301a8c0@freesurf.fr>
- Reply-To: xsl-list at mulberrytech dot com
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