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

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

Thanks in advance..!!

1 Answer 1


It trims substrings from left and right side of string:


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.