<?xml version="1.0" encoding="utf-8"?>
<!-- Test for correctly converting encoded characters. -->
<root>
    <data>Tom &amp; Jerry</data>
    <data attr="Black &amp; Whilte" attr2="&apos;quoted&apos;">This is &apos;single-quoted&apos;, and this is &quot;double-quoted&quot;.</data>
    <data attr="&lt;&gt;&apos;&quot;&amp;">Less than (&lt;) and greater than (&gt;) are also encoded.</data>
    <data>&lt;&gt;&apos;&quot;&amp;</data>
    <data single-char="&amp;">&gt;</data>
    <data>&quot;B&quot;;</data>
</root>
