Project

General

Profile

1
<?xml version="1.0"?>
2
<!DOCTYPE testroot [
3
  <!ELEMENT testroot (a)>
4
  <!ELEMENT a (b*,c*)>
5
  <!ATTLIST a testatt CDATA #REQUIRED>
6
  <!ELEMENT b (#PCDATA)>
7
  <!ELEMENT c (#PCDATA)>
8
  <!ATTLIST c newatt CDATA #IMPLIED>
9
]>
10
<testroot>
11
  <a testatt="attvalue1">
12
    <b>Value1</b>
13
    <c newatt="89766">Value2</c>
14
  </a>
15
</testroot>
(25-25/26)