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: chris <oneskiingfool@xxxxxxxxx>
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

Current Thread