This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: merging generic elements in a parent-child relationship
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 26 Jun 2002 09:39:30 +0100
- Subject: Re: [xsl] merging generic elements in a parent-child relationship
- References: <BBEJKGIELKMFIMGJKDMNAEDDEHAA.woloski@sion.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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