M
Maciej Dziardziel
For debugging purpose i need to colorize xml output (possibly not
well-formed), so i want split it into tokens (like comment, tag attribute
and so on). Sax, xmlproc and expat - they all do (more or less) some
validation, mixed wth lexical analysis in their code. I have found this:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65125
but looking for an alternative. Can anybody recommend me someting?
well-formed), so i want split it into tokens (like comment, tag attribute
and so on). Sax, xmlproc and expat - they all do (more or less) some
validation, mixed wth lexical analysis in their code. I have found this:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65125
but looking for an alternative. Can anybody recommend me someting?