|
Re: How to generate compound document model using emf? [message #417651 is a reply to message #417650] |
Thu, 20 March 2008 09:36 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Sibin,
Comments below.
sibin wrote:
> Hi,
>
> I need to create a XML editor for editing a compound XML
> document. That means my xml document can contain XML elements from 2
> or more namespaces.
>
> I have the following scenario ,
>
> I have 2 namespaces for my target XML document, A and B.
>
> I have XML schema files for both namespace A and B.
>
> Is it possible to build a emf model for my compound XML file from 2
> schema files?
Yes.
> or Can I create EMF models for both schemas seperately and use it
> together while creating the Resource from a URI.
It depends on the relation between the schemas. If one depends on the
other, the "base" one has to be done first and the second one should
reference the base one (or they could to be in the same GenModel).
>
>
> Sorry if the answer is very obvious , I am new to EMF.
Try it.
>
> Thanks for any help
>
> Sibin
>
>
>
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03320 seconds