summaryrefslogtreecommitdiff
path: root/tests/Translate/Translate5.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Translate/Translate5.xml')
-rw-r--r--tests/Translate/Translate5.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/Translate/Translate5.xml b/tests/Translate/Translate5.xml
new file mode 100644
index 0000000..a275360
--- /dev/null
+++ b/tests/Translate/Translate5.xml
@@ -0,0 +1,19 @@
+<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0">
+ <head>
+ <its:rules version="1.0">
+ <its:translateRule selector="//*" translate="no"/>
+ <its:translateRule selector="//p" translate="yes"/>
+ </its:rules>
+ </head>
+ <info>
+ <item type="title" its:translate="yes">The Life of a <b>Simple Man</b></item>
+ <!-- Note that the contents of <b> and <span> should end up
+ *not* translatable with these settings -->
+ <item type="date-main">Dec-05-2006</item>
+ </info>
+ <content>
+ <p>Everything started when Zebulon discovered that he had
+ a <span>doppelgänger</span> who was a
+ serious baseball <span>aficionado</span>.</p>
+ </content>
+</doc><!-- timestamp $Id: Translate5.xml,v 1.4 2007/02/02 17:14:37 srahtz3 Exp $ -->