It is displaying the first row twice because you have asked it to.
Your logic is
for-each language that is the first of its @type
display the language
for each language of this @type
display the language
Just remove the code corresponding to the outer "display the language".
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Lorenzo De Tomasi
Sent: 23 February 2003 20:04
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] different first element in a list
on 23-02-2003 19:30, Michael Kay at
michael(_dot_)h(_dot_)kay(_at_)ntlworld(_dot_)com wrote:
Learn about how to do grouping at
http://www.jenitennison.com/xslt/grouping
I have looked it before sending the e-mail, but I have not
understood everything. Now I have changed both the xml and
xsl, I think it's right, but I don't understand why it
displays two times the first row...
The Xml is at <http://biografica.tzone.it/cv/eucv_eng_prova.xml>
The (wrong) Xslt I have tried is at
<http://biografica.itzone.it/cv/eucv_eng_prova> .xsl>
Thank
you very much.
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list