xsl-list
[Top] [All Lists]

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

2005-06-15 12:42:21
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(_at_)gmail(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)hotmail(_dot_)com> wrote:
> <xsl:variable name="myvar" select="ancestor::(ElementA |
> ElementB)[1]/foo/bar"/>
>
> --A

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--