Subject: [xsl] Numbering 1st 2nd 3rd ... From: "Spencer Tickner" <spencertickner@xxxxxxxxx> Date: Tue, 12 Sep 2006 12:30:31 -0800 |
Thanks in advance for the help. I'm wondering if there's an elegant way to format position() like: 1st 2nd 3rd and so on. I've looked through google for a format that works with xsl:number, but haven't been able to find anything. I know I could always do a long <xsl:choose> statement, but it feels wrong. Anyway here's some samples
<root> <num>foo</num> <num>bar</num> </root>
<root> <num>1st</num> <num>2nd</num> </root>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Bob's Project Wrap-Up, Bob Portnell | Thread | Re: [xsl] Numbering 1st 2nd 3rd ..., David Carlisle |
[xsl] Bob's Project Wrap-Up, Bob Portnell | Date | Re: [xsl] Numbering 1st 2nd 3rd ..., David Carlisle |
Month |