XML serialization

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BSCode266
    New Member
    • Jan 2007
    • 38

    XML serialization

    Hey,

    Right now i am using serialization to xml and i looked around a bit but couldnt find the solution so i thought i'd ask here. My "problem" is that the xml i serialize doesn't look as it should but appears all in one big line. I have been trying to find out how to tell the serializer to do this correctly but couldn't find it.

    Does anyone know how to do this?

    Thanks in advance,

    BSCode266
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Here is an article that may help:
    XML Serialization in ASP.NET

    Comment

    • bennett
      New Member
      • Jul 2007
      • 12

      #3
      Is there any specific reason for wanting the line breaks ect because this would only make your file larger

      Liam

      Comment

      • BSCode266
        New Member
        • Jan 2007
        • 38

        #4
        Thanks for the article. I wanted it to be easy to read for Humans.

        ~BSCode266

        Comment

        Working...