Jump to content

karthikin

Members
  • Posts

    39
  • Joined

  • Last visited

Posts posted by karthikin

  1. This is my input xml file:

    <MyTest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"		   xmlns:xsd="http://www.w3.org/2001/XMLSchema"		   xmlns="http://www.test.com/test">  <MyHubs xsi:nil="true" /><MyLanes xsi:nil="true" />

    When i serilaize it i'm getting the output xml in this format:

    <MyTest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.test.com/test"> <MyHubs /><MyLanes/>

    How can i maintain the same format for the output xml file as exactly as the input file??

×
×
  • Create New...