Skip to main content



      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 12:11 Go to next message
Eclipse UserFriend
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 12:47 Go to previous message
Eclipse UserFriend
Not for the Generator, but general ...

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

[Updated on: Tue, 26 July 2011 13:41] by Moderator

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


Current Time: Thu Jul 10 05:49:21 EDT 2025

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

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

Back to the top