|
Subject: [xsl] Re: Peculiar Problem in .xsl file From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Thu, 5 Dec 2002 23:23:11 -0800 (PST) |
----- 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Relying on the orser of e, Dimitre Novatchev | Thread | [xsl] Re: applying templates to all, Dimitre Novatchev |
| Re: [xsl] Peculiar Problem in .xsl , Mike Brown | Date | [xsl] Re: applying templates to all, Dimitre Novatchev |
| Month |