Re: [xsl] How to select either ElementA -OR- ElementB in an axis

Subject: Re: [xsl] How to select either ElementA -OR- ElementB in an axis
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Wed, 15 Jun 2005 19:42:21 +0000
chris, uhh, sorry, I wasn't paying enough attention. Luckily this list has an auto-correction feature built in ... as you've learned by now.

--A

From: chris <oneskiingfool@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] How to select either ElementA -OR- ElementB in an axis
Date: Wed, 15 Jun 2005 13:20:39 -0600

Thanks for the response.  Are you sure that's correct or am I goofing
it up somehow?  Using Saxon 8.4, I get an error trying to use your
solution...

"Unexpected token "(" after axis name"

On 6/15/05, Aron Bock <aronbock@xxxxxxxxxxx> wrote:
> <xsl:variable name="myvar" select="ancestor::(ElementA |
> ElementB)[1]/foo/bar"/>
>
> --A

_________________________________________________________________
Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


Current Thread