[
Lists Home |
Date Index |
Thread Index
]
- From: Robin Berjon <robin@knowscape.com>
- To: "Hanson, Jon" <jhanson@lehman.com>
- Date: Wed, 27 Sep 2000 15:31:54 +0200
At 13:59 27/09/2000 +0100, Hanson, Jon wrote:
>In the DOM the DocumentType is a read-only attribute of the Document
>interface. If I am creating a DOM structure in memory from some program
>data, how do I set the DocumentType?
I don't remeber about DOM1, but in DOM2 you set it when you create your
Document object. See the createDocument and createDocumentType methods of
your DOMImplementation object.
-- robin b.
Brain damage is all in your head.
|