<html> <head> <script> var dt; function init() { dt = document.implementation.createDocumentType("rheet", 0, 2); dt.foopy = "quux"; } init(); </script> </head> <body> </body> </html>