[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Use WTP XML model for programatically modifying a file

Hello!

In the IAM project proposal [1], we provide actions that modify an XML file in behalf of the user. This file can also be edited through the XML editor or a Forms-based editor.

I was wondering if we could use a single model (I think the easiest will be the XML editor model) for manipulating the file.

Is that possible? Can we use the WTP model even when the file is not open? Would additions through this model keep the original formatting of the document? How tolerant is it to syntax errors?

If it is not possible, any recommendations regarding how to synchronize changes through the multiple models?


[1] IAM newsgroup: http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.iam


--
Abel Muiño Vizcaino - http://ramblingabout.wordpress.com