This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: merging generic elements in a parent-child relationship



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]