<nothtml xmlns="http://example.org/notHtml#" lang="en" xml:lang="en"
  xmlns:g="http://www.w3.org/2003/g/data-view#"
  g:transformation="extract-literals"
>
<head profile="http://www.w3.org/2003/g/data-view" xml:lang="en-US">
  <title xml:lang="en" lang="en">Language in XHTML</title>
</head>
<body >
<p xml:lang="en-GB" lang="en-GB">This is a simple test, using
the <a rel="transformation" href="extract-literals" >extract-literals</a>
transform, with XHTML input.
</p>
<p xml:lang="en" lang="en">This document, uses a mixture of language tags.
All are declared using both the <code xml:lang="" lang="">xml:lang</code>
attribute and the <code xml:lang="" lang="">lang</code>
attribute, consistently.
</p>
<p>This paragraph inherits language from the root element.</p>
<p xml:lang="it" lang="it">Questo fraso &#xe8; scritto in italiano.</p>
<p xml:lang="en-GB" lang="en-GB">For any text string where both are in scope, the
<code xml:lang="" lang="">xml:lang</code> takes precedence,
following the 
<a href="http://www.w3.org/TR/2002/REC-xhtml1-20020801/#C_7">XHTML Recommendation</a>.
</p>
</body>
</nothtml>
