|Question about the mindmap2xhtml.qvto transformation [message #583816]
||Sat, 22 August 2009 18:27
| Toñi Reina
Registered: July 2009
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
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
Powered by FUDForum
. Page generated in 0.02276 seconds