diff options
Diffstat (limited to 'src/zope/tal/tests/input/test11.xml')
-rw-r--r-- | src/zope/tal/tests/input/test11.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/zope/tal/tests/input/test11.xml b/src/zope/tal/tests/input/test11.xml new file mode 100644 index 0000000..435f95c --- /dev/null +++ b/src/zope/tal/tests/input/test11.xml @@ -0,0 +1,14 @@ +<html xmlns:tal="http://xml.zope.org/namespaces/tal"> + <p tal:replace="structure string:<a>bar</a>" + tal:attributes="href string:http://www.python.org">dummy text</p> + <p tal:define="x python:1" tal:on-error="string:bad boy!"> + <span tal:define="x python:2"> + <span tal:define="x python:3"> + <span tal:content="python:1/0"/> + </span> + </span> + </p> + <p tal:on-error="string:x undefined"> + <span tal:content="x"/> + </p> +</html> |