[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to pass on xml information to javascript in XS
Attribute Value Templates {}:
<input type="button" value="Add To Cart" onClick="addcart('{name}',7,10)"/> or xsl:attribute: <input type="button" value="Add To Cart"> <xsl:attribute name="onClick"> <xsl:text>addcart('</xsl:text> <xsl:value-of select="name"/> <xsl:text>',7,10)</xsl:text> </xsl:attribute> </input> I prefer the first version. Regards, Joerg aSad Khan wrote: Hi! XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|