string FromFile (string sourceFilePath, string sourceFileEncodingName)
Import file contents using 'sourceFileEncodingName' as the file's assumed encoding.
Parameters:
sourceFilePath | Full pathname of the source file. |
sourceFileEncodingName | Name of the source file encoding. |
Returns:
A string.
Import the contents of file: 'C:.txt' which was encoded using UTF-8.
<xsl:value-of select="wwstring:FromFile('C:\myfile.txt', 'UTF-8')" />
Last modified date: 10/14/2020