<html xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:domain="testdomain">
<body>
<p i18n:translate="hello-this-is-a-test">Hello, this is a test.</p>
<p i18n:translate="you-are-user">
You are user <span i18n:name="user" petal:content="user_name">Fred</span>
</p>
<a i18n:attributes="alt a-search-engine"
href="http://google.com/"
alt="a search engine">Google</a>
</body>
</html>