I try to solve a very specific problem with MPS. I have a number of XML and other (text) files here. Some of them are quite large. The plan is to refactor these files into MPS generator templates. After they have been parameterized using a (to be developed) MPS language more of these files can be generated based on the templates, the language, and some additional input.
However, it seems next to impossible to import the files into a MPS textGen generator template. The only way to import something in an useful way is the "import as Java" option - but my files are not Java code. The other option is to type them into the editor. But we are talking about a lot of XML and text here!
What would you recommend? How can I get these files into MPS without actually retyping them manually?