<?xml version="1.0" encoding="UTF-8"?>

<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">-->

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>XML and unicode</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml" />
<style type="text/css">

外语 { border: 10px solid blue }
החוץ { border: 10px solid blue }

[й="ڰ"], [й="स्पेनिश"] { border-radius: 2em; }

body > * { display: block; margin: 2em; background: white; padding: 1em  }
html { background: #eee }
pre { overflow: auto }


\5916\8BED { box-shadow: 0.5em 0.5em 1em 0 #444;-webkit-box-shadow: 0.5em 0.5em 1em 0 #444; }
\05d4\05d7\05d5\05e5   { box-shadow: 0.5em 0.5em 1em 0 #444;-webkit-box-shadow: 0.5em 0.5em 1em 0 #444; }

/* ڰ = 06b0 */  
/* X = 0058 */
/* ڰ  
 = 06b0 with a new line */
 /* 05d4 05d7 05d5 05e5  החוץ  */
</style>


</head>

<body>

<h1>Unicode and XML</h1>

<p>What does being valid really mean?</p>

  <外语 й="ڰ" lang="uk">Китайська мова - <span lang="en">Ukrainian for the term 'Chinese language' within a <span><code>&#60;外语&#62;</code></span> element</span>.</外语>

  <pre><code>&#60;外语 й=&#34;ڰ&#34; lang=&#34;uk&#34;&#62;Китайська мова - &#60;span lang=&#34;en&#34;&#62;Ukrainian for the term 'Chinese language' within a &#60;span&#62;&#60;code&#62;&#60;外语&#62;&#60;/code&#62;&#60;/span&#62; element&#60;/span&#62;.&#60;/外语&#62;</code></pre>

  <החוץ й="स्पेनिश" lang="es">Lengua Alemana - <span lang="en">Spanish for the term 'German language' within a <span dir="rtl"><code>&#60;החוץ&#62;</code></span> element</span>.</החוץ>

  <pre><code>&#60;החוץ й=&#34;स्पेनिश&#34; lang=&#34;es&#34;&#62;Lengua Alemana - &#60;span lang=&#34;en&#34;&#62;Spanish for the term 'German language' within a &#60;span dir=&#34;rtl&#34;&#62;&#60;code&#62;&#60;החוץ&#62;&#60;/code&#62;&#60;/span&#62; element&#60;/span&#62;.&#60;/החוץ&#62;</code></pre>


<ul>
<li><a href="http://annevankesteren.nl/2011/02/xml-tired">Getting tired with XML</a> by Anne van Kesteren</li>
<li><a href="http://www.w3.org/TR/xml/">Extensible Markup Language (XML) 1.0 (Fifth Edition)</a></li>
</ul>

<p>Other test with Unicode can be found <a href="http://css-class.com/test/css/bidi/">here</a></p>

</body>
</html>