I like Eclipse's HTML formatter. It is the best formatter I have seen and I want to use it programmatically. Is it possible? And how?
Thank you greg-449, but your advice is too difficult for me.
I have an lxml based XHTML-to-XHTML converter. I am using it mainly from PyDev. Its output is not so much human-readable and that is not what I want.
I know several ways to format XHTML. And I like Eclipse's formatter the best.
SourceViewerobject.