|
Subject: [xsl] multi-mode definitions From: "Dave Gomboc" <dave@xxxxxxxxxxxxxx> Date: Wed, 11 Jul 2001 16:19:33 -0600 |
I have something like...
<xsl:template match="A" mode="x">
...
...
<xsl:apply-templates select="B" mode="x"/>
<xsl:apply-templates select="C" mode="x"/>
...
...
</xsl:template>
<xsl:template match="A" mode="y">
...
...
<xsl:apply-templates select="B" mode="y"/>
<xsl:apply-templates select="C" mode="y"/>
...
...
</xsl:template>
I would like to do better than cut, paste, and replace. I suppose I
could pass a parameter around instead of using modes. What is standard
practice?
Dave
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] starts-with(preceding-sib, Keith | Thread | [xsl] cutting it short!, by way of B. Tommie |
| [xsl] starts-with(preceding-sibling, Keith | Date | Re: [xsl] external files, Mulberry Technologie |
| Month |