Subject: Is it possible to select only nodes with distinct element?
From: "Denis Kranjcec" <denis.kranjcec@xxxxxxxxxx>
Date: Fri, 23 Mar 2001 12:12:05 +0100
|
Hi
I need to select only distinct nodes, something like SELECT DISTINCT in SQL.
By distinct I mean that one element of node is distinct.
example:
xml
<a>
<b>1</b>
</a>
<a>
<b>1</b>
</a>
<a>
<b>2</b>
</a>
xsl should select and transform only
<a>
<b>1</b>
</a>
<a>
<b>2</b>
</a>
and in output I should have only one copy of
<a>
<b>1</b>
</a>
Is that possible or I should change xml?
Thanks in advance
Denis Kranjcec
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|