|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Conditional with-param
Marco wrote:
Is it possible to do something like I'm not sure what you are trying to do here.. but is it possible that instead of having a conditional test and passing in a param, you instead have two templates <xsl:template match="...."> which distinguish between the two different cases in the conditional? At that point, you could just pass both myparam1 and myparam2, (if still necessary) without the conditional. More info on the goal would probably help... but generally I'd suspect using apply-templates select="..." and xsl:template match="..." will do what you need. That said, I believe what you are trying to do there is out of spec: (ZVON) |<!-- Category: instruction --> <xsl:apply-templates select = node-set-expression mode = qname> <!-- Content: (xsl:sort <http://www.zvon.org/xxl/XSLTreference/W3C/xslt.html#element-sort> | xsl:with-param <http://www.zvon.org/xxl/XSLTreference/W3C/xslt.html#element-with-param>)* --> </xsl:apply-templates>| sort and with-param being the only recognized child elements... or should I write a four-cases choose instruction, with four different options combinations?
|
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








