Recursive tag calling!!

Innox - Juan Carlos Gonzalez <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Message-ID <1167839952.3870.10.camel@localhost>
Hi everyone! first post here!

Is there a way to use a XSLT template within another?

Concept example:
<xsl:template match="header">
	<h1>This is a header</h1>
</xsl:template>

<xsl:template match="block">
		<!-- Attention here! I'm using 'header' -->
	<header>Block's header</header>
	<xsl:apply-templates />
</xsl:template>

Thank you in advance for the help!!

-- 
Atentamente / Sincerely

Juan Carlos González
Innox - Innovación Inteligente
Tel. +52 (33) 3030-7181
CMMi2
MEX: 01-800-2-SOFTWARE
[email protected]
http://www.innox.com.mx
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.