xsl-list
[Top] [All Lists]

Re: Peculiar Problem in .xsl file

2002-12-06 00:23:11
----- Chandra wrote:

Hi Guys,
  I am trying to print out a html file with a date in words, given 
date in a xml file in number format
XSL file:
<xsl:variable name='month' select='substring ($date, 5, 2)'/>

Though this code could be a little bit more organised, it is correct
and produces the right result ('May' for $date 20020516) when run on
MSXML3/4, Saxon 6.5 and XalanJ 2.3 . 



=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list