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]
Other format: [Raw text]

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


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


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