This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to express this complexe select pattern in apply-templates
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: "E100 SFYang" <SFYang at unisvr dot net dot tw>
- Cc: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 22 Dec 2001 08:57:20 +0000
- Subject: Re: [xsl] How to express this complexe select pattern in apply-templates
- Organization: Jeni Tennison Consulting Ltd
- References: <B71749B28A5E5C46BF8656EF567A11C70FB058@netbe06.net.unimis>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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