Re: [xsl] axis specifier issue

Subject: Re: [xsl] axis specifier issue
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 29 Oct 2009 23:29:14 GMT
You are ot giving us many clues as to what criterion you are trying to
encode which decides which notes to move, but note the
preeeeceding-sibling axis selcts all preceding siblings, perhaps you
just want the closest, so that's

preceding-sibling::*[1]
or, if you just want the closest sibling if it is a note,
preceding-sibling*[1][self::note]

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread