http://qs1969.pair.com?node_id=545668


in reply to XML Pretty Printer

And yet again I could have saved myself time if I searched perlmonks before I searched google.

Nice work.

PS: The html comes out totally un-indented and deviod of newlines. I should update the script, but it's nothing that a few keystrokes in emacs couldn't fix ;)

Replies are listed 'Best First'.
Re^2: XML Pretty Printer
by Anonymous Monk on Apr 20, 2007 at 14:04 UTC
    could you plkease tel me hoe to use thsi in .net environment thanks, ram
      Hi ram,

      This is Perl code. You can't run this code under .Net.

      There is, though, no reason why you can't run perl on your windows server as well as .Net. See http://perl.com/download.csp

        Well, that's not entirely true. You could use ActiveState's PerlNET to compile this to a .Net executable or tweak it and pack it up as a .Net DLL. Which might actually make some sense.