summaryrefslogtreecommitdiffstats
path: root/test/xml/encoded-char/input.xml
blob: 289fc578fa50cfce6e2607dddfbe726ebfa42787 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?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>
    <data>&quot;;&quot;</data>
</root>