ePublisher Platform XSLT Extensions
 
string GetWithExtensionReplaced (string path, string extension)
 
Replaces the current file extension with the provided one.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
path
Full pathname of the file.
extension
The extension.
Returns:
The with extension replaced.