Re: [xsl] Numbering 1st 2nd 3rd ...

Subject: Re: [xsl] Numbering 1st 2nd 3rd ...
From: pnorton@xxxxxxxxxxxxx
Date: Tue, 12 Sep 2006 20:53:48 +0000
The mod solution isn't quite complete (but get's you on the right track.)
Just watch out for 11, 12, 111, 112, etc.

Paul

> -----Original Message-----
> From: Spencer Tickner [mailto:spencertickner@xxxxxxxxx]
> Sent: Tuesday, September 12, 2006 08:45 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Numbering 1st 2nd 3rd ...
> 
> Hi David,
> 
> Thanks for the response. Unfortunately I'm stuck to xslt1 for this
> job. I'll take your advice on the mod though.
> 
> Cheers,
> 
> Spencer
> 
> On 9/12/06, David Carlisle <davidc@xxxxxxxxx> wrote:
> >
> > if you are using xslt2 just useordinal="yes" on xsl:numer.
> > in xslt1 you'd have to use an xsl:choose after getting the last digir
> > as (posiotion() mod 10)
> >
> > David

Current Thread