Re: [xsl] Matching elements with specific multiple parents

Subject: Re: [xsl] Matching elements with specific multiple parents
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 01 Apr 2011 23:43:23 +0100
On 01/04/2011 22:38, David Lee wrote:
<xsl:template match="child[node-name(..) = ( QName((),'foo') ,
QName((),'bar') )]">

child[parent::foo or parent::bar]


perhaps or

*[self::foo or self::bar]/child

or

...

David

Current Thread