# HG changeset patch # User cmlenz # Date 1172052283 0 # Node ID ec05506d1bda2f6ac7b63022a9b193149c3f971d # Parent 32b283e1d310dd85b0ecb1765698ca4c74434fcc Fix a couple of typos in the docs. Closes #99. diff --git a/doc/xml-templates.txt b/doc/xml-templates.txt --- 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::