[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Removing leading zeros
"Nischal Muthana" <nischal_muthana@xxxxxxxxx> wrote in message news:20030125024711.36950.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxx > Hi Wendell > > Thanks for your time. Your solution works perfect to > just remove all the zeros in the given string. > > The one you mentioned does the following > > 000125000 -- 125 > 0012300 -- 123 > 01234 -- 1234 Which XPath engine are you using? It must be extremely broken. The value of string(number(0012300)) is just 12300 ===== 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|