xsl-list
[Top] [All Lists]

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

2005-06-15 12:20:39
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


--~------------------------------------------------------------------
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>
--~--