|Re: Mapping in XML Schema. [message #209908 is a reply to message #209898]
||Wed, 29 October 2008 15:32
| Ed Merks
Registered: July 2009
> Hello Alex,
> Thank you for your answer !
> I think that I don't completely understand your answer. If I have good
> understand, I can save a domain model with a custom XML Schema. But in
> Mindmap example the .mindmap file is already a XML Schema file?
No, it's a .xml file that conforms to a schema.
> With this way I obtain a XML Schema file (XXXX.xsd).
There's a MindMap.xsd, but the *.mindmap is an instance...
> But I have forgotten to say in the last message that my diagram models
> Business Objects (with class...) and I want a XSD file for each
> Business Object.
So you have some other model, like XSD, Ecore, or UML, that you want to
map to XSD. Perhaps that's similar to
org.eclipse.xsd.ecore.EcoreSchemaBuilder which converts and Ecore
instance to a corresponding XSD instance.
> What advise me you? I must a XSLT file too to seperate the XSD file
> into several XSD files.
Not sure I understand how the separate files issue comes up.
> I maybe badly expressed myself in my last message. I want to program a
> XML Schema (XSD) generator from a diagram.
That sounds a lot like EcoreSchemaBuilder, so maybe that's where you
want to look.
> This diagram models Business Objects and I want to generate a XSD file
> for each Business Object.
> Thank you for your help !
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.06351 seconds