|
Subject: Re: [xsl] Numbering quandry From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 12 Apr 2001 17:40:03 +0100 |
That's because when you say
<xsl:text>Section </xsl:text>
<xsl:value-of select="@title"/>
<xsl:text> (</xsl:text>
<xsl:number level="multiple" count="section" format="1.1.0"/>
<xsl:text>, parent </xsl:text>
<xsl:number level="multiple" count="section/section" format="1.1.0"/>
<xsl:text>)</xsl:text> <xsl:text>Section </xsl:text>
<xsl:value-of select="@title"/>
<xsl:text> (</xsl:text>
<xsl:number level="multiple" count="section" format="1.1.0"/>
<xsl:text>, parent </xsl:text>
<xsl:for-each select="..">
<xsl:number level="multiple" count="section/section" format="1.1.0"/>
</xsl:for-each>
<xsl:text>)</xsl:text>Good luck, Wendell
Hello all,
I have numbering difficulty. I'm trying to number sections hierarchically, and also to include the number of their parent section, if they have any, or their own number if they are a top-level section. This is what I have: ...
====================================================================== 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] RE: how XSL processor tre, Clapham, Paul | Thread | [xsl] Numbering quandry, Blake, Stephen |
| RE: [xsl] XSL selection of apply te, Michael Kay | Date | Re: Co-ordinating XSLT/XPath and XM, Francis Norton |
| Month |