This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Is it possible to select only nodes with distinct element?
- To: "Xsl-List" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Is it possible to select only nodes with distinct element?
- From: "Denis Kranjcec" <denis dot kranjcec at zpm dot fer dot hr>
- Date: Fri, 23 Mar 2001 12:12:05 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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