|
Subject: Re: [xsl] Generically Finding Parent Elements From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 06 May 2008 16:52:10 -0400 |
<xsl:template match="*">
<xsl:param name="this-ilk" select="."/>
<xsl:text>
</xsl:text>
<xsl:for-each select="ancestor::*">
<xsl:text> </xsl:text>
</xsl:for-each>
<xsl:value-of select="name()"/>
<xsl:for-each-group select="$this-ilk/*" group-by="name()">
<xsl:apply-templates select=".">
<xsl:with-param name="this-ilk" select="current-group()"/>
</xsl:apply-templates>
</xsl:for-each-group>
</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] Generically Finding Paren, Darcy Parker | Thread | RE: [xsl] Generically Finding Paren, Michael Kay |
| Re: [xsl] function-available return, Manfred Staudinger | Date | Re: [xsl] (FO) Baseline alignment i, Deborah Pickett |
| Month |