|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Problem with xsl:choose
> <!-- main/timer --> > <xsl:template match = "main/timer"> > <xsl:choose> > <xsl:when test=" main/timer = 'On'"> Within this template rule, the context node is a <timer> element. By writing test="main/timer" you are looking for a <main> element that is a child of this <timer> element, and then for a <timer> element that is a child of this <main> element. You actually just want to test the context node itself: <xsl:when test=". = 'On'"> Mike Kay Software AG 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
|

Cart








