GMF and XML [message #162189] |
Fri, 23 November 2007 08:29 |
Eclipse User |
|
|
|
Originally posted by: hovabul.gmail.com
Hello,
My ecore is:
Top --rel--> X
And my XML file is:
<rel/> when I click X in the diagram.
How can I use 'X' instead of 'rel'?
Thanks,
Hova Bul
|
|
|
Re: GMF and XML [message #162337 is a reply to message #162189] |
Fri, 23 November 2007 13:17 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------050204050301080601090501
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hova,
Call "rel" "X" instead. Using extended meta data annotations you could
specify that the XML name for "rel" is "X" without affecting the name
used in the generated APIs.
XML Schema to Ecore Mapping
< http://www.eclipse.org/modeling/emf/docs/overviews/XMLSchema ToEcoreMapping.pdf>
Hova Bul wrote:
> Hello,
>
> My ecore is:
> Top --rel--> X
>
> And my XML file is:
> <rel/> when I click X in the diagram.
>
> How can I use 'X' instead of 'rel'?
>
> Thanks,
> Hova Bul
>
--------------050204050301080601090501
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hova,<br>
<br>
Call "rel" "X" instead.
|
|
|
Re: GMF and XML [message #162345 is a reply to message #162337] |
Fri, 23 November 2007 14:21 |
Eclipse User |
|
|
|
Originally posted by: hovabul.gmail.com
Hello,
So what I actually do? Bofore or After the created XML file should I do
something. And what? (Sorry I am beginner)
Thanks,
Hova
|
|
|
Re: GMF and XML [message #162384 is a reply to message #162345] |
Fri, 23 November 2007 16:44 |
Eclipse User |
|
|
|
Originally posted by: ali.akar.geensys.com
hello,
you have to add annotation to your ecore metamodel
best,
Ali
Hova Bul a écrit :
> Hello,
>
> So what I actually do? Bofore or After the created XML file should I do
> something. And what? (Sorry I am beginner)
>
> Thanks,
> Hova
>
|
|
|
Powered by
FUDForum. Page generated in 0.03202 seconds