[Home] [By Thread] [By Date] [Recent Entries]
Paul Tomsic wrote:
^^
This is not legal XPath syntax, you should have gotten an
error message. The ./ is redundant too. Try
<xsl:variable name="unique-chapter-name-list"
select="//Chapter_group/Chapter[not(@name =
following::Chapter/@name)]"/>Depending on your source and context, the following might
perform better (no // in front of the Cahpter_Group, and
using following-sibling):
<xsl:variable name="unique-chapter-name-list"
select="Chapter_group/Chapter[not(@name =
following-sibling::Chapter/@name)]"/>J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



