Re: [xsl] axis specifier issue

Subject: Re: [xsl] axis specifier issue
From: a kusa <akusa8@xxxxxxxxx>
Date: Fri, 30 Oct 2009 10:41:31 -0500
What I want is that any <note> element that is below <desc> and before<prt2>
to be pushed under <prt2>.



On 10/29/09, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> 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