public static void ProcessXsltForPass(string sXsltFile, string sOutputFile, int iPass)
{
string sIntermediateFile = RenameOutputToPassN(sOutputFile, iPass);
XslCompiledTransform xsl = new XslCompiledTransform();
xsl.Load(sXsltFile);
xsl.Transform(sIntermediateFile, sOutputFile);
// Deleting them deals with LT-6345,
// which asked that they be put in the temp folder.
// But moving them to the temp directory is better for debugging errors.
FileUtils.MoveFileToTempDirectory(sIntermediateFile, "FieldWorks-Export");
}