Mercurial > genshi > genshi-test
diff doc/streams.txt @ 729:1447d40df660
* Add XHTML 1.1 doctype (closes #228).
* Add option to include the XML decl in the output when serializing to XHTML.
author | cmlenz |
---|---|
date | Sat, 31 May 2008 20:48:43 +0000 |
parents | ca7d707d51b0 |
children | f9544a7cc57a |
line wrap: on
line diff
--- a/doc/streams.txt +++ b/doc/streams.txt @@ -220,6 +220,13 @@ (This option is not available for serialization to HTML or plain text.) +``drop_xml_decl`` + Whether to remove the XML declaration (the ``<?xml ?>`` part at the + beginning of a document) when serializing. This defaults to ``True`` as an + XML declaration throws some older browsers into "Quirks" rendering mode. + + (This option is only available for serialization to XHTML.) + Using XPath