Avatar of tia_kamakshi
tia_kamakshiFlag for United Arab Emirates

asked on 

Trimming characters in xslt

Hi,

My xslt is displaying value from code
<xsl:value-of select="summary" disable-output-escaping="yes" />

I wanted if text is more than 130 character then after 124 character all character should be trimmed and should be replaced my 3 dots (...)

"truid today announced some great deals for families looking for a fantastic value break this summer, including kids go free..."

I am rendering XSLT and XML from .net2.0 using c#

Please advice

Regards,
XML

Avatar of undefined
Last Comment
Gertone (Geert Bormans)
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of tia_kamakshi
tia_kamakshi
Flag of United Arab Emirates image

ASKER

Many Thanks Gertone
welcome
XML
XML

Extensible Markup Language (XML) refers to the encoding of documents such that they can be read by both machines and humans. XML documents use tags to show the beginning and end of a set of data. XML is used extensively on websites to show volumes of data, and is the default for a number of office productivity suites. This topic includes discussions of XML-related technologies, such as XQuery (the XML Query language), XPath (the XML Path language), XSLT (eXtensible Stylesheet Language Transformations), XLink (the XML Linking language) and XPointer (the XML Pointer language).

22K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo