This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: checked feature of HTML in XML/XSL? Is it possible?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]