Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

Locked Serialize an object to this format

  • Monday, March 12, 2012 6:44 AM
     
     

    Hi: I want XmlWriter to serialie my class to below format, how to do it?

    <A>

      <Name>james</Name>

      <P Id="a1">test1</P>

      <P Id="a2">test2</P>

      <P Id="a3">test3</P>

    </A>

    Thanks

All Replies