Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Ecore to XSD
Ecore to XSD [message #73811] Tue, 04 March 2008 17:31 Go to next message
Eclipse User
Originally posted by: vlalan.csc.com

Hi,
I want to generate the xsd from an Ecore file. I have written some code
which uses the EcoreSchemaBuilder to create the xsd file.

Here is the code snippet:

EPackage ePackage = getEPackage(ecoreFilePath);

EPackage.Registry.INSTANCE.put(XSDPackageImpl.eNS_URI,
XSDPackageImpl.eINSTANCE);
ResourceSet resourceSet = new ResourceSetImpl();
resourceSet.getPackageRegistry().put(
XSDPackageImpl.eNS_URI, XSDPackageImpl.eINSTANCE);
resourceSet.getResourceFactoryRegistry()
.getExtensionToFactoryMap().put(XSD_EXTENSION,new
XSDResourceFactoryImpl());

ExtendedMetaData extendedMetaData = new BasicExtendedMetaData();
EcoreSchemaBuilder xsdBuilder = new EcoreSchemaBuilder(extendedMetaData);
XSDSchema xsd = xsdBuilder.getSchema(ePackage);

Resource xsdResource = resourceSet.createResource(URI
.createPlatformResourceURI(xsdFilePath.toString()));
xsdResource.getContents().add(xsd);

....code to save the xsd resource.......

My problem is that i donot need any ecore references in the xsd file. It
should be the plain xsd file without any ecore declaration in it.

Any pointers on this will really help.....

Thanks in advance,
Vipul
Re: Ecore to XSD [message #73829 is a reply to message #73811] Tue, 04 March 2008 18:17 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Vipul,

If you don't want references to Ecore.xsd it's best to avoid using
Ecore.ecore's data types. If you you XMLTypePackage's data types
instead, your end result will be uses of XML Schema's built-in types.
Can you change your Ecore model to avoid using Ecore's data types? I
suppose you could specialize protected String getURI(EClassifier
eClassifier) to do the remapping of Ecore's EDataTypes to XML Type
Package's EDataTypes on the fly...


Vipul wrote:
> Hi,
> I want to generate the xsd from an Ecore file. I have written some
> code which uses the EcoreSchemaBuilder to create the xsd file.
>
> Here is the code snippet:
>
> EPackage ePackage = getEPackage(ecoreFilePath);
>
> EPackage.Registry.INSTANCE.put(XSDPackageImpl.eNS_URI,
> XSDPackageImpl.eINSTANCE);
> ResourceSet resourceSet = new ResourceSetImpl();
> resourceSet.getPackageRegistry().put(
> XSDPackageImpl.eNS_URI, XSDPackageImpl.eINSTANCE);
> resourceSet.getResourceFactoryRegistry()
> .getExtensionToFactoryMap().put(XSD_EXTENSION,new
> XSDResourceFactoryImpl());
>
> ExtendedMetaData extendedMetaData = new BasicExtendedMetaData();
> EcoreSchemaBuilder xsdBuilder = new EcoreSchemaBuilder(extendedMetaData);
> XSDSchema xsd = xsdBuilder.getSchema(ePackage);
>
> Resource xsdResource = resourceSet.createResource(URI
> .createPlatformResourceURI(xsdFilePath.toString()));
> xsdResource.getContents().add(xsd);
>
> ...code to save the xsd resource.......
>
> My problem is that i donot need any ecore references in the xsd file.
> It should be the plain xsd file without any ecore declaration in it.
>
> Any pointers on this will really help.....
>
> Thanks in advance,
> Vipul
>
Re: Ecore to XSD [message #73846 is a reply to message #73829] Tue, 04 March 2008 20:17 Go to previous messageGo to next message
Eclipse User
Originally posted by: vlalan.csc.com

Ed Merks wrote:

> Vipul,

> If you don't want references to Ecore.xsd it's best to avoid using
> Ecore.ecore's data types. If you you XMLTypePackage's data types
> instead, your end result will be uses of XML Schema's built-in types.
> Can you change your Ecore model to avoid using Ecore's data types? I
> suppose you could specialize protected String getURI(EClassifier
> eClassifier) to do the remapping of Ecore's EDataTypes to XML Type
> Package's EDataTypes on the fly...


> Vipul wrote:
>> Hi,
>> I want to generate the xsd from an Ecore file. I have written some
>> code which uses the EcoreSchemaBuilder to create the xsd file.
>>
>> Here is the code snippet:
>>
>> EPackage ePackage = getEPackage(ecoreFilePath);
>>
>> EPackage.Registry.INSTANCE.put(XSDPackageImpl.eNS_URI,
>> XSDPackageImpl.eINSTANCE);
>> ResourceSet resourceSet = new ResourceSetImpl();
>> resourceSet.getPackageRegistry().put(
>> XSDPackageImpl.eNS_URI, XSDPackageImpl.eINSTANCE);
>> resourceSet.getResourceFactoryRegistry()
>> .getExtensionToFactoryMap().put(XSD_EXTENSION,new
>> XSDResourceFactoryImpl());
>>
>> ExtendedMetaData extendedMetaData = new BasicExtendedMetaData();
>> EcoreSchemaBuilder xsdBuilder = new EcoreSchemaBuilder(extendedMetaData);
>> XSDSchema xsd = xsdBuilder.getSchema(ePackage);
>>
>> Resource xsdResource = resourceSet.createResource(URI
>> .createPlatformResourceURI(xsdFilePath.toString()));
>> xsdResource.getContents().add(xsd);
>>
>> ...code to save the xsd resource.......
>>
>> My problem is that i donot need any ecore references in the xsd file.
>> It should be the plain xsd file without any ecore declaration in it.
>>
>> Any pointers on this will really help.....
>>
>> Thanks in advance,
>> Vipul
>>
Hi Ed,
Thanks for such a quick reply.....
I dont know how to supress the Ecore to use the Ecore DataType's. I am
creating the Ecore using XSDEcoreBuilder

The code for it is:
ResourceSet resourceSet = new ResourceSetImpl();
final ExtendedMetaData extendedMetaData = new BasicExtendedMetaData(
resourceSet.getPackageRegistry());
resourceSet.getLoadOptions().put(XMLResource.OPTION_EXTENDED _META_DATA,
extendedMetaData);
XSDEcoreBuilder xsdEcoreBuilder = new XSDEcoreBuilder(extendedMetaData);
Collection ePackageList = xsdEcoreBuilder.generate(fileURI);
if (ePackageList != null && ePackageList.size() > 0
&& ePackageList instanceof ArrayList) {
// taking the first ePackage and building the ecore
if (((ArrayList) ePackageList).get(0) instanceof EPackage) {
final EPackage ePackage = (EPackage) ((ArrayList) ePackageList)
.get(0);
return ePackage;
}
}


This method creates an ecore from the specified xsd. I am really not clear
about specializing the getURI method to get the remapping of Ecore's
EDataTypes to XML Type. Which class does have this method?
Re: Ecore to XSD [message #73881 is a reply to message #73846] Tue, 04 March 2008 22:00 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Vipul

Comments below.


Vipul wrote:
> Ed Merks wrote:
>
>> Vipul,
>
>> If you don't want references to Ecore.xsd it's best to avoid using
>> Ecore.ecore's data types. If you you XMLTypePackage's data types
>> instead, your end result will be uses of XML Schema's built-in
>> types. Can you change your Ecore model to avoid using Ecore's data
>> types? I suppose you could specialize protected String
>> getURI(EClassifier eClassifier) to do the remapping of Ecore's
>> EDataTypes to XML Type Package's EDataTypes on the fly...
>
>
>> Vipul wrote:
>>> Hi,
>>> I want to generate the xsd from an Ecore file. I have written some
>>> code which uses the EcoreSchemaBuilder to create the xsd file.
>>>
>>> Here is the code snippet:
>>>
>>> EPackage ePackage = getEPackage(ecoreFilePath);
>>>
>>> EPackage.Registry.INSTANCE.put(XSDPackageImpl.eNS_URI,
>>> XSDPackageImpl.eINSTANCE);
>>> ResourceSet resourceSet = new ResourceSetImpl();
>>> resourceSet.getPackageRegistry().put(
>>> XSDPackageImpl.eNS_URI, XSDPackageImpl.eINSTANCE);
>>> resourceSet.getResourceFactoryRegistry()
>>> .getExtensionToFactoryMap().put(XSD_EXTENSION,new
>>> XSDResourceFactoryImpl());
>>>
>>> ExtendedMetaData extendedMetaData = new BasicExtendedMetaData();
>>> EcoreSchemaBuilder xsdBuilder = new
>>> EcoreSchemaBuilder(extendedMetaData);
>>> XSDSchema xsd = xsdBuilder.getSchema(ePackage);
>>>
>>> Resource xsdResource = resourceSet.createResource(URI
>>> .createPlatformResourceURI(xsdFilePath.toString()));
>>> xsdResource.getContents().add(xsd);
>>>
>>> ...code to save the xsd resource.......
>>>
>>> My problem is that i donot need any ecore references in the xsd
>>> file. It should be the plain xsd file without any ecore declaration
>>> in it.
>>>
>>> Any pointers on this will really help.....
>>>
>>> Thanks in advance,
>>> Vipul
>>>
> Hi Ed,
> Thanks for such a quick reply.....
> I dont know how to supress the Ecore to use the Ecore DataType's. I am
> creating the Ecore using XSDEcoreBuilder
If you started with a schema why are you generating a schema? I
wouldn't expect this result to use Ecore data types at all. I'd expect
it to use types from the XMLTypePackage.
>
> The code for it is: ResourceSet resourceSet = new ResourceSetImpl();
> final ExtendedMetaData extendedMetaData = new BasicExtendedMetaData(
> resourceSet.getPackageRegistry());
>
> resourceSet.getLoadOptions().put(XMLResource.OPTION_EXTENDED _META_DATA,
> extendedMetaData);
> XSDEcoreBuilder xsdEcoreBuilder = new XSDEcoreBuilder(extendedMetaData);
> Collection ePackageList = xsdEcoreBuilder.generate(fileURI);
> if (ePackageList != null && ePackageList.size() > 0
> && ePackageList instanceof ArrayList) {
> // taking the first ePackage and building the ecore
> if (((ArrayList) ePackageList).get(0) instanceof EPackage) {
> final EPackage ePackage = (EPackage) ((ArrayList) ePackageList)
> .get(0);
> return ePackage;
> }
> }
>
> This method creates an ecore from the specified xsd. I am really not
> clear about specializing the getURI method to get the remapping of
> Ecore's EDataTypes to XML Type. Which class does have this method?
This is going in a different direction than you mentioned before. This
is converting a schema to an Ecore instance. I'm a little confused
now. Maybe an example is worth a thousand words...
Re: Ecore to XSD [message #73899 is a reply to message #73881] Tue, 04 March 2008 22:51 Go to previous messageGo to next message
Eclipse User
Originally posted by: vlalan.csc.com

Hi Ed,

The requirement is that we have a xsd from which we first create an Ecore
and using the Ecore Diagram we edit that ecore and then we can reexport
the ecore to create the new xsd.
Its something that you first convert xsd to ecore and edit that ecore
using GMF diagram editor and then again create the xsd back from the
edited ecore.

In this whole process i am able to generate the xsd back but it do have
ecore references which i do not need.

Thanks,
Vipul
Re: Ecore to XSD [message #73917 is a reply to message #73899] Tue, 04 March 2008 23:48 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Vipul,

When you edit, be sure the things you add to your *.ecore model only
come from XMLType.ecore, and not from Ecore.ecore, so you end with with
only references to things you do need.


Vipul wrote:
> Hi Ed,
>
> The requirement is that we have a xsd from which we first create an
> Ecore and using the Ecore Diagram we edit that ecore and then we can
> reexport the ecore to create the new xsd.
> Its something that you first convert xsd to ecore and edit that ecore
> using GMF diagram editor and then again create the xsd back from the
> edited ecore.
>
> In this whole process i am able to generate the xsd back but it do
> have ecore references which i do not need.
>
> Thanks,
> Vipul
>
Re: Ecore to XSD [message #74006 is a reply to message #73917] Wed, 12 March 2008 14:35 Go to previous messageGo to next message
Eclipse User
Originally posted by: Nicolas.Dufault.techsolcom.ca

Hello,

I'm trying to do the same thing. Making an XSD out of a Ecore file.

Would it be possible for you to show me a working exemple of how you are
doing it ?

It would be greatly appreciated.

Thanks,
NickDuff
Re: Ecore to XSD [message #74024 is a reply to message #74006] Wed, 12 March 2008 15:14 Go to previous message
Eclipse User
Originally posted by: merks.ca.ibm.com

Nick,

I don't have any examples. Looking at how it's used in XSDExporter is
the best I can do in terms of pointing at an example.


NickDuff wrote:
> Hello,
>
> I'm trying to do the same thing. Making an XSD out of a Ecore file.
>
> Would it be possible for you to show me a working exemple of how you
> are doing it ?
>
> It would be greatly appreciated.
>
> Thanks,
> NickDuff
>
Re: Ecore to XSD [message #602877 is a reply to message #73811] Tue, 04 March 2008 18:17 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Vipul,

If you don't want references to Ecore.xsd it's best to avoid using
Ecore.ecore's data types. If you you XMLTypePackage's data types
instead, your end result will be uses of XML Schema's built-in types.
Can you change your Ecore model to avoid using Ecore's data types? I
suppose you could specialize protected String getURI(EClassifier
eClassifier) to do the remapping of Ecore's EDataTypes to XML Type
Package's EDataTypes on the fly...


Vipul wrote:
> Hi,
> I want to generate the xsd from an Ecore file. I have written some
> code which uses the EcoreSchemaBuilder to create the xsd file.
>
> Here is the code snippet:
>
> EPackage ePackage = getEPackage(ecoreFilePath);
>
> EPackage.Registry.INSTANCE.put(XSDPackageImpl.eNS_URI,
> XSDPackageImpl.eINSTANCE);
> ResourceSet resourceSet = new ResourceSetImpl();
> resourceSet.getPackageRegistry().put(
> XSDPackageImpl.eNS_URI, XSDPackageImpl.eINSTANCE);
> resourceSet.getResourceFactoryRegistry()
> .getExtensionToFactoryMap().put(XSD_EXTENSION,new
> XSDResourceFactoryImpl());
>
> ExtendedMetaData extendedMetaData = new BasicExtendedMetaData();
> EcoreSchemaBuilder xsdBuilder = new EcoreSchemaBuilder(extendedMetaData);
> XSDSchema xsd = xsdBuilder.getSchema(ePackage);
>
> Resource xsdResource = resourceSet.createResource(URI
> .createPlatformResourceURI(xsdFilePath.toString()));
> xsdResource.getContents().add(xsd);
>
> ...code to save the xsd resource.......
>
> My problem is that i donot need any ecore references in the xsd file.
> It should be the plain xsd file without any ecore declaration in it.
>
> Any pointers on this will really help.....
>
> Thanks in advance,
> Vipul
>
Re: Ecore to XSD [message #602882 is a reply to message #73829] Tue, 04 March 2008 20:17 Go to previous message
Vipul is currently offline Vipul
Messages: 6
Registered: July 2009
Junior Member
Ed Merks wrote:

> Vipul,

> If you don't want references to Ecore.xsd it's best to avoid using
> Ecore.ecore's data types. If you you XMLTypePackage's data types
> instead, your end result will be uses of XML Schema's built-in types.
> Can you change your Ecore model to avoid using Ecore's data types? I
> suppose you could specialize protected String getURI(EClassifier
> eClassifier) to do the remapping of Ecore's EDataTypes to XML Type
> Package's EDataTypes on the fly...


> Vipul wrote:
>> Hi,
>> I want to generate the xsd from an Ecore file. I have written some
>> code which uses the EcoreSchemaBuilder to create the xsd file.
>>
>> Here is the code snippet:
>>
>> EPackage ePackage = getEPackage(ecoreFilePath);
>>
>> EPackage.Registry.INSTANCE.put(XSDPackageImpl.eNS_URI,
>> XSDPackageImpl.eINSTANCE);
>> ResourceSet resourceSet = new ResourceSetImpl();
>> resourceSet.getPackageRegistry().put(
>> XSDPackageImpl.eNS_URI, XSDPackageImpl.eINSTANCE);
>> resourceSet.getResourceFactoryRegistry()
>> .getExtensionToFactoryMap().put(XSD_EXTENSION,new
>> XSDResourceFactoryImpl());
>>
>> ExtendedMetaData extendedMetaData = new BasicExtendedMetaData();
>> EcoreSchemaBuilder xsdBuilder = new EcoreSchemaBuilder(extendedMetaData);
>> XSDSchema xsd = xsdBuilder.getSchema(ePackage);
>>
>> Resource xsdResource = resourceSet.createResource(URI
>> .createPlatformResourceURI(xsdFilePath.toString()));
>> xsdResource.getContents().add(xsd);
>>
>> ...code to save the xsd resource.......
>>
>> My problem is that i donot need any ecore references in the xsd file.
>> It should be the plain xsd file without any ecore declaration in it.
>>
>> Any pointers on this will really help.....
>>
>> Thanks in advance,
>> Vipul
>>
Hi Ed,
Thanks for such a quick reply.....
I dont know how to supress the Ecore to use the Ecore DataType's. I am
creating the Ecore using XSDEcoreBuilder

The code for it is:
ResourceSet resourceSet = new ResourceSetImpl();
final ExtendedMetaData extendedMetaData = new BasicExtendedMetaData(
resourceSet.getPackageRegistry());
resourceSet.getLoadOptions().put(XMLResource.OPTION_EXTENDED _META_DATA,
extendedMetaData);
XSDEcoreBuilder xsdEcoreBuilder = new XSDEcoreBuilder(extendedMetaData);
Collection ePackageList = xsdEcoreBuilder.generate(fileURI);
if (ePackageList != null && ePackageList.size() > 0
&& ePackageList instanceof ArrayList) {
// taking the first ePackage and building the ecore
if (((ArrayList) ePackageList).get(0) instanceof EPackage) {
final EPackage ePackage = (EPackage) ((ArrayList) ePackageList)
.get(0);
return ePackage;
}
}


This method creates an ecore from the specified xsd. I am really not clear
about specializing the getURI method to get the remapping of Ecore's
EDataTypes to XML Type. Which class does have this method?
Re: Ecore to XSD [message #602889 is a reply to message #73846] Tue, 04 March 2008 22:00 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Vipul

Comments below.


Vipul wrote:
> Ed Merks wrote:
>
>> Vipul,
>
>> If you don't want references to Ecore.xsd it's best to avoid using
>> Ecore.ecore's data types. If you you XMLTypePackage's data types
>> instead, your end result will be uses of XML Schema's built-in
>> types. Can you change your Ecore model to avoid using Ecore's data
>> types? I suppose you could specialize protected String
>> getURI(EClassifier eClassifier) to do the remapping of Ecore's
>> EDataTypes to XML Type Package's EDataTypes on the fly...
>
>
>> Vipul wrote:
>>> Hi,
>>> I want to generate the xsd from an Ecore file. I have written some
>>> code which uses the EcoreSchemaBuilder to create the xsd file.
>>>
>>> Here is the code snippet:
>>>
>>> EPackage ePackage = getEPackage(ecoreFilePath);
>>>
>>> EPackage.Registry.INSTANCE.put(XSDPackageImpl.eNS_URI,
>>> XSDPackageImpl.eINSTANCE);
>>> ResourceSet resourceSet = new ResourceSetImpl();
>>> resourceSet.getPackageRegistry().put(
>>> XSDPackageImpl.eNS_URI, XSDPackageImpl.eINSTANCE);
>>> resourceSet.getResourceFactoryRegistry()
>>> .getExtensionToFactoryMap().put(XSD_EXTENSION,new
>>> XSDResourceFactoryImpl());
>>>
>>> ExtendedMetaData extendedMetaData = new BasicExtendedMetaData();
>>> EcoreSchemaBuilder xsdBuilder = new
>>> EcoreSchemaBuilder(extendedMetaData);
>>> XSDSchema xsd = xsdBuilder.getSchema(ePackage);
>>>
>>> Resource xsdResource = resourceSet.createResource(URI
>>> .createPlatformResourceURI(xsdFilePath.toString()));
>>> xsdResource.getContents().add(xsd);
>>>
>>> ...code to save the xsd resource.......
>>>
>>> My problem is that i donot need any ecore references in the xsd
>>> file. It should be the plain xsd file without any ecore declaration
>>> in it.
>>>
>>> Any pointers on this will really help.....
>>>
>>> Thanks in advance,
>>> Vipul
>>>
> Hi Ed,
> Thanks for such a quick reply.....
> I dont know how to supress the Ecore to use the Ecore DataType's. I am
> creating the Ecore using XSDEcoreBuilder
If you started with a schema why are you generating a schema? I
wouldn't expect this result to use Ecore data types at all. I'd expect
it to use types from the XMLTypePackage.
>
> The code for it is: ResourceSet resourceSet = new ResourceSetImpl();
> final ExtendedMetaData extendedMetaData = new BasicExtendedMetaData(
> resourceSet.getPackageRegistry());
>
> resourceSet.getLoadOptions().put(XMLResource.OPTION_EXTENDED _META_DATA,
> extendedMetaData);
> XSDEcoreBuilder xsdEcoreBuilder = new XSDEcoreBuilder(extendedMetaData);
> Collection ePackageList = xsdEcoreBuilder.generate(fileURI);
> if (ePackageList != null && ePackageList.size() > 0
> && ePackageList instanceof ArrayList) {
> // taking the first ePackage and building the ecore
> if (((ArrayList) ePackageList).get(0) instanceof EPackage) {
> final EPackage ePackage = (EPackage) ((ArrayList) ePackageList)
> .get(0);
> return ePackage;
> }
> }
>
> This method creates an ecore from the specified xsd. I am really not
> clear about specializing the getURI method to get the remapping of
> Ecore's EDataTypes to XML Type. Which class does have this method?
This is going in a different direction than you mentioned before. This
is converting a schema to an Ecore instance. I'm a little confused
now. Maybe an example is worth a thousand words...
Re: Ecore to XSD [message #602899 is a reply to message #73881] Tue, 04 March 2008 22:51 Go to previous message
Vipul is currently offline Vipul
Messages: 6
Registered: July 2009
Junior Member
Hi Ed,

The requirement is that we have a xsd from which we first create an Ecore
and using the Ecore Diagram we edit that ecore and then we can reexport
the ecore to create the new xsd.
Its something that you first convert xsd to ecore and edit that ecore
using GMF diagram editor and then again create the xsd back from the
edited ecore.

In this whole process i am able to generate the xsd back but it do have
ecore references which i do not need.

Thanks,
Vipul
Re: Ecore to XSD [message #602902 is a reply to message #73899] Tue, 04 March 2008 23:48 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Vipul,

When you edit, be sure the things you add to your *.ecore model only
come from XMLType.ecore, and not from Ecore.ecore, so you end with with
only references to things you do need.


Vipul wrote:
> Hi Ed,
>
> The requirement is that we have a xsd from which we first create an
> Ecore and using the Ecore Diagram we edit that ecore and then we can
> reexport the ecore to create the new xsd.
> Its something that you first convert xsd to ecore and edit that ecore
> using GMF diagram editor and then again create the xsd back from the
> edited ecore.
>
> In this whole process i am able to generate the xsd back but it do
> have ecore references which i do not need.
>
> Thanks,
> Vipul
>
Re: Ecore to XSD [message #602922 is a reply to message #73917] Wed, 12 March 2008 14:35 Go to previous message
Eclipse User
Originally posted by: Nicolas.Dufault.techsolcom.ca

Hello,

I'm trying to do the same thing. Making an XSD out of a Ecore file.

Would it be possible for you to show me a working exemple of how you are
doing it ?

It would be greatly appreciated.

Thanks,
NickDuff
Re: Ecore to XSD [message #602926 is a reply to message #74006] Wed, 12 March 2008 15:14 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Nick,

I don't have any examples. Looking at how it's used in XSDExporter is
the best I can do in terms of pointing at an example.


NickDuff wrote:
> Hello,
>
> I'm trying to do the same thing. Making an XSD out of a Ecore file.
>
> Would it be possible for you to show me a working exemple of how you
> are doing it ?
>
> It would be greatly appreciated.
>
> Thanks,
> NickDuff
>
Previous Topic:Eclipse : Write XML using XSD
Next Topic:how to validate ExtendedMetaData details
Goto Forum:
  


Current Time: Sat Sep 20 08:17:50 GMT 2014

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

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