xml colorizing

Discussion in 'Python' started by Maciej Dziardziel, May 5, 2004.

  1. 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?

    --
    Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
    www.fiedzia.prv.pl

    First rule of acting: Whatever happens, look as if it were intended.
    Maciej Dziardziel, May 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Slash
    Replies:
    2
    Views:
    4,999
    Roger Leigh
    Nov 11, 2003
  2. Marcus
    Replies:
    3
    Views:
    397
    Marcus
    May 3, 2005
  3. Erik Wasser
    Replies:
    5
    Views:
    445
    Peter J. Holzer
    Mar 5, 2006
  4. Replies:
    0
    Views:
    236
  5. Roy Smith
    Replies:
    4
    Views:
    292
    Chris Angelico
    Nov 18, 2012
Loading...

Share This Page