|
Subject: Re: [xsl] sort | uniq via keys From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 14 Feb 2002 13:38:18 -0500 |
<xsl:key name="features" match="*" use="name()"/>
<xsl:template match="/db">
<xsl:for-each select="following::*[count (. | key('features', name())[1]) = 1]">
<xsl:sort select="name()" />
<xsl:value-of select="name()" /><xsl:text>
</xsl:text>
</xsl:for-each>
</xsl:template>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] sort | uniq via keys, Thomas B. Passin | Thread | Re: [xsl] sort | uniq via keys, Saverio Perugini |
| [xsl] trouble re-rendering XHTML us, Bruce Kimpel | Date | RE: [xsl] match on attribute anywhe, Wendell Piez |
| Month |