[xsl] RE:

Subject: [xsl] RE:
From: shantanu <shantanu@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Jan 2001 12:11:37 +0530

In xsl when you are doing 
<xsl:for-each select="row">
//first stroe value of ROLE_ID in a variable then check that variable's
value against whatevr comes from for-each loop,if they are same don't do
<xsl:value-of select="ROLE_ID"/>
//you can put xsl:choose and xsl:when clause
i hope its clear.
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of manisha
Sent: Wednesday, January 17, 2001 7:21 AM
To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'

I want to supress the repetion of the attribute of a node(role_id)
i.e I want the o/p like this:

Role_Id		Role_Name

R01		1.Software engg.
-----		2.Project Leader.(* I dont want R01 to be repeated)
R02		--------
R03		---------

I am converting the following XML file through XSLT.
	<ROLE_ID value="R01"/>
    	<ROLE_NAME value="Software Engg"/>
	<ROLE_ID value="R01"/>
    	<ROLE_NAME value="Project Leader"/>
	<ROLE_ID value="R02"/>
    	<ROLE_NAME value="Project Manager"/>
	<ROLE_ID value="R03"/>
   	 <ROLE_NAME value="Project Co-ordinator"/>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread