Numbers generation and formatting

[Example 19] <C>

This stylesheet demonstrates the default behaviour of xsl:number element. Numbering of individual chapter elements depends on position of the chapter element. Each level of chapters is numbered independently. Setting the attribute level into multiple in This stylesheet enables more natural numbering.

[Example 18] <C>

xsl:number inserts formated numbers into output. The format is given with format attribute. The attribute starts with format identificator followed by separator characters. Study individual stylesheets to compare notation.

[Example 21] <C>

This stylesheet and This stylesheet are examples of formatting of multilevel numbers.