Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I have file that I'm writing to using the appendchild function and then save. It works, but the problem is that it doesn't insert line item and indent the tag properly, each childnode gets written on the same line one after another. Is there a function or class that can indent the child nodes automatically besides doing it via xmltextreader?
Posted
If you are just trying to read the XML file yourself, drop it into the VS editor. VS will automatically indent everything and format the XML so that it is more human readable.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...