Using xsi: nil in XML

I am creating an XML file from a VB.NET application. The document created great information before I tried to add elements that could be used. Now I am testing only one zero:

<blah xsi:nil="true"></blah>

Once this element is in place, and I try to view the XML file in IE, it cannot be displayed. I get:

XML page cannot be displayed. Cannot view XML input using XSL sheet style. Correct the error and then click the Refresh button or try again later.


The operation completed successfully. Error handling resource

If I remove this one item, it will display a fine again. What am I missing here?

+3
source share
1

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

+7

Source: https://habr.com/ru/post/1726916/


All Articles