1 | <!DOCTYPE doc [
|
---|
2 | <!ELEMENT doc (tst*)>
|
---|
3 | <!ELEMENT tst (#PCDATA)>
|
---|
4 | <!ATTLIST tst a NMTOKENS #IMPLIED>
|
---|
5 | <!ATTLIST tst b CDATA #IMPLIED>
|
---|
6 | <!ENTITY d "
">
|
---|
7 | <!ENTITY a "
">
|
---|
8 | <!ENTITY da "
">
|
---|
9 | ]>
|
---|
10 | <doc>
|
---|
11 | <tst a="
|
---|
12 |
|
---|
13 | xyz" b="
|
---|
14 |
|
---|
15 | xyz"/>
|
---|
16 | <tst a="&d;&d;A&a; &a;B&da;" b="&d;&d;A&a; &a;B&da;"/>
|
---|
17 | <tst a="

A

B
" b="

A

B
"/>
|
---|
18 | <tst a=" x  y " b=" x  y "/>
|
---|
19 | <tst a=" a b " b=" a b "/>
|
---|
20 | <tst a=" a b " b=" a b "/>
|
---|
21 | </doc>
|
---|
22 |
|
---|