cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <J.J.Pab...@bton.ac.uk>
Subject Re: empty attribute problem....
Date Thu, 01 Jun 2000 12:58:00 GMT
Vincent,

Try this:

in your xsl

<OPTION>
<xsl:attribute name="VALUE"/>
<xsl:attribute name="selected"/>
<xsl:text>select a credit card</xsl:text>
</OPTION>

http://www.w3.org/TR/xslt.html#creating-attributes


vincent@stria.com wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> HI!
> 
> if in my xsl I have:
> 
> <OPTION VALUE="" selected="">select a credit card</OPTION>
> 
> with html formatting, it will output:
> 
> <OPTION VALUE selected>select a credit card</OPTION>
> 
> the problem is that MS-IE won't send the parameter if the value is
> not there, so i need:
> 
> <OPTION VALUE="" selected>select a credit card</OPTION>
> 
> is there (please, please) a way to do it...
> 
> thanks
> 
> Vincent-Olivier Arsenault

Mime
View raw message