Page 1 of 1

"xmlns:xsi" getting auto-generated

Posted: Thu Nov 27, 2014 10:23 am
by sarathchandrakt
Hi,

I modified a .xsd file to show NULL fields in XML. I modified the code in following format,

Old Code:
<xs:element name="FirstName" type="xs:string"/>

New Code:
<xs:element name="FirstName" Nillable="true" type="xs:string"/>

I can see the Null Columns now, But the following line is getting auto generated in tags,
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Example:
<FirstName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

I know that this is not going to effect data in any way but is there any way to hide this???