Home » Modeling » Amalgam » Question about the mindmap2xhtml.qvto transformation
Question about the mindmap2xhtml.qvto transformation [message #525201] |
Sat, 22 August 2009 22:27 |
Toñi Reina 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
|
|
|
Re: Question about the mindmap2xhtml.qvto transformation [message #525202 is a reply to message #525201] |
Sun, 23 August 2009 18:48 |
Sergey Boyko Messages: 171 Registered: July 2009 |
Senior Member |
|
|
Hi Toñi ,
You might want to take a look at
'org.eclipse.m2m/org.eclipse.m2m.qvt.oml/examples/org.eclips e.m2m.qvt.oml.econ2009.tutorial'
plug-in in the 'dev.eclipse.org:/cvsroot/modeling' CVS repository.
There's an '\projects\qvto.uml2xhtml.model' folder that contains patched
xhtml.ecore model.
Mentioned 'XMLTypeDocumentRoot' metaclass belongs to 'namespace.ecore'
model (it's NsURI is 'http://www.w3.org/XML/1998/namespace') available
from EPackage global registry and physically located in
'org.eclipse.emf.ecore/model'.
Regards,
Sergey Boyko
Toñi Reina Quintero wrote:
> 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
|
|
|
Re: Question about the mindmap2xhtml.qvto transformation [message #525203 is a reply to message #525202] |
Sun, 23 August 2009 21:07 |
Toñi Reina Messages: 209 Registered: July 2009 |
Senior Member |
|
|
Thanks Sergey,
the information has been very useful.
Sergey Boyko escribió:
> Hi Toñi ,
>
> You might want to take a look at
> 'org.eclipse.m2m/org.eclipse.m2m.qvt.oml/examples/org.eclips e.m2m.qvt.oml.econ2009.tutorial'
> plug-in in the 'dev.eclipse.org:/cvsroot/modeling' CVS repository.
> There's an '\projects\qvto.uml2xhtml.model' folder that contains patched
> xhtml.ecore model.
>
> Mentioned 'XMLTypeDocumentRoot' metaclass belongs to 'namespace.ecore'
> model (it's NsURI is 'http://www.w3.org/XML/1998/namespace') available
> from EPackage global registry and physically located in
> 'org.eclipse.emf.ecore/model'.
>
> Regards,
> Sergey Boyko
>
> Toñi Reina Quintero wrote:
>> 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
|
|
|
Re: Question about the mindmap2xhtml.qvto transformation [message #583832 is a reply to message #525201] |
Sun, 23 August 2009 18:48 |
Sergey Boyko Messages: 171 Registered: July 2009 |
Senior Member |
|
|
Hi Toñi ,
You might want to take a look at
'org.eclipse.m2m/org.eclipse.m2m.qvt.oml/examples/org.eclips e.m2m.qvt.oml.econ2009.tutorial'
plug-in in the 'dev.eclipse.org:/cvsroot/modeling' CVS repository.
There's an '\projects\qvto.uml2xhtml.model' folder that contains patched
xhtml.ecore model.
Mentioned 'XMLTypeDocumentRoot' metaclass belongs to 'namespace.ecore'
model (it's NsURI is 'http://www.w3.org/XML/1998/namespace') available
from EPackage global registry and physically located in
'org.eclipse.emf.ecore/model'.
Regards,
Sergey Boyko
Toñi Reina Quintero wrote:
> 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
|
|
|
Re: Question about the mindmap2xhtml.qvto transformation [message #583844 is a reply to message #525202] |
Sun, 23 August 2009 21:07 |
Toñi Reina Messages: 209 Registered: July 2009 |
Senior Member |
|
|
Thanks Sergey,
the information has been very useful.
Sergey Boyko escribió:
> Hi Toñi ,
>
> You might want to take a look at
> 'org.eclipse.m2m/org.eclipse.m2m.qvt.oml/examples/org.eclips e.m2m.qvt.oml.econ2009.tutorial'
> plug-in in the 'dev.eclipse.org:/cvsroot/modeling' CVS repository.
> There's an '\projects\qvto.uml2xhtml.model' folder that contains patched
> xhtml.ecore model.
>
> Mentioned 'XMLTypeDocumentRoot' metaclass belongs to 'namespace.ecore'
> model (it's NsURI is 'http://www.w3.org/XML/1998/namespace') available
> from EPackage global registry and physically located in
> 'org.eclipse.emf.ecore/model'.
>
> Regards,
> Sergey Boyko
>
> Toñi Reina Quintero wrote:
>> 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
|
|
|
Goto Forum:
Current Time: Sat Nov 11 08:13:56 GMT 2023
Powered by FUDForum. Page generated in 0.02081 seconds
|