[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] How to set the docType of an IDOMDocument

Hi,

I'm trying to create / update an XML file using the SSE API.
After loading an IDOMModel (using StructuredModelManager.getModelManager().getNewModelForEdit or getModelForEdit ) I need to add a doctype, or update it if needed.

IDOMDocument has a createDocType method but I haven't found a way to attach this new docType to the IDOMDocument.

Also, if IDOMDocument.getDocType is not null, how can I update its value?

thanks,

regards,