xsl-list
[Top] [All Lists]

Re: [xsl] Matching elements with specific multiple parents

2011-04-01 17:43:35
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--