to the main page about the tutorial  THE XML REVOLUTION  -  TECHNOLOGIES FOR THE FUTURE WEB back up next

Numbering

- for automatic numbering of sections, item lists, footnotes, etc.

<xsl:number value="expression" converted to number
format="..."

(as ol in HTML, default: "1. ")

level="..." any/single/multiple
count="..." select what to count
from="..."

select where to start counting

lang="..."
letter-value="..."
grouping-separator="..."
grouping-size="..."/>

Example:
<xsl:template match="footnote">
  (<xsl:number level="any" count="footnote" from="chapter" format="1"/>)
</xsl:template>

back COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH next