Hi,
''xsi:nil'' specifies that the node can accept null values. But XML node of integer type cannot accept null.
Because of this behaviour before assigning an integer value we need to check whether the node as ''xsi:nill'' attribute set to true and remove it.
Rohan Reddy