I AM Creating one list with url and description . i want display items using content query webpart . i am selecting title and description in style , given the column names . but it display url like httpsgoogle ,goolge but i need to display google only not complete url path .

1 Answer 1


You should use:

<xsl:value-of select="substring-after(@Title,',')"/>

OR if value is stored in variable then use:

<xsl:value-of select="substring-after($YourVariable,',')"/>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.