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]

Re: key definition




  that I would like to shorten up:

   select="key('MyKey',concat('1','alpha'))/parent::*">

well, '1alpha' is shorter than concat('1','alpha') but maybe in your
real cases it's not quite like that.

/.. is shorter than parent::* 

depending a bit om what your general case is like you may be able to put
the parent rather than the child in the key, so that you don't need to
go up at all.


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]