<nothtml xmlns="http://example.org/notHtml#" 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" lang="en-US">
  <title lang="en">Language in XHTML</title>
</head>
<body >
<p 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 lang="en">This document, uses a mixture of language tags.
All are declared using the <code lang="">lang</code>
attribute, while none use the <code lang="">xml:lang</code>
attribute.
</p>
<p>This paragraph inherits language from the root element.</p>
<p lang="it">Questo fraso &#xe8; scritto in italiano.</p>
<p lang="en-GB">For any text string where both are in scope, the
<code 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>
