[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[2.7.8] : Numbering in the Source Tree

Subject: [2.7.8] : Numbering in the Source Tree
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxx>
Date: Wed, 09 Sep 1998 20:26:37 -0400
[2.7.8] : Numbering in the Source Tree
(1) The example in 2.7.8 counts "chapter|section|subsection", yet the
format is only "1.1." ... should the format rather be "1.1.1."?  If so,
would the incorrect version used in the example generate an error
(unmatched level counters), or would the subsection titles all be numbered
with the section numbers (thus losing the distinction of subsection in the
rendered result)?

(2) Later in the examples in 2.7.8, would the given snippet:

<xsl:template match="H4">
<fo:block>
   <xsl:number level="any" from="H1" count="H2"/>
   <xsl:text>.</xsl:text>
   <xsl:number level="any" from="H2" count="H3"/>
   <xsl:text>.</xsl:text>
   <xsl:number level="any" from="H3" count="H4"/>
   <xsl:text> </xsl:text>
   <xsl:process-children/>
</fo:block>
</xsl:template>

be equivalent to: 

<xsl:template match="H4">
  <fo:block>
     <xsl:number level="multi"
                 count="H1|H2|H3"
                 format="1.1.1. "/>
     <xsl:process-children/>
  </fo:block>
</xsl:template>

?

....... Ken

--
G. Ken Holman               mailto:gkholman@xxxxxxxxxxxxxx
Crane Softwrights Ltd.  http://www.CraneSoftwrights.com/s/
Box 266,                                V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0            F: +1(613)489-0995
Training:   http://www.CraneSoftwrights.com/s/schedule.htm
Resources: http://www.CraneSoftwrights.com/s/resources.htm
Shareware: http://www.CraneSoftwrights.com/s/shareware.htm


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.