你能在 vs 2010 中根据 xml 验证 xsd 吗? [英] can you validate xsd against xml in vs 2010?

查看:26
本文介绍了你能在 vs 2010 中根据 xml 验证 xsd 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Visual Studio 2010 中根据 xsd 验证 xml 文档?

How do I validate an xml document against an xsd in Visual Studio 2010?

谢谢.

推荐答案

在VS2010中打开你的XML文件;在属性工具窗口 (F4) 中有一个 Schemas 属性.在那里列出你想要的 XSD.完成后,错误/警告将显示在错误列表工具窗口中.

Open you XML file in VS2010; in the Properties tool window (F4) there is a Schemas property. List the XSD you want in there. Once done, the errors/warnings will show up in the Error List tool window.

这篇关于你能在 vs 2010 中根据 xml 验证 xsd 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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