I have a list in sharepoint 2013 having columns as Url(type:URL),Title(Note).I want to display
Url in case it is present and if not then i want to display the Title in DataViewWebPart.So i want to check this condition in xslt.
Asked
Active
Viewed 977 times
1

Ankur
- 126
- 9
-
Could you actually show the XSLT you are currently using? Thanks! – Tim C Sep 27 '13 at 16:51
1 Answers
2
Have you tried XSL:IF:
<xsl:if test="@URL = ''"><div>I'm blank</div></xsl:if>
<xsl:if test="@URL != ''"><div>I'm not blank</div></xsl:if>

SkinnyE
- 198
- 1
- 9