RE: sets of rules

Subject: RE: sets of rules
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 5 Jul 1999 16:29:33 +0100
What's wrong with:

<xsl:template match="A=1">
<xsl:template match="A=1 and B=2">
<xsl:template match="A=1 and B=1">

with appropriate priorities?

Mike Kay

> -----Original Message-----
> From: zze-minitel2001 balr002
> [mailto:minitel2001.balr002@xxxxxxxxxxxxxxxxxxxxx]
> Sent: 05 July 1999 14:55
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: sets of rules
> 
> 
> Would it be possible to organize xsl rules with different criterion,
> particularly with variable discrimination (a little bit like a rule
> database, but I would like to code it directly in XSL).
>  
> Example:
>  
> I have two variables A and B that can take values 1 2 or 3.
>  
> Then some templates are valid only if A=1, others if A=1 and 
> B=2, others if
> A=1 and B=1. I would like a xsl:if that can take place outside a
> <xsl:template>.
>  
> Thanks.
> 
> --------------------------------------------------------------
> --------------
> --------
> Simon Bécot 
> Ingénieur développement Softeam - http://www.softeam.fr
> <http://www.softeam.fr/>  -
> - CNET Rennes - 
> mailto:simon.becot@xxxxxxxxxx <mailto:simon.becot@xxxxxxxxxx> 
> --------------------------------------------------------------
> --------------
> --------
> 
>  
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread