libxml2dom

tests/prettyprint.py

335:ffaf027ed471
2008-08-28 Paul Boddie Improved error reporting, adding messages for non-validation errors.
     1 #!/usr/bin/env python     2      3 import libxml2dom     4 from xml.dom.ext import PrettyPrint     5 import sys     6      7 d = libxml2dom.parse(sys.argv[1])     8 PrettyPrint(d)     9     10 # vim: tabstop=4 expandtab shiftwidth=4