Skip to main content


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 09:36 Go to next message
Chetan Kumar is currently offline Chetan KumarFriend
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 10:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
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


Ed Merks
Professional Support: https://www.macromodeling.com/
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 11:21 Go to previous message
Chetan Kumar is currently offline Chetan KumarFriend
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 10:23 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
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


Ed Merks
Professional Support: https://www.macromodeling.com/
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 11:21 Go to previous message
Chetan Kumar is currently offline Chetan KumarFriend
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 Apr 26 19:29:07 GMT 2024

Powered by FUDForum. Page generated in 0.03354 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top