Using xsi:nil in XML
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2009-12-30T18:11:02Z
Indexed on
2010/04/05
14:13 UTC
Read the original article
Hit count: 423
I am generating an XML file from a VB.NET app. The document was generating fine before I tried to add nillable elements. I am now testing putting in just one nil element as:
<blah xsi:nil="true"></blah>
Once this element is in place and I try to view the XML file in IE it is unable to display. I am receiving:
> The XML page cannot be displayed
> Cannot view XML input using XSL style
> sheet. Please correct the error and
> then click the Refresh button, or try
> again later.
>
> --------------------------------------------------------------------------------
>
> The operation completed successfully.
> Error processing resource
If I remove this one element it displays fine again. What am I missing here?
© Stack Overflow or respective owner