RE: [xsl] variable as select for template

Subject: RE: [xsl] variable as select for template
From: Dmitri Ilyin <dmitri.ilyin@xxxxxxxxx>
Date: Thu, 20 Sep 2001 14:45:36 +0200

> -----Original Message-----
> From: Zwetselaar M. van (Marco)
> [mailto:Marco.van.Zwetselaar@xxxxxxxxxxxxx]
> Sent: Thursday, September 20, 2001 2:41 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: RE: [xsl] variable as select for template
> 
> 
> Mike Kay wrote:
> > [...] there is actually a simpler solution.
> > You can select these nodes as
> > select="component[@class=$comp_class and
> >     (($comp_id='' and not(@id)) 
> >     or ($comp_id!='' and $comp_id=@id))]"
> 
> Amen.
> We're not worthy ... we're not worthy ...
> 
> Regards,
> Marco

Fully agree....

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


Current Thread