Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - XSL - editing returned values [Thread Next] Re: XSL - editing returned valuesTo: NULL Date: 4/9/2008 6:54:00 PM kieran5405 wrote: > However the values that are been returned now have a number followed > by a # sign at the start of the string i.e. 342#requiredFiles. > > I want to remove everything before the # sign and the # sign > itself...to only leave the string. > > However i have no experience of XSL and am hoping for some guidance or > tutorials... > > This is the XSL that returns the values - > <xsl:value-of select="@FileLeafRef" /> The string functions of XSLT and XPath 1.0 are defined here: <URL:http://www.w3.org/TR/xpath#section-String-Functions> You want <xsl:value-of select="substring-after(@FileLeafRef, '#')"/> -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
