|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: different templates
<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
|
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








