Re: XML DTD analysis, diffing ...

2007-04-03 Thread olive
Thank you Stephane, it is almost what I want. I'm going to improve it a little and then provide the code back. Where is the best place ? Olive. -- http://mail.python.org/mailman/listinfo/python-list

Re: XML DTD analysis, diffing ...

2007-04-03 Thread Stéphane Muller
olive a écrit : > Hi, > > I have a bunch of similar DTDs written by different coders. > > I would like to normalize, sort elements and attributes by name and > compare those files. > > Do you know any XML DTD parser/normalizer written in Python ? Yes, you can try http://c.python.free.fr/dtdnorm

Re: XML DTD analysis, diffing ...

2007-04-03 Thread olive
Thanks Paul and Mike, I've found the good link and just downloaded pyXML. Olive. -- http://mail.python.org/mailman/listinfo/python-list

Re: XML DTD analysis, diffing ...

2007-04-03 Thread kyosohma
On Apr 3, 8:52 am, "olive" <[EMAIL PROTECTED]> wrote: > Mike, > > I know all of these tools and I already suspected xmlproc as a good > candidate. > > The problem is I can't download it for the moment since Lars website > is blocked here at my work and PyXML is dead. > > Maybe there is an alternati

Re: XML DTD analysis, diffing ...

2007-04-03 Thread Paul Boddie
On 3 Apr, 15:52, "olive" <[EMAIL PROTECTED]> wrote: > > I know all of these tools and I already suspected xmlproc as a good > candidate. > > The problem is I can't download it for the moment since Lars website > is blocked here at my work and PyXML is dead. > > Maybe there is an alternative downloa

Re: XML DTD analysis, diffing ...

2007-04-03 Thread olive
Mike, I know all of these tools and I already suspected xmlproc as a good candidate. The problem is I can't download it for the moment since Lars website is blocked here at my work and PyXML is dead. Maybe there is an alternative download link ? Thank you for the Cookbook recipe anyway. Olivie

Re: XML DTD analysis, diffing ...

2007-04-03 Thread kyosohma
On Apr 3, 7:38 am, "olive" <[EMAIL PROTECTED]> wrote: > Hi, > > I have a bunch of similar DTDs written by different coders. > > I would like to normalize, sort elements and attributes by name and > compare those files. > > Do you know any XML DTD parser/normalizer written in Python ? > > If not, ho

XML DTD analysis, diffing ...

2007-04-03 Thread olive
Hi, I have a bunch of similar DTDs written by different coders. I would like to normalize, sort elements and attributes by name and compare those files. Do you know any XML DTD parser/normalizer written in Python ? If not, how would you perform that task in Python language ? Please, Olive. -