Subject: [xsl] calling templates depending on content From: "Stefan Borchert" <stefan@xxxxxxxxxxxx> Date: Fri, 29 Oct 2004 10:41:53 +0130 |
Hello! At the moment I've got the following construct: [...] <xsl:template name="pages"> <xsl:choose> <xsl:when test="/main/template/@name = 'start'"> <xsl:call-template name="start"/> </xsl:when> <xsl:when test="/main/template/@name = 'query'"> <xsl:call-template name="query"/> </xsl:when> ... </xsl:choose> </xsl:template> [...] Is there a better way (XSL1.0) to call a template depending on "/main/template/@name"? thanks, Stefan
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Dynamic processing of xml, Matthew Hailstone | Thread | Re: [xsl] calling templates dependi, David Carlisle |
RE: [xsl] Performance degraded with, Kielen, Agnes | Date | Re: [xsl] calling templates dependi, David Carlisle |
Month |