OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: DOM DocumentType

[ 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.





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS