Proper way to define the schema for 'CustomDictionary.xml' in Visual Studio (2013)?

血红的双手。 提交于 2019-12-05 06:50:54
cilerler

Add CustomDictionary.xsd into your project. And in your XML file, CustomDictionary.xml, add the xmlns:xsi and xsi:noNamespaceSchemaLocation attributes to the Dictionary element as follows:

<Dictionary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:noNamespaceSchemaLocation="CustomDictionary.xsd">
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!