[Home] [By Thread] [By Date] [Recent Entries]

  • From: Robin Berjon <robin@k...>
  • To: "Hanson, Jon" <jhanson@l...>
  • 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.


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member