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

Controlling number of occurrences

Subject: Controlling number of occurrences
From: "Jennifer Hochgesang" <jenniferh@xxxxxxxxxxxxxx>
Date: Thu, 9 Aug 2001 13:55:13 -0500
controlling number
 Is it possible (using xsl) to limit any repeat occurences of exact strings
of text to one, so that I could use the following template to output a page
that shows all *scripts and filenames* for a particular character. Right
now, obviously, the character data is repeated. The XML I am pulling data
from is a merged file of all of the XMLs for a particular project.
Thank you,

Jennifer



<xsl:for-each select="//audio">

<xsl:sort select="character" order="ascending" data-type="text"/>

<tr>

<td align="center" valign="top" colspan="2"><xsl:apply-templates
select="character"/></td>

</tr>

<tr>

<td align="left" valign="top" width="150"><xsl:apply-templates
select="@filename"/></td>

<td align="left" valign="top" width="450"><xsl:apply-templates
select="script"/></td>

</tr>

</xsl:for-each>

</table>

</xsl:for-each>



 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.