ePublisher Platform XSLT Extensions
 
string AsFilePath (string uriAsString)
 
Converts an uriAsString to a file path.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
uriAsString
The URI as string.
Returns:
File path as string.
Convert URIs \network and file:///network/filesystem/file to file paths.
<xsl:variable name="VarFilePath1" select="wwuri:AsFilePath('\\\\network\\filesystem\\file')">

<xsl:variable name = "VarFilePath2" select="wwuri:AsFilePath('file:///network/filesystem/file')">