[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Re: [xsl] Calling a different stylesheet based upon XML tag?


Subject: Re: Re: [xsl] Calling a different stylesheet based upon XML tag?
From: "Olaf Wentzien" <olaf.wentzien@xxxxxx>
Date: Tue, 26 Oct 2004 16:18:01 +0200

Hi,

why don't you try to use the mode-attribute, like that


<xsl:template match="order" mode="input">
... instructions
</xsl:template>

and in the other stylsheet :

<xsl:template match="order" mode="output">
... instructions
</xsl:template>

so you can control, which template to apply.

Greeetings


Current Thread