[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Writing an optional element
Hi I have an XSL template that has to write an element depending on a condition. If Condition is true <element> ... continue processing ... </element> If Condition is false ... continue processing ... Is there a better way to do it than: <xsl:choose> <xsl:when test="condition"> <element> ... processing instructions ... </element> </xsl:when> <xsl:otherwise> ... repeat processing instructions ... </xsl:otherwise> </xsl:choose> Thanks in advance
|
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
|