ePublisher Platform XSLT Extensions
 
void ReplaceAllInFile (string inputEncodingAsString, string inputFilePath, string outputEncodingAsString, string outputFilePath, object replacements)
 
Replaces strings in a text file with the specified input encoding and writes the result to the output path with the specified output encoding.
Note: Not a replacement for using page templates when possible.
Parameters:
inputEncodingAsString
The input encoding as string.
inputFilePath
Full pathname of the input file.
outputEncodingAsString
The output encoding as string.
outputFilePath
Full pathname of the output file.
replacements
The replacements in a node set.