Documentation
ENUM
usage
<GET>
<ENUM>
<START>number/letter</START>
<END>number/letter</END>
[<STEP>number</STEP>]
</ENUM>
</GET>
paramètres
START: the start of the enumeration
END: the end of the enumeration
STEP: the step of the enumeration (the interval between two elements)
retourne
A list of numbers or letters from start to end.
This command is very useful when working with XSL 1.0, where enumerations of numbers are not easy to handle (needs a recursive template).
It can also be used to compose an alphabetical index.
exemples
<GET>
<ENUM>
<START>1</START>
<END>31</END>
</ENUM>
</GET>
<GET>
<ENUM>
<START>1</START>
<END>36</END>
<STEP>6</STEP>
</ENUM>
</GET>
<GET>
<ENUM>
<START>A</START>
<END>Z</END>
</ENUM>
</GET>
<GET>
<ENUM>
<START>a</START>
<END>z</END>
<STEP>2</STEP>
</ENUM>
</GET>