SharePoint - how to trim the url path field in data view webpart using designer or xsl editor

Asked By kashish sinha on 25-Jun-12 05:24 AM

i have the path to document as follows knowledgemanagement\processlibrary\CM\Procedures\test.docx

I have created a data view webpart for providing process library report  in designer and added the field url path to obtain the url and hyperlink to the document.

The scenario is knowledgemanagement and process library remains the same for all documents so i just need the path from the folder CM which would change. Is there any workaround like using substring or so.

Asked By kashish sinha on 25-Jun-12 09:00 AM
thanx a ton it worked :)