Subject: Re: [xsl] How to convert day-of-month with xslt 2.0 From: Manfred Staudinger <manfred.staudinger@xxxxxxxxx> Date: Tue, 23 Aug 2005 20:58:14 +0200 |
> if (number(input)) then format-number(translate(input,'()',''),'00') else '00' > > which is more readable, perhaps. The test I think should read if (number(translate(input,'()',''))) and the format-number() needs a number for the first argument, but gets a string from translate(). Best regards, Manfred
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to convert day-of-mon, andrew welch | Thread | [xsl] Job - BBC World Service, Deborah Cawkwell |
Re: [xsl] How to get UTC displayed , Mukul Gandhi | Date | Re: [xsl] XPath 1.0 id() function, J.Pietschmann |
Month |