xsl-list
[Top] [All Lists]

RE: [xsl] Excel Column Number To Column Name (XSLT 2.0)

2009-05-17 15:23:06

Anybody already have this function?

1 - A
26 - Z
27 - AA
and so on - limited only by excell

   <xsl:number format="A" value="$n"/>
should do that I think.


Or something similar. I think excel's "and so on" is BB, CC, DD whereas
xsl:number's is likely to be AB, AC, AD

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>