string AsURI (string filePathAsString)
 
Converts a filePathAsString to a URI.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
filePathAsString
The file path as string.
Returns:
URI as string.
Convert file paths (i.e. C:\file) to URI strings (i.e. file:///C:/file).
<xsl:variable name="VarURI" select="wwuri:AsURI('C:\\file')">
Was this helpful?
Last modified date: 10/14/2020