RE: [xsl] xsl:template having both name and match

Subject: RE: [xsl] xsl:template having both name and match
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Thu, 3 Mar 2005 06:36:50 -0800 (PST)
Thank you Jarno for explanation.. Using
<xsl:apply-templates/> within xsl:param is new for me!

Regards,
Mukul

--- Jarno.Elovirta@xxxxxxxxx wrote:
> <xsl:template name="block/title"
> name="section.heading">
>   <xsl:param name="content">
>     <xsl:apply-templates/>
>   </xsl:param>
>   <h2>
>     <xsl:copy-of select="$content"/>
>   </h2>
> </xsl:template>
>  
> When you want to use the same template to generate
> headings for both matched title elements and
> autogenerated content.
> 
> Cheers,
> 
> Jarno - Rammstein: Moskau




	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

Current Thread