final File propsFile = layout.getProfilePropertiesFile(profileName);
final List<File> styleSheets = getStyleSheetList(profileFolder, propsFile, propName);
final Properties p = new Properties();
p.setProperty(OutputKeys.DOCTYPE_PUBLIC, ServerValidationHandler.SERVER_DTD_PUBLIC_ID);
p.setProperty(OutputKeys.DOCTYPE_SYSTEM, ServerValidationHandler.SERVER_DTD_SYSTEM_ID);
final EntityResolver er = new ServerValidationHandler();
final ProfileTransformer px = new ProfileTransformer(base, styleSheets, destDir, er, p);
final File transformed = px.transform();
return ( transformed );
}