'xsi' is an undeclared prefix using XmlDocument

后端 未结 2 696
借酒劲吻你
借酒劲吻你 2020-12-11 01:16

I am receiving \'xsi\' is an undeclared prefix using XmlDocument.

I am trying to read a file which has the following schema:



        
2条回答
  •  抹茶落季
    2020-12-11 01:40

    You are missing the xsinamespace declaration:

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    

    now your document should look something like this:

    
    .....
    
    

提交回复
热议问题