Hi,
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.
bye..
-----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'
Subject:
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.
<rowset>
<row>
<ROLE_ID value="R01"/>
<ROLE_NAME value="Software Engg"/>
</row>
<row>
<ROLE_ID value="R01"/>
<ROLE_NAME value="Project Leader"/>
</row>
<row>
<ROLE_ID value="R02"/>
<ROLE_NAME value="Project Manager"/>
</row>
<row>
<ROLE_ID value="R03"/>
<ROLE_NAME value="Project Co-ordinator"/>
</row>
</rowset>
Manisha.
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 |
- RE:
- shantanu - Thu, 18 Jan 2001 01:39:15 -0500 (EST) <=
|
|