blob: 3f2fc491a6b63c4f5d6ba6a305c0552492a0b640 [file] [log] [blame]
<!DOCTYPE html [
<!ENTITY ent1 'foo'>
<!ENTITY ent2 'foo<br/>'>
<!ELEMENT html (head, body)>
<!ATTLIST html xmlns CDATA #IMPLIED>
<!ELEMENT head (title,script*)>
<!ELEMENT script (#PCDATA)>
<!ATTLIST script
src CDATA #IMPLIED
type CDATA #IMPLIED
charset CDATA #IMPLIED>
<!ELEMENT title (#PCDATA)>
<!ELEMENT body (p)>
<!ATTLIST body onload CDATA #IMPLIED>
<!ELEMENT p (#PCDATA|br)*>
<!ELEMENT br EMPTY>
]>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>replaceWholeText sample</title>
<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='userdatahandler01.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
<body onload="loadComplete()">
<p>bar</p>
</body>
</html>