[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Conversion of int to string
Reema, Something like xml <test> <a>1</a> </test> xslt <xsl:variable name="ascii"> !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW XYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:template match="a"> <xsl:value-of select="substring($ascii, ., 1)" /> </xsl:template> Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > ReemaD@xxxxxxxxxxx > Sent: 23 October 2001 13:37 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: Conversion of int to string > > > Hi All, > I am working on XML and transforming it using XSLT. I > wanted to convert an Integer to a string. I have the ascii > value with me and i want it's character equivalent. Is there > any way to do this using XSL only?? I cannot use any other > programming language and i'm parsing through IE (msxml). > > Please help me out. > > Thanks in advance, > Reema Duggal > Software Engineer ( Software ) > Technology Division > RMSI > A-7 Sector - 16 > Noida-201 301 India > Tel : (91)-118-451-1102-2268 > Fax: (91)-118-451-1109, 0963 > E-mail: reemad@xxxxxxxxxxx > web : www.rmsinet.com > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > 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
|