Subject: Re: [xsl] position() in templates From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 08 Feb 2002 12:22:24 -0500 |
<xsl:template match="*">
<xsl:variable name="last" select="substring(last-modified,1,8)"/>
<xsl:if test="not(preceding-sibling::item[substring(last-modified,1,8)=$last])">
<tr><td>
jian<b><xsl:value-of select="substring(last-modified,1,8)"/>@@@<xsl:value-of select="last-modified"/></b>
</td></tr>
<xsl:apply-templates select="/items/item/last-modified" mode="a">
<xsl:with-param name="inner" select="$last"/>
<xsl:sort select="."/>
</xsl:apply-templates>
</xsl:if>
</xsl:template>
Good luck, 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 -> |
---|---|---|
[xsl] position() in templates, Ilyasov Jienbay | Thread | RE: [xsl] (consistency in select re, Edward . Middleton |
[xsl] problem with keeps in xsl-fo, Bryan Rasmussen | Date | RE: [xsl] Java memory overload with, naha |
Month |