Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to set the docType of an IDOMDocument
How to set the docType of an IDOMDocument [message #486573] Fri, 18 September 2009 05:21 Go to previous message
Fred Bricon is currently offline Fred Bricon
Messages: 13
Registered: July 2009
Junior Member
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,


Fred Bricon
 
Read Message
Read Message
Read Message
Previous Topic:XSLT extensions
Next Topic:Re: HELP installing org.eclipse.wst.common.emf
Goto Forum:
  


Current Time: Thu May 23 21:10:50 EDT 2013

Powered by FUDForum. Page generated in 0.02320 seconds