[Home] [By Thread] [By Date] [Recent Entries]
Hi Spencer,
I just had a peek in Michael Key's excellent reference (XSLT 2.0 Programmer's Reference 3rd Ed., Wrox Press). It says, literally (quote): "New options have been added in XSLT 2.0 for formatting numbers as words (so you can output +Chapter Three;) and as ordinal numbers (so you can output +Fit the First; or +3rd Act;)". This implies using XSLT 2.0 for doing so (but you didn't specify if you use 2.0 or 1.0). The right syntax would become something like: <xsl:number format="1" ordinal="yes" /> and produces output as such: 1st, 2nd, 3rd, 4th, 5th etc. I am not sure how well the implementation is of this part, I haven't tried it myself. Hope this helps, Cheers, Abel Braaksma http://abelleba.metacarpus.com Spencer Tickner wrote: Hi List,
|

Cart



