Re: minidom and DTD

2005-05-23 Thread Laszlo Zsolt Nagy
Martin v. Löwis wrote: >Laszlo Zsolt Nagy wrote: > > >>How can I put the >> >> >> >>thing into an XML created by xml.dom.minidom? >> >> > >You should put a DocumentType node into your >DocumentNode, and pass a qualifiedName of >"collection" and a systemId of "recipes.dtd" >to the createDocum

Re: minidom and DTD

2005-05-23 Thread "Martin v. Löwis"
Laszlo Zsolt Nagy wrote: > How can I put the > > > > thing into an XML created by xml.dom.minidom? You should put a DocumentType node into your DocumentNode, and pass a qualifiedName of "collection" and a systemId of "recipes.dtd" to the createDocumentType call. Regards, Martin -- http://mail

minidom and DTD

2005-05-23 Thread Laszlo Zsolt Nagy
Hi All, How can I put the thing into an XML created by xml.dom.minidom? Of course I can parse the generated XML file and insert the DOCTYPE string but there must be a standard way to do this... Best, Laci 2.0 -- http://mail.python.org/mailman/listinfo/python-list