skip to main content
Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » MultiSearchReplaceExtension » void ReplaceAllInFile (string inputEncodingAsString, string inputFilePath, string outputEncodingAsString, string outputFilePath, object replacements)
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.
Was this helpful?
Last modified date: 10/14/2020