Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Amalgam » Question about the mindmap2xhtml.qvto transformation
Question about the mindmap2xhtml.qvto transformation [message #583816] Sat, 22 August 2009 22:27
Toñi Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi Richard,

I'm reading your book and trying to follow some of the examples.
Currently I'm working with the mindmap2xhtml example. I have
downloaded the examples code, but the mindmap2xhtml.qvto has some
compilation errors.

By reading the 6.7. Transforming a Mindmap to XHTML section, I have
found out that the xhtml metamodel is not included in the examples code
that I have downloaded, so I have follow the import process, and as a
consequence, now I have my xhtml.ecore file obtained from the .xsd you
mention in the 6.7 section. Some compilation errors, have disappear,
but there are some of them yet.

These are due to some xhtml.ecore metamodel modifications. The
metamodel is change because there's no way to declare text between
elements. The solution you have proposed is declaring the
XMLTypeDocumentRoot as eSuperType for the Inline and Flow metaclasses.

My problem at this point is that I can not found the
XMLTypeDocumentRoot metaclass in my xhtml.ecore. Please tell me where
this class is, or if I have to create it manually.

I'll also be very grateful if you could summarize the
modifications that have to be done to the xhtml.ecore metamodel.

Thanks, and best regards
Toñi Reina
Previous Topic:Amalgam downloads available
Next Topic:Question about the mindmap2xhtml.qvto transformation
Goto Forum:

Current Time: Fri Nov 16 06:21:27 GMT 2018

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

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

Back to the top