Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i want to insert a newline in the xml document what is the method for that?
plz help
Posted
Comments
R. Giskard Reventlov 4-Aug-10 4:13am    
What have you already tried? How did that work out? What is your specific question related to that attempt?

1 solution

root.AppendChild(doc.CreateTextNode("\n"));
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900