Write into additional target files

Top  Previous  Next

How to ... > Write into additional target files

 

In principle, the TextTransformer is orientated at the model, that a source file is transformed into a destination file. No more files can be opened for writing at the same time in the TextTransformer interpreter. If you have to write more than one target file - e.g. a second file with logging information - you have to redirect the output and finally to reset it to the original file.

 

{{

RedirectOutput(append_path(TargetRoot(), xsPfad));

out << sLoginfo << endl;

ResetOutput();

}}

 

 



This page belongs to the TextTransformer Documentation

Home  Content  German