<xsl:template name ="formatSecondaryResponsibilities">
<xsl:param name ="CollectionName"></xsl:param>
<xsl:param name ="FirstElement"></xsl:param>
<xsl:param name ="SecondElement"></xsl:param>
<xsl:param name ="ThirdElement"></xsl:param>
<xsl:param name ="FourthElement"></xsl:param>
<xsl:if test ="string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0 or string-length($ThirdElement)>0 or string-length($FourthElement)>0">
<xsl:choose>
<xsl:when test ="string-length($CollectionName)>0">
<xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0) and string-length($ThirdElement)>0 ">
<xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0 or string-length($ThirdElement)>0) and string-length($FourthElement)>0 ">