Hi List,
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
XML
<root>
<num>foo</num>
<num>bar</num>
</root>
Output
<root>
<num>1st</num>
<num>2nd</num>
</root>
Cheers,
Spencer
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--