|
Last change
on this file was
299,
checked in by cmlenz, 17 years ago
|
|
Fixed EOL style.
|
-
Property svn:eol-style set to
native
|
|
File size:
954 bytes
|
| Line | |
|---|
| 1 | Upgrading Genshi |
|---|
| 2 | ================ |
|---|
| 3 | |
|---|
| 4 | Upgrading from Markup |
|---|
| 5 | --------------------- |
|---|
| 6 | |
|---|
| 7 | Prior to version 0.3, the name of the Genshi project was "Markup". The |
|---|
| 8 | name change means that you will have to adjust your import statements |
|---|
| 9 | and the namespace URI of XML templates, among other things: |
|---|
| 10 | |
|---|
| 11 | * The package name was changed from "markup" to "genshi". Please |
|---|
| 12 | adjust any import statements referring to the old package name. |
|---|
| 13 | * The namespace URI for directives in Genshi XML templates has changed |
|---|
| 14 | from http://markup.edgewall.org/ to http://genshi.edgewall.org/. |
|---|
| 15 | Please update the xmlns:py declaration in your template files |
|---|
| 16 | accordingly. |
|---|
| 17 | |
|---|
| 18 | Furthermore, due to the inclusion of a text-based template language, |
|---|
| 19 | the class: |
|---|
| 20 | |
|---|
| 21 | `markup.template.Template` |
|---|
| 22 | |
|---|
| 23 | has been renamed to: |
|---|
| 24 | |
|---|
| 25 | `markup.template.MarkupTemplate` |
|---|
| 26 | |
|---|
| 27 | If you've been using the Template class directly, you'll need to |
|---|
| 28 | update your code (a simple find/replace should do--the API itself |
|---|
| 29 | did not change). |
|---|
Note: See
TracBrowser
for help on using the repository browser.