Re: [xml] correct way to output HTML without the <?xml...

Nic wrote:

I want to output it as well-formed HTML, preferably with the HTML4
transitonal DTD but no xml declaration, eg:

Daniel replied:

  It's possible, use the xmlsave.h APIs with the XML_SAVE_NO_DECL

No way to do it from Python though? 

Is it the case that the xmlsave stuff has come fairly recently and the
Python code has not been rejigged to use it?

It looks like the xmlsave API is slightly more generic than the stuff
the Python layer uses.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]