Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » How to load XML instance with SDO 1.0 (EMF 2.2)
How to load XML instance with SDO 1.0 (EMF 2.2) [message #544134] Thu, 01 July 2010 17:09 Go to next message
Tom Missing name is currently offline Tom Missing nameFriend
Messages: 16
Registered: February 2010
Junior Member
Hello,
I'm trying to understand how to load an XML instance document into my SDO Package. Ive created SDO package from an XSD but I'm uncertain how to populate it from reading in an XML instance document that adheres to that XSD. I've seen the SDO 2.0 examples (XMLHelper) which is exactly what I want to do but unfortunately I'm at the SDO 1.0 impl with EMF 2.2.

Thanks,
T
Re: How to load XML instance with SDO 1.0 (EMF 2.2) [message #544379 is a reply to message #544134] Fri, 02 July 2010 13:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Tom,

It seems better not to rely on something that's unsupported. Loading
with a model generated for SDO works exactly the same way as with normal
EMF so have a look at the overview documentation and the recent thread
in the EMF forum.


Tom wrote:
> Hello, I'm trying to understand how to load an XML instance document
> into my SDO Package. Ive created SDO package from an XSD but I'm
> uncertain how to populate it from reading in an XML instance document
> that adheres to that XSD. I've seen the SDO 2.0 examples (XMLHelper)
> which is exactly what I want to do but unfortunately I'm at the SDO
> 1.0 impl with EMF 2.2.
>
> Thanks,
> T


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to load XML instance with SDO 1.0 (EMF 2.2) [message #544462 is a reply to message #544379] Fri, 02 July 2010 18:12 Go to previous message
Tom Missing name is currently offline Tom Missing nameFriend
Messages: 16
Registered: February 2010
Junior Member
Hey Ed,
Thanks for the reply. I was able to find that the generated ResoruceUtil class has the load and save operations needed.

I'll look for the thread you are referring to.

Thanks,
T
Re: How to load XML instance with SDO 1.0 (EMF 2.2) [message #623036 is a reply to message #544379] Fri, 02 July 2010 18:12 Go to previous message
Tom Missing name is currently offline Tom Missing nameFriend
Messages: 16
Registered: February 2010
Junior Member
Hey Ed,
Thanks for the reply. I was able to find that the generated ResoruceUtil class has the load and save operations needed.

I'll look for the thread you are referring to.

Thanks,
T
Previous Topic:How to load XML instance with SDO 1.0 (EMF 2.2)
Next Topic:[Xtext] Problem: Scoping on objects at runtime
Goto Forum:
  


Current Time: Tue Apr 23 11:48:32 GMT 2024

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

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

Back to the top