Skip to main content



      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 13:09 Go to next message
Eclipse UserFriend
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 09:50 Go to previous messageGo to next message
Eclipse UserFriend
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
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 14:12 Go to previous message
Eclipse UserFriend
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 14:12 Go to previous message
Eclipse UserFriend
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: Sun Nov 16 07:18:55 EST 2025

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

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

Back to the top