|
Re: Working with XML files with EMF? [message #427092 is a reply to message #427088] |
Sat, 31 January 2009 20:51 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------000202060409070408060406
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Csaba,
Comments below.
Csaba wrote:
> Hello Guys,
>
> In my Eclipse-base application I would like to process XML files which
> are according to a specific XML Schema file.
>
> The schema is quite simple and the instance documents contain short
> configuration data.
>
> Am I right that I can generate model classes for the XML Schema and
> loading, processing and saving XML data from/with/to these classes
> with EMF?
Yes.
>
> Maybe this is not so lightweight solution for XML binding.
Not sure what's being weighed...
> Is there any other simple Eclipse-specific way for XML binding and
> processing?
Not that I know of.
> Or shall I use the Java-based solutions like JAXB?
I don't think JAXB is so great but then again, it's not really all that
different:
http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava
>
> Thanks, guys!
> Regards,
> Csaba
>
--------------000202060409070408060406
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">
Csaba,<br>
<br>
Comments below.<br>
<br>
Csaba wrote:
<blockquote
cite="mid:64dc4f1c29e2a79c8cad20515d3f3750$1@www.eclipse.org"
type="cite">Hello Guys,
<br>
<br>
In my Eclipse-base application I would like to process XML files which
are according to a specific XML Schema file.
<br>
<br>
The schema is quite simple and the instance documents contain short
configuration data.
<br>
<br>
Am I right that I can generate model classes for the XML Schema and
loading, processing and saving XML data from/with/to these classes with
EMF?
<br>
</blockquote>
Yes.<br>
<blockquote
cite="mid:64dc4f1c29e2a79c8cad20515d3f3750$1@www.eclipse.org"
type="cite"><br>
Maybe this is not so lightweight solution for XML binding. </blockquote>
Not sure what's being weighed...<br>
<blockquote
cite="mid:64dc4f1c29e2a79c8cad20515d3f3750$1@www.eclipse.org"
type="cite">Is there any other simple Eclipse-specific way for XML
binding and processing?
<br>
</blockquote>
Not that I know of.<br>
<blockquote
cite="mid:64dc4f1c29e2a79c8cad20515d3f3750$1@www.eclipse.org"
type="cite">Or shall I use the Java-based solutions like JAXB?
<br>
</blockquote>
I don't think JAXB is so great but then again, it's not really all that
different:
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03207 seconds