I have created a custom web part that displays information from a list of applications. I have created a sepearte document library that contains a folder for each application. I created a 'View Documentation' link that will link to the correct folder for the application. However I would like this link only to display when the folder contains a document. Although my link works, the count function does not. Please help
<xsl:when test=" count(../{@DocumentLibrary}/{@Application}/) != 0">
<td>
<b>View <a href="../{@DocumentLibrary}/{@Application}/">Documentation</a></b>
</td>
</xsl:when>