Click here to Skip to main content
15,892,674 members
Articles / Programming Languages / XML

C# - XML Writer Settings - Adding Line breaks/indentation

Rate me:
Please Sign up or sign in to vote.
4.14/5 (4 votes)
27 Sep 2010CPOL 65.6K   3  
When dynamically creating XML documents, they appear just like a normal text file. This tip is to add line breaks and indentation automatically (I posted this in my blog a while ago)

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Just another passionate software developer!

Some of the contributions to the open source world - a blog engine written in MVC 4 - sBlog.Net. Check it out here. For the codeproject article regarding sBlog.Net click here!

(Figuring out this section!)

Comments and Discussions