Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Loading XML file into EMF Model(Loading XML file into EMF Model created from the XSD)
Loading XML file into EMF Model [message #909643] Fri, 07 September 2012 13:28 Go to next message
Abhijeet Desai is currently offline Abhijeet DesaiFriend
Messages: 2
Registered: September 2012
Junior Member
Hi,

This is a noob question i know Neutral but need some help here.


i have created an EMF model from a XSD.

now i want to load data from an XML file into this EMF Model.

This XML File conforms to the XSD used to make the EMF model.

Could really use some help on this.

Thanks in anticipation.

Cheers,
Abhijeet
Re: Loading XML file into EMF Model [message #909653 is a reply to message #909643] Fri, 07 September 2012 13:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Invoke Generate Test Code in the Generator and look at the
XyzExample.java in the generated *.tests plugin.

On 07/09/2012 3:28 PM, Abhijeet Desai wrote:
> Hi,
>
> This is a noob question i know :| but need some help here.
>
>
> i have created an EMF model from a XSD.
> now i want to load data from an XML file into this EMF Model.
>
> This XML File conforms to the XSD used to make the EMF model.
>
> Could really use some help on this.
> Thanks in anticipation.
>
> Cheers,
> Abhijeet


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Loading XML file into EMF Model [message #912549 is a reply to message #909653] Thu, 13 September 2012 18:53 Go to previous message
Abhijeet Desai is currently offline Abhijeet DesaiFriend
Messages: 2
Registered: September 2012
Junior Member
worked perfectly ! Thanks Ed !
Previous Topic:[CDO] Concurrent Access to Models
Next Topic:EMF XMI Persistence multiple files
Goto Forum:
  


Current Time: Thu Apr 25 18:02:00 GMT 2024

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

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

Back to the top