.NET 中的 XML 绑定解决方案

发布于 2024-08-11 21:57:07 字数 115 浏览 2 评论 0原文

.net 中是否有合适的 xml 绑定(映射)解决方案(OXM)?我需要的是从任意 xml 生成模型类。目前我在 Java 中找不到像 JaXB 1/2、JiBX、Castor XML、XMLBeans 这样的东西。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

不寐倦长更 2024-08-18 21:57:07

我不确定你到底在寻找什么......但你可以看看 xsd.exe。它可以做一些非常巧妙的事情。

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.

会傲 2024-08-18 21:57:07

查看MyGeneration。我想这可能正是您所需要的。我们在之前的项目中将它用于一些 ORM,但它的用途非常广泛。

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.

∞梦里开花 2024-08-18 21:57:07

我在此处找到了 xml 绑定解决方案的一个很好的概述

XMLObjects 库似乎合适

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

XMLObjects library seems suitable

寻找我们的幸福 2024-08-18 21:57:07

您可能想研究无模式数据绑定方法(下面是 URL)

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

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

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

简美 2024-08-18 21:57:07

还有一种无模式数据绑定方法,这里是介绍性文章

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文