This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: checked feature of HTML in XML/XSL? Is it possible?
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: checked feature of HTML in XML/XSL? Is it possible?
- From: "Jean de Lavarene" <breux at online dot fr>
- Date: Thu, 20 Jul 2000 16:09:29 +0200
- References: <00fa01bff24d$2f5a64c0$6cc8c8c8@chromosome>
- Reply-To: xsl-list at mulberrytech dot com
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@translogicsys.com>
To: <xsl-list@mulberrytech.com>
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