We have product manuals available for most of our products so I am trying to check if the file is present in product.SimpleVariant.xml.config and display a link if it is.
I am using:
<xsl:if test="aspdnsf:FileExists(concat('../images/manuals/', SKU, '.pdf') = 'true'" >
<a href="{concat('../images/manuals/', SKU, '.pdf')}">Manual Available</a>
</xsl:if>
That is giving me an error. What is wrong with the statement? Is FileExists available for use in XML?
Thanks,
Jason