Edgewall Software

Changes between Version 4 and Version 5 of GenshiRecipes/PyExtendsEquivalent


Ignore:
Timestamp:
Sep 12, 2006, 12:35:47 PM (18 years ago)
Author:
cmlenz
Comment:

s/Markup/Genshi

Legend:

Unmodified
Added
Removed
Modified
  • GenshiRecipes/PyExtendsEquivalent

    v4 v5  
    1 = [MarkupRecipes Markup Recipes]: Replacing `py:extends` with Includes =
     1= [GenshiRecipes Genshi Recipes]: Replacing `py:extends` with Includes =
    22
    3 As noted in MarkupVsKid, Markup does not support the `py:extends` directive for template reuse.
     3As noted in GenshiVsKid, Markup does not support the `py:extends` directive for template reuse.
    44
    5 This page shows how the [http://www.kid-templating.org/language.html#template-reuse-py-extends example] from the Kid language specification translates to a functionally equivalent setup in Markup.
     5This page shows how the [http://www.kid-templating.org/language.html#template-reuse-py-extends example] from the Kid language specification translates to a functionally equivalent setup in Genshi.
    66
    77Assume the following base template, stored as `base.html`:
     
    99{{{
    1010#!xml
    11 <html xmlns:py="http://markup.edgewall.org/" py:strip="">
     11<html xmlns:py="http://genshi.edgewall.org/" py:strip="">
    1212
    1313  <ul py:def="display_errors(errors)">
     
    2424{{{
    2525#!xml
    26 <html xmlns:py="http://markup.edgewall.org/"
     26<html xmlns:py="http://genshi.edgewall.org/"
    2727      xmlns:xi="http://www.w3.org/2001/XInclude">
    2828  <xi:include href="base.html" />
     
    5757
    5858----
    59 See also: MarkupRecipes/PyLayoutEquivalent, MarkupRecipes, MarkupVsKid, MarkupTemplates
     59See also: GenshiRecipes/PyLayoutEquivalent, GenshiRecipes, GenshiVsKid, [wiki:Documentation/xml-templates.html Genshi XML Template Language]