This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: variable as select for template




> -----Original Message-----
> From: Zwetselaar M. van (Marco)
> [mailto:Marco.van.Zwetselaar@nl.fortis.com]
> Sent: Thursday, September 20, 2001 2:41 PM
> To: 'xsl-list@lists.mulberrytech.com'
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]