[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE:

Subject: RE:
From: shantanu <shantanu@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Jan 2001 12:11:37 +0530
 RE:
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.