Skip to main content



      Home
Home » Modeling » EMF » custom emf output to a special format
custom emf output to a special format [message #488738] Tue, 29 September 2009 23:30 Go to next message
Eclipse UserFriend
i want to got the following format with emf.
<prop key="hibernate.show_sql">true</prop>

and i have try ExtendedMetaData with lots of times,none works.

so i want to know is there any way to get the result?

thank you in advance!


best regards!

[Updated on: Tue, 29 September 2009 23:35] by Moderator

Re: custom emf output to a special format [message #488786 is a reply to message #488738] Wed, 30 September 2009 04:50 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.
--------------030907000403080508050707
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

That sounds like what you'd get if the type of the "prop" element were a
complex type with simple content (of type xsd:boolean?) along with a
"key" attribute (of type xsd:string?). It's best to write a schema like
that and see what Ecore model and annotations it produces.


zhaozhongwei wrote:
> i want to got the following format with emf.
> <prop key="hibernate.show_sql">true</prop>
>
> and i have try ExtendedMetaData with lots of times,none works.
>
> so i want to know is there any way to get the result?
>
> thank you in advance!
>
>
> best regards!
>


--------------030907000403080508050707
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-unicode">That
sounds like what you'd get if the type of the "prop" element were a
complex type with simple content (of type xsd:boolean?) along with a
"key" attribute (of type xsd:string?).  It's best to write a schema
like that and see what Ecore model and annotations it produces.
<br>
<br>
<br>
zhaozhongwei wrote:
<br>
<blockquote type="cite">i want to got the following format with emf.
<br>
&lt;prop key="hibernate.show_sql"&gt;true&lt;/prop&gt;
<br>
<br>
and i have try ExtendedMetaData with lots of times,none works.
<br>
<br>
so i want to know is there any way to get the result?
<br>
<br>
thank you in advance!
<br>
<br>
<br>
best regards!
<br>
<br>
</blockquote>
<br>
</div>
</body>
</html>

--------------030907000403080508050707--
Previous Topic:Get real Instance of DynamicEObjectImpl
Next Topic:[TENEO] 3 Tier architecture. Is it possible
Goto Forum:
  


Current Time: Fri Nov 07 11:26:10 EST 2025

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

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

Back to the top