Subject: Re: checked feature of HTML in XML/XSL? Is it possible?
From: "Jean de Lavarene" <breux@xxxxxxxxx>
Date: Thu, 20 Jul 2000 16:09:29 +0200
|
try :
<input>
<xsl:attribute name="type"><xsl:value-of select="@type"/></xsl:attribute>
<xsl:if test="@checked='yes'"><xsl:attribute name="checked"></xsl:attribute></xsl:if>
</input>
----- Original Message -----
From: "Rohit Peyyeti" <rohit@xxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Thursday, July 20, 2000 3:12 PM
Subject: checked feature of HTML in XML/XSL? Is it possible?
> Hello:
>
> I want to implement 'checked' feature of HTML <input> tag in XML/XSL.
>
> I have a tag which looks like this in .XML file:
> <tag type="checkbox" checked="yes">
>
> I will now apply XSL to the XML file:
> <input>
> <xsl:attribute name="type"><xsl:value-of
> select="@checkbox"/></xsl:attribute>
> </input>
>
> In the above scenario how do I implement 'checked' feature in XSL?
>
> Any help on this would be great.
>
> thanks,
> Rohit Peyyeti
>
>
>
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|