Re: [xsl] Moded Templates

Subject: Re: [xsl] Moded Templates
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Mon, 6 Jan 2003 15:40:32 -0500

On Monday, January 6, 2003, at 01:44 PM, Lopez, William wrote:


<xsl:template match="A" mode="(A|B|C)">
...
</xsl:template>

You could have three templates that match="A" with A,B,C as the modes, and use call-template to call the same template rule in each one.


Why do you have so many different modes? It might be better to find a way to collapse the three different modes into one, for example, delay the conditional decision making until somewhere further down the tree.

simon

---
www.simonwoodside.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread