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>
how to check empty url coming in xslt
-
29-06-2022 - |
Question
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.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow