|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: duplicate problem..
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








