1<?xml version='1.0'?>
2<!DOCTYPE component [
3<!ELEMENT component (PCDATA|sub)*>
4<!ATTLIST component
5          attr CDATA #IMPLIED
6          attr2 CDATA #IMPLIED
7>
8<!ELMENT sub EMPTY>
9
10]>
11<component attr="val'ue" attr2='val"ue'>
12<!-- This is a comment -->
13Text
14<![CDATA[huhu]]>
15öäüß
16&amp;
17&lt;
18<?xtal cursor='11'?>
19<sub/>
20<sub></sub>
21</component>