ePublisher Platform XSLT Extensions
bool Exists (string path)
 
Determine if file or directory 'path' exists.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
path
Full pathname of the file.
Returns:
True if it succeeds, false if it fails.
Determine if a file or directory exists at the given path.
<xsl:if test="wwfilesystem:Exists('C:\\exists')">
<xsl:variable name = "VarCreateDirectory" select="wwfilesystem:CreateDirectory('C:\\exists')" />
</xsl:if>