Any Transformation from XSD to MSchemaHi there,<br/> <br/> looking at the current bits i can see a transform from M to XML.<br/> But what seems to be missing is a transform from (XSD+XML) =&gt; M Schema + M<br/> <br/> Any plans for this?<br/> <br/> I think you need to support this scenario as most metadata (or models as you call them)<br/> is now encoded as XML<br/> <br/> Thanks<br/> <br/> Tim© 2009 Microsoft Corporation. All rights reserved.Wed, 26 Aug 2009 03:01:02 Z134b2e59-b2c2-4c15-b3b7-9468afa24473http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#134b2e59-b2c2-4c15-b3b7-9468afa24473http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#134b2e59-b2c2-4c15-b3b7-9468afa24473Tim F. Fischerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tim%20F.%20FischerAny Transformation from XSD to MSchemaHi there,<br/> <br/> looking at the current bits i can see a transform from M to XML.<br/> But what seems to be missing is a transform from (XSD+XML) =&gt; M Schema + M<br/> <br/> Any plans for this?<br/> <br/> I think you need to support this scenario as most metadata (or models as you call them)<br/> is now encoded as XML<br/> <br/> Thanks<br/> <br/> TimThu, 21 May 2009 12:22:37 Z2009-05-21T12:22:37Zhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#5272cab7-d670-4e91-a9c9-5ffe4a778825http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#5272cab7-d670-4e91-a9c9-5ffe4a778825Kraig Brockschmidthttp://social.msdn.microsoft.com/Profile/en-US/?user=Kraig%20BrockschmidtAny Transformation from XSD to MSchemaTimothy--sorry for the delay in acknowledging your post and working on a response. As you might have seen, we just got the next CTP out which was occupying our energies. Anyway, thanks for your patience as I get an answer for you.<br/><br/>.KraigWed, 27 May 2009 15:07:42 Z2009-05-27T15:07:42Zhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#54451795-b3aa-42ed-87a3-df3466703e1dhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#54451795-b3aa-42ed-87a3-df3466703e1ddmatsonhttp://social.msdn.microsoft.com/Profile/en-US/?user=dmatsonAny Transformation from XSD to MSchemaTim,<br/><br/>There is no tool at this time. However, a number of the people who work on M used to work on XML, so this is a scenario that is important to us. If I get any additional information, I'll update this post.<br/><br/>Thanks for the feedback and your interest!<br/><br/>DavidWed, 27 May 2009 22:23:25 Z2009-05-27T22:23:25Zhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#c72cdf6a-ffce-4153-9c4e-aa8d6765dc7ehttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#c72cdf6a-ffce-4153-9c4e-aa8d6765dc7ethe Pinkyhttp://social.msdn.microsoft.com/Profile/en-US/?user=the%20PinkyAny Transformation from XSD to MSchemaDavid is exactly right.<br/><br/>In fact you've inspired me to blog a bit about it in more detail. <a href="http://tinyfinger.blogspot.com/2009/05/m-interop-with-xml-and-others.html">http://tinyfinger.blogspot.com/2009/05/m-interop-with-xml-and-others.html</a>.<hr class="sig">-- pinky --/ http://www.tinyfinger.com/Thu, 28 May 2009 15:25:42 Z2009-05-28T15:25:42Zhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#602cd3b3-d592-4d63-9835-5b79696d85d5http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#602cd3b3-d592-4d63-9835-5b79696d85d5Tim F. Fischerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tim%20F.%20FischerAny Transformation from XSD to MSchemaHey Pinky,<br/><br/>thank you for taking care of this and even blogging ;-).<br/><br/>Quote:<br/>&gt;&gt;We also think about interop at the schema level. For example, if we transform an MGraph to XML, then wouldn't it be great to transform the representative &gt;&gt;schema for that data into XSD? That's something we haven't quite done yet, but again I don't think that it would be hard, just work. We don't really have &gt;&gt;that booked to implement right now. Do people see a huge need?<br/><br/>I have one thought on this as it is besides the original request probably the second most interesting. Indeed the question arises a bit. I assume when you store to SQL and get it back you can get an MGraph. I Also assume you can get it back directly from sql server in future as sql server can execute .net code. This means that when i have java program i can ask sql server for MGraph of a stored model  and get it back as XML + XSD eventually.<br/>Why would i want XSD? Well if i have XSD i can generate classes for reading and wrting that xml similar as xsd.exe /classes does in .NET Framework.<br/><br/>I think you need to support Java, PHP and possibly even Oracle based scenarios in future.<br/><br/>This is something that can help<br/><br/>TimSun, 31 May 2009 17:15:04 Z2009-05-31T17:15:04Zhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#bd3108d0-6c01-48f0-a980-be8c527718f7http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/134b2e59-b2c2-4c15-b3b7-9468afa24473#bd3108d0-6c01-48f0-a980-be8c527718f7cobiacommhttp://social.msdn.microsoft.com/Profile/en-US/?user=cobiacommAny Transformation from XSD to MSchemaThe 'M promise' is to establish a toolchain and modeling environment that supercedes what exists today. To prove the theory, demonstrating that 'M' can support existing languages (e.g. C#, Java, XML) and models (e.g. UML, XSD) is important. Not to mention the migration and interoperability challenges mentioned in the blog comments here. If my team is building a system in 'M', and they obtain an XML or XML Schema definition from a third party, how do they integrate the external 'model' into the system? Lack of XSD/XML interoperability limits the value of MUrl and M.Wed, 26 Aug 2009 03:01:01 Z2009-08-26T03:01:01Z