如何在C#中使用XML Schema [英] How to work with XML Schema in C#

查看:537
本文介绍了如何在C#中使用XML Schema的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#中的XML项目。我在互联网上找到了很多关于XML的资源。但是我没有找到任何关于XML Schema的链接可以让我满意.....任何人都可以帮我在C#中使用XML Schema。我的意思是如何创建XML模式文件并使用C#修改或删除。

I am working with a XML project in C#. I find many resource over the internet about XML.But I didn't find any link about XML Schema that can satisfied me..... Can any one help me to use XML Schema in C#. I mean how to create XML schema file and modify or delete using C#.

推荐答案

参见关于基础知识的大约17个教程 [ ^ ]


如何使用visual studio工具xsd.exe创建XML Schema



如何以编程方式创建XML模式



如果你不喜欢要真正了解这些文章的内容,您应该首先了解XML模式实际上是什么。您还可以尝试使用xsd.exe进行比较,并将生成的模式与XML进行比较,从而更直观地了解模式的内容及其作用。
How to create XML Schema with visual studio tool xsd.exe

How to create XML Schema programatically

If you don't really understand what these articles are talking about, you should just start by understanding what an XML schema is actually. You can also try playing with xsd.exe and compare the generated schemas with your XML which gives you a better idea visually of what the schema is and what it does.


这篇关于如何在C#中使用XML Schema的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆