Use case: I often have to deal with bad input data from my managers - malformed XML, CSV or other text files. I have to maually edit them into a usable format, which I normally do using a combination of Notepad++ and, in the more complex cases, Python.
What I'd like the most would be a Notepad++ plugin, which would allow me to manipulate the text in Python, taking care of the boilerplate surrounding it.
The plugin could, for example, load the text of the currently opened document into a file-like object ready for manipulation, and provide a second file-like object to write output to. The output would then be displayed in a different tab in NP++.
Is there any such tool? [How do I find it/what should I be looking for? I don't insist on using Notepad++ or Python.] Or should I approach the problem from some completely different angle?
Edit - clarification: I'm not looking for XML-, CSV- or any other format-specific tool or approach. I'm just asking about text processing in general. (Thanks to everone who tried, though.)