|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: calling templates depending on content
> <xsl:apply-templates select="/main/template/@name"/>
Ah! Now I understand "apply-templates". You have to call it with Wendell's > <xsl:template match="@name[.='start']">...</xsl:template> not only with <xsl:template name=""...>. @Michael: > <xsl:template name="pages"> > <xsl:apply-templates select="." mode="pages"/> > </xsl:template> > > <xsl:template name="start" mode="pages" > match="*[/main/template/@name='start']"> > > <xsl:template name="query" mode="pages" > match="*[/main/template/@name='query']"> Ok, this now makes sense to me. "mode" is to call only templates with the same mode as in apply-templates, isn't it? thanks and greetings, Stefan
|
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








