8 var otherDoc
= document
.implementation
.createDocument('', '', null);
9 var input
= otherDoc
.createElementNS("http://www.w3.org/1999/xhtml", "input");
10 var form
= otherDoc
.createElementNS("http://www.w3.org/1999/xhtml", "form");
11 input
.setAttributeNS(null, "form", "x");
12 form
.setAttributeNS(null, "id", "x");
13 input
.appendChild(form
);
14 otherDoc
.appendChild(input
);
19 <body onload=
"boom();"></body>