Are there any proper xml binding(mapping) solutions (OXM) in .net? What I need is to generate model classes from arbitrary xml. As for now I can't find anything like JaXB 1/2, JiBX, Castor XML, XMLBeans in Java.
5 Answers
I am not sure what exactly you are looking for...but you can take a look at xsd.exe. It can do some pretty neat stuff.
1 Comment
nixau
Yeah, this could be an option. At least it would generate model classes from provided xsd document.
Look at MyGeneration. I think this might be just the thing you need. We used it for some ORM in previous projects but it's pretty versatile.
1 Comment
nixau
Nope, we need library with well defined interface.
I've found here a nice overview of xml binding solutions
XMLObjects library seems suitable
Comments
You may want to investigate schemaless data binding approach (below is the URL)
Comments
There is also an schemaless approach to data binding, here is a link to an introductory article