expat and entity references

C. Laurence Gonsalves clgonsal at alumni.uwaterloo.invalid
Sun Apr 28 20:58:15 EDT 2002


I'm working on an Python application that uses xml.parsers.expat to
parse XML files.  These XML files are generally hand-written. I'd like
to be able support more than just amp, lt, gt, apos and quot.

What's the best way to do this without requiring that every XML file
contain a huge header declaring all of the entities I want to support? 

-- 
  C. Laurence Gonsalves
  clgonsal at alumni.uwaterloo.invalid
  -1 s/invalid$/ca



More information about the Python-list mailing list