views:

142

answers:

5

Hi, 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.

A: 

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.

Revenge
Nope, we need library with well defined interface.
nixau
A: 

I've found here a nice overview of xml binding solutions

XMLObjects library seems suitable

nixau
+1  A: 

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.

P.K
Yeah, this could be an option. At least it would generate model classes from provided xsd document.
nixau
A: 

You may want to investigate schemaless data binding approach (below is the URL)

http://www.codeproject.com/KB/XML/schemaless%5Fbinding.aspx

vtd-xml-author
A: 

There is also an schemaless approach to data binding, here is a link to an introductory article

http://www.codeproject.com/KB/XML/schemaless%5Fbinding.aspx

vtd-xml-author