|
Subject: Re: [xsl] recursions? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 21 Jun 2001 17:52:18 +0100 |
Hi Dennis.... If you're producing text, on the other hand, then the easiest way to achieve the indentation is to pass down a 'indent' parameter from template to template....
<xsl:template match="group">
<xsl:for-each select="ancestor::group">
<xsl:text> </xsl:text>
</xsl:for-each>
<xsl:text>GROUP-LEVEL
<xsl:text>
<xsl:apply-templates/>
</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] recursions?, Jeni Tennison | Thread | Re: [xsl] recursions?, Jeni Tennison |
| [xsl] XSLT Problem (How to compare , Alex Genis | Date | [xsl] If condition, Earl Spencer |
| Month |