Automatic Indentation of XML

Automatic Indentation of XML

Rudolf

    Jun 17, 2005#1

    Hi,

    Is it possible in Ultra Edit v11 to have Ultra Edit automatically tidy up and indent XML? The "tidy up" part can be handeled by HTML Tidy. I have XMLSpy which has a function "Pretty-Print XML Text" that automatically indents the XML so that it becomes more easily readable. Is there a similar option in Ultra Edit? Perhaps one can use HTML Tidy with special options for the indentation?

    Regards

    Rudolf Bargholz

    16
    Basic UserBasic User
    16

      Jul 20, 2005#2

      I'm curious about the same thing. I'm also not sure how to get HTML Tidy to pretty it up?

      3

        Oct 14, 2005#3

        If you're still monitoring this thread, here's is an easy solution (using HTML Tidy as you suggested):

        http://tinyurl.com/dnp8p

        3
        NewbieNewbie
        3

          Nov 21, 2007#4

          I've made a the following post in the scripts forum as an alternative means of pretty-printing your XML or for selectively formatting an XML fragment: Pretty-print XML