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

On Wed, May 24, 2006 at 11:52:41AM +0100, Nic James Ferrier wrote:

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.

  and yes, sorry


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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