Subject: RE: XPath location problem
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 30 Aug 2006 13:45:40 +0100
|
> I want to perform this operation: If there is more than one
> "name language='English'" in "species", then create a
> temporary node set with the "name" elements following and
> including the second "language='English'".
<xsl:variable name="cry-wolf"
select="*[@language='English'][2] |
*[@language='English'][2]/following-sibling::*"/>
But I expect you'll change the requirement to make it more general...
Michael Kay
http://www.saxonica.com/
|