in XSL (this is an ASP list)... <xsl:value-of select="substring(./NOTESTEXT, 1, 20)"/>
Dan www.diado.com -----Original Message----- From: neeraj gupta [mailto:[EMAIL PROTECTED] Sent: 08 September 2004 09:06 To: [EMAIL PROTECTED] Subject: [AspClassicAnyQuestionIsOk] please help � Can it be done using XSL can anyone tell me that if I am getting a value from database which is something like this here's what I am using. A Dummy data in xml. i want it output to be a certain number of characters an then ... here's what I .... but the value should not change in in database it is only to be changed at the front end suppose i am displaying the data in the following format (code given) <tr> <td align="justify" width="30%" class="clsTableItem1"> <xsl:value-of select="./NOTESTEXT" /> </td> </tr> NOTESTEXT is field in database from where the values are coming and i need to cut them short with "..." characters Dan Powderhill <[EMAIL PROTECTED]> wrote:Say you wanted to output the left 20 characters and then the "..." you'd do the following :- myString = "here's what I am using. A Dummy data in xml." response.write left(myString, 20) & "..." That won't change any data in the database as you're not performing and update SQL statement or using the update method of a recordset. Dan www.diado.com -----Original Message----- From: neeraj gupta [mailto:[EMAIL PROTECTED] Sent: 08 September 2004 06:48 To: [EMAIL PROTECTED] Subject: [AspClassicAnyQuestionIsOk] please help can anyone tell me that if I am getting a value from database which is something like this here's what I am using. A Dummy data in xml. i want it output to be a certain number of characters an then ... here's what I .... but the value should not change in in database it is only to be changed at the front end ����������� --------------------------------- Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ADVERTISEMENT Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ � To unsubscribe from this group, send an email to: [EMAIL PROTECTED] � Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ � To unsubscribe from this group, send an email to: [EMAIL PROTECTED] � Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
