开发者

XML binding solution in .NET

开发者 https://www.devze.com 2022-12-11 10:17 出处:网络
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, XMLB开

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, XMLB开发者_如何学编程eans in Java.


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.


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.


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

XMLObjects library seems suitable


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

http://www.codeproject.com/KB/XML/schemaless_binding.aspx


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

http://www.codeproject.com/KB/XML/schemaless_binding.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号