Re: [xsl] merging generic elements in a parent-child relationship

Subject: Re: [xsl] merging generic elements in a parent-child relationship
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 26 Jun 2002 09:39:30 +0100

> Note the idCountry attribute which makes the conditions
> @*[starts-with(name(.),'id') and (name() != 'id')] to fail.

yes well as I indicated it depended what the whole story was but an
alternative would be

Note the idCountry attribute which makes the conditions
@*[contains(concat(' ',name(),' '),$list)]
where $list is a space separated (and space at either end) list of id
names that you want to use.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread