Re: [xsl] How to express this complexe select pattern in apply-templates

Subject: Re: [xsl] How to express this complexe select pattern in apply-templates
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Sat, 22 Dec 2001 08:57:20 +0000
Hi Sun-fu,

> <xsl:apply-templates select="/rows/row[of which any one of child nodes
> name='param1' and value ='param2']"/>???  <== how to express this
> condition pattern?

I think that you want:

  /rows/row[*[name() = $param1 and . = $param2]]

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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


Current Thread