Subject:Question XPath expression (distinct function) Author:Bas Retera Date:29 Apr 2008 07:32 AM Originally Posted: 29 Apr 2008 06:35 AM
Within my XSL I have to loop through all child elements of a node. That's no problem with xsl:for-each select="*". But I have to exclude some nodes. Some child nodes appear more than 1 times and I only want the first one. In my example you see two bankaccounts and two telephone numbers. I only want to get back the first one of them and all of the rest. A kind of distinct function.