"xmlns:xsi" getting auto-generated
Posted: Thu Nov 27, 2014 10:23 am
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???
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???