0

I want to know the meaning of this following XSLT Code shown below...

<xsl:choose>
<xsl:when test="(substring-before(substring-after(@Department,'=*&quot;&gt;'),'&lt;')) = 'IT-Infrastructure' ">

Thanks in advance..!!

1 Answer 1

0

It trims substrings from left and right side of string:

if(Department.TrimLeft("=*&quot;&gt;").TrimRight("&lt;").Equals("IT-Infrastructure"))
{
}

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.