MultiSearchReplace

Purpose:
Replace multiple strings in a single operation.
Namespace:
urn:WebWorks-XSLT-Extension-MultiSearchReplace
Prefix:
wwmultisere
Methods:
ReplaceAllInFile(string inputEncodingAsString, string inputFilePath, string outputFilePath, node-set 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.

[Comments from David Shaked] 1. What gets replaced with what? What is the syntax of the "node-set replacements" parameter? 2. By experiment, I discovered that the inputEncodingAsString seems to determine the output encoding, too. Is that correct? 3. I need an example showing the XSL code, sample input, and sample output of the method.

Note

Not recommended for XML files. Use page templates instead.

Returns:
Nothing.
Example:
xx
ReplaceAllInString(string input, node-set replacements):

Replaces strings in the given string and returns the result.

Returns:
String.
Example:
xx

DevCenter/Documentation/ExtensionObjects/ePublisher/MultiSearchReplace (last edited 2010-08-23 19:05:17 by BenAllums)