[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How can repitition be avoided in XSL
You probably need unique parameter Names.
try the following code: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> Parameters are : <br/> <xsl:for-each select="/Parent/Class/Parameter[not(Name = preceding::Parameter/Name)]"> <xsl:value-of select="Name"/><br/> </xsl:for-each> </xsl:template> </xsl:stylesheet> HTH Vasu From: "Raghava Rao" <call_raghava@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: How can repitition be avoided in XSL Date: Tue, 15 Oct 2002 19:25:51 +0000 _________________________________________________________________ Unlimited Internet access -- and 2 months free!? Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|