|
Subject: Re: [xsl] different templates From: Jörg Heinicke <Joerg.Heinicke@xxxxxx> Date: Mon, 29 Oct 2001 10:49:03 +0100 (MET) |
<xsl:apply-templates select="var" mode="foo"/>
<xsl:apply-templates select="var" mode="bar"/>
<xsl:template match="var" mode="foo">
<!-- foo -->
</xsl:template>
<xsl:template match="var" mode="bar">
<!-- foo -->
</xsl:template>
Hope this helps,
Joerg
> Hi list,
>
> I (think I) need 2 different apply-templates which match the same xml
> node in a stylesheet.
> How can I do this without conflicts?
>
> <xsl:template match="var"> <!-- foo --> </xsl:template>
> <xsl:template match="var"> <!-- bar --> </xsl:template>
>
> Well, there must be a simple solution ...
> Problem: I need the elements and id's from 'vars' in different parts of
> html output.
>
> Greets,
>
> Ingo
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] different templates, Ingo Friepoertner | Thread | Re: [xsl] different templates, Goetz Bock |
| RE: [xsl] Can't pass parameters acr, Joerg Pietschmann | Date | Re: [xsl] different templates, Goetz Bock |
| Month |