Re: ElementTree/DTD question

2005-03-16 Thread Fredrik Lundh
Greg Wilson wrote: > My first attempt was this XML file: > > -- > > > > ]> > > > > Write an introduction&ldots; > > > > > -- > > Running "python valida

ElementTree/DTD question

2005-03-15 Thread Greg Wilson
I'm trying to convert from minidom to ElementTree for handling XML, and am having trouble with entities in DTDs. My Python script looks like this: -- #!/usr/bin/env python import sys, os from elementtree import ElementTree for