문제

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.

도움이 되었습니까?

해결책

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>

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top