[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: <xsl:attribute>
you could do it this way: <xsl:template match = "OPTIONS"> <option value="{OPTION_NAME}"> </option> </xsl:template> -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxx [SMTP:owner-xsl-list@xxxxxxxxxxxxxxxx] On Behalf Of patrick honner Sent: Tuesday, February 01, 2000 10:50 AM To: xsl-list@xxxxxxxxxxxxxxxx Subject: <xsl:attribute> I am having some problems using <xsl:attribute>: maybe it is simply a problem of parsers (for example, the following code works in some environments but not in others), but is there another way to build attributes into tags that might circumvent the problems I'm having? <input type = "checkbox"> <xsl:apply-templates select = "OPTIONS"/> </input> <xsl:template match = "OPTIONS"> <option> <xsl:attribute name = "value"> <xsl:value-of select "OPTION_NAME"/> </xsl:attribute> </option> </xsl:template> Thanks in advance for your thoughts- Patrick ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|