|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: calling templates depending on content
> <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']"> Yes. "mode" however doesn't affect call-template as one cannot specify a mode when 'calling' a template, a name is supposed to be unique enough.. ;) Not the presence of both name and match on the template... :-P Grtz, Geert
|
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








