Page 1 of 1

XML files

Posted: Sun Jan 06, 2008 6:37 am
by tshad
I am using 4.5 and am starting to use xml files but the files I am getting are all showing on the same line.

Is there a way to get them to display on separate lines for each tag and indent as well?

Thanks,

Tom

Posted: Sun Jan 06, 2008 1:28 pm
by bveldkamp
You could use HTML Tidy to re-format the xml.

XML Tidy

Posted: Tue Feb 05, 2008 10:25 pm
by rsperberg
I use the XML Tidy add-on for TextPad, which can be found on the TextPad Add-ons page.

it works pretty well for indenting lines to make things easier to read.

I do, however, always end up fussing with the text a little afterwards.

Roger

Posted: Thu Feb 28, 2008 10:53 pm
by ccollins
rsperberg,

I followed your link and followed the directions in the ReadMe. When I used the tool it replaced everything with a single "v". Is Tidy supposed to work with 5.1? Should the directions in the ReadMe be changed?

Posted: Fri Feb 29, 2008 3:21 pm
by rsperberg
My only experience is working with TextPad 4.7.

It does sound like a warning of incompatiblity with 5.1 ought to be noted. Not sure how that would be effected.

Posted: Mon Apr 14, 2008 11:51 pm
by tshad
I found that XML Notepad 2007, worked really well.

I don't use all the xml stuff, I just open the file and then save it.

Then I open it up in Textpad and it looks great.

Thanks,

Tom