如何为其创建xml文件和架构,以及如何使用它来验证xml文件 [英] How to create xml file and schema for it and use it to validate the xml file

查看:90
本文介绍了如何为其创建xml文件和架构,以及如何使用它来验证xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道为其创建xml文件和xml模式,并使用该模式来验证数据.

I want to know to create xml file and xml schema for it and use the schema to validate the data.

推荐答案

首先使用文本编辑器创建XML然后您可以使用 XSD.exe [ ^ ]来创建
Create the XML first using a text editor and then you can use XSD.exe[^] to create the schema.


创建Message Inspector进行模式验证,并在WEB.CONFIG中验证XSD文件.
Create Message Inspector for schema validation and validate the XSD file in WEB.CONFIG


这篇关于如何为其创建xml文件和架构,以及如何使用它来验证xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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