Mercurial > genshi > genshi-test
view doc/Makefile @ 316:4ab9edf5e83b
Configurable encoding of template files, closing #65.
* The `XMLParser` constructor now accepts an optional encoding parameter.
* The `MarkupTemplate` and `TextTemplate` class also get an encoding parameter in their initializers.
* A `default_encoding` can be specified when creating a `TemplateLoader` instance, but the encoding can also be specified explicitly when calling the `load()` method.
* Encodings specified using an XML declaration in templates and XML files are now honored (as long as Expat supports them, that is, and it doesn't support many).
author | cmlenz |
---|---|
date | Tue, 24 Oct 2006 15:52:57 +0000 |
parents | bbed6d426678 |
children |
line wrap: on
line source
HTML_FILES = \ builder.html \ index.html \ streams.html \ text-templates.html \ xml-templates.html \ xpath.html all: $(HTML_FILES) %.html: %.txt rst2html.py --exit-status=3 $< $@ clean: rm -rf $(HTML_FILES)