Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » [EMF Resource] to generate a comment at end of xml file using resource.save
[EMF Resource] to generate a comment at end of xml file using resource.save [message #381200] Fri, 31 August 2007 05:36 Go to next message
Chetan Kumar is currently offline Chetan Kumar
Messages: 70
Registered: July 2009
Member
Hi,

I have an EMF model into which i load xml file(s) and also serialize. I
am using resource.save to serialize an instance of my EMF model onto XML
file. Now at the end of the file, i would like to generate a comment (just
a string) which might contain timestamp information.

Is there a way to specify the message i want to generate at the end of
serialized xml file ?? an XMLResource option perhaps ??

cheers,
Chetan Kumar
Re: [EMF Resource] to generate a comment at end of xml file using resource.save [message #381201 is a reply to message #381200] Fri, 31 August 2007 06:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26013
Registered: July 2009
Senior Member
Chetan,

I guess you noticed the EMF newsgroup, or the answer to the preceding
question, after you posted this and then posted the same question to the
EMF newgroup where I've already answered your question.


Chetan Kumar wrote:
> Hi,
>
> I have an EMF model into which i load xml file(s) and also serialize.
> I am using resource.save to serialize an instance of my EMF model onto
> XML file. Now at the end of the file, i would like to generate a
> comment (just a string) which might contain timestamp information.
>
> Is there a way to specify the message i want to generate at the end
> of serialized xml file ?? an XMLResource option perhaps ??
>
> cheers,
> Chetan Kumar
Re: [EMF Resource] to generate a comment at end of xml file using resource.save [message #381204 is a reply to message #381201] Fri, 31 August 2007 07:21 Go to previous message
Chetan Kumar is currently offline Chetan Kumar
Messages: 70
Registered: July 2009
Member
exactly sir ...
Re: [EMF Resource] to generate a comment at end of xml file using resource.save [message #599392 is a reply to message #381200] Fri, 31 August 2007 06:23 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26013
Registered: July 2009
Senior Member
Chetan,

I guess you noticed the EMF newsgroup, or the answer to the preceding
question, after you posted this and then posted the same question to the
EMF newgroup where I've already answered your question.


Chetan Kumar wrote:
> Hi,
>
> I have an EMF model into which i load xml file(s) and also serialize.
> I am using resource.save to serialize an instance of my EMF model onto
> XML file. Now at the end of the file, i would like to generate a
> comment (just a string) which might contain timestamp information.
>
> Is there a way to specify the message i want to generate at the end
> of serialized xml file ?? an XMLResource option perhaps ??
>
> cheers,
> Chetan Kumar
Re: [EMF Resource] to generate a comment at end of xml file using resource.save [message #599422 is a reply to message #381201] Fri, 31 August 2007 07:21 Go to previous message
Chetan Kumar is currently offline Chetan Kumar
Messages: 70
Registered: July 2009
Member
exactly sir ...
Previous Topic:documentation offline
Next Topic:Open BPMN model in main method
Goto Forum:
  


Current Time: Fri Aug 29 10:25:39 EDT 2014

Powered by FUDForum. Page generated in 0.03317 seconds