Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » generator providing simple XML output(Xtext generator - create simple (any) XML output)
generator providing simple XML output [message #702651] Tue, 26 July 2011 16:11 Go to next message
Michal S is currently offline Michal SFriend
Messages: 74
Registered: July 2011
Member
Hello,
I have succesfully defined my Xtext grammar and I also generated Eclipse application. I would like to make my generator writing just XML representation of my model in generated Eclipse application.
When I open my model in "Sample Reflective Ecore Model Editor" and I use "Save as" and I use filename "any.xml" - I am getting perfect output, which I would like to have as output of my generator. Is it possible to do this without writing function for every used element in MyModelGenerator.xtend?
Thank you for any help...
Michal
Re: generator providing simple XML output [message #702669 is a reply to message #702651] Tue, 26 July 2011 16:47 Go to previous message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13607
Registered: July 2009
Senior Member
Not for the Generator, but general ...

http://www.eclipse.org/forums/index.php/t/207930/


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Tue, 26 July 2011 17:41]

Report message to a moderator

Previous Topic:Duplicated Type Error
Next Topic:[xtext2 xtend2] How to generate one file based on multiple models?
Goto Forum:
  


Current Time: Thu Sep 24 12:43:17 GMT 2020

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

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

Back to the top