[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On Monday, January 6, 2003, at 01:44 PM, Lopez, William wrote:
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Moded Templates, Jeni Tennison | Thread | RE: [xsl] Moded Templates, Lopez, William |
Re: [xsl] Moded Templates, Jeni Tennison | Date | Re: [xsl] Proposal: Copying with So, Dimitre Novatchev |
Month |