Mercurial > genshi > genshi-test
diff doc/xml-templates.txt @ 404:ec05506d1bda
Fix a couple of typos in the docs. Closes #99.
author | cmlenz |
---|---|
date | Wed, 21 Feb 2007 10:04:43 +0000 |
parents | ebc7c1a3bc4d |
children | 6911f3c5a7e8 |
line wrap: on
line diff
--- a/doc/xml-templates.txt +++ b/doc/xml-templates.txt @@ -207,9 +207,9 @@ ------------- The ``py:choose`` directive, in combination with the directives ``py:when`` -and ``py:otherwise`` provides advanced contional processing for rendering one +and ``py:otherwise`` provides advanced conditional processing for rendering one of several alternatives. The first matching ``py:when`` branch is rendered, or, -if no ``py:when`` branch matches, the ``py:otherwise`` branch is be rendered. +if no ``py:when`` branch matches, the ``py:otherwise`` branch is rendered. If the ``py:choose`` directive is empty the nested ``py:when`` directives will be tested for truth::