1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <!DOCTYPE html [
3 <!ENTITY ent1 'foo'>
4 <!ENTITY ent2 'foo
'>
5 <!ELEMENT html (head, body)>
6 <!ATTLIST html xmlns CDATA #IMPLIED>
7 <!ELEMENT head (title,script*)>
8 <!ELEMENT title (#PCDATA)>
9 <!ELEMENT script (#PCDATA)>
10 <!ATTLIST script
11 src CDATA #IMPLIED
12 type CDATA #IMPLIED
13 charset CDATA #IMPLIED>
14 <!ELEMENT body (p)>
15 <!ATTLIST body onload CDATA #IMPLIED>
16 <!ELEMENT p (#PCDATA|br)*>
17 <!ELEMENT br EMPTY>
18 ]>
19 <html xmlns='http://www.w3.org/1999/xhtml'>
20 <head>
21 <title>getXmlStandalone test doc</title>
22 <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='documentgetxmlstandalone04.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
23 <body onload="loadComplete()">
24 <p>bar</p>
25 </body>
26 </html>
27