summaryrefslogtreecommitdiff
path: root/src/zope/tal/tests/input/test03.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/zope/tal/tests/input/test03.xml')
-rw-r--r--src/zope/tal/tests/input/test03.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/zope/tal/tests/input/test03.xml b/src/zope/tal/tests/input/test03.xml
new file mode 100644
index 0000000..830149d
--- /dev/null
+++ b/src/zope/tal/tests/input/test03.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" ?>
+<p xmlns:z="http://xml.zope.org/namespaces/tal">
+ <span z:define="local x str:hello brave new world">
+ <span z:content="text local:x">outer variable x, first appearance</span>
+ <span z:define="local x str:goodbye cruel world">
+ <span z:content="text local:x">inner variable x</span>
+ </span>
+ <span z:content="text local:x">outer variable x, second appearance</span>
+ </span>
+</p>