Replaces the extension of the file path supplied by the filepath parameter with the one supplied by the connection to the extension parameter.
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Mandatory argument. Supplies the file path to be processed.
Mandatory argument. Supplies the new extension to use.
If you supply "c:\data\Sample.log" as filepath, and ".txt" as extension, the result is c:\data\Sample.txt.