skip to main content
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 (i.e. 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')">
Was this helpful?
Last modified date: 10/14/2020