metacat/test.xml @ 365
1 | 15 | jones | <?xml version="1.0"?>
|
---|---|---|---|
2 | 67 | jones | <!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 | 15 | jones | <testroot>
|
11 | <a testatt="attvalue1"> |
||
12 | <b>Value1</b> |
||
13 | <c newatt="89766">Value2</c> |
||
14 | </a>
|
||
15 | </testroot>
|