help with (x)html / xml encoding...

Martin v. Löwis martin at v.loewis.de
Thu Mar 20 18:04:59 EST 2003


"lt" <glt2010pas.de.spam at yahoo.fr> writes:

> do you think that is enough ? how should you do it ?

That should be enough, for all practical purposes. In theory, you can
have
- additional whitespace, e.g. 
  encoding = "xxxencoding"
- different types of quotes
- linebreaks
- different orders of elements of the XML header (e.g. encoding
  first, then version)

etc. However, those are unlikely to occur in real documents.

Regards,
Martin




More information about the Python-list mailing list