Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
XML Writer indentationby newPerlr (Novice) |
on Dec 05, 2008 at 09:04 UTC ( [id://728232]=perlquestion: print w/replies, xml ) | Need Help?? |
newPerlr has asked for the wisdom of the Perl Monks concerning the following question:
using XML Writer i wrote a programme that reads a log file and creates a XML output accordingly but then i found out the XML output is not intended. it seems like the whole XML is in one line. when i open the XML in a web browser it comes fine but when i open it text editors everything comes as a mess. is there any way to intend or at lest break to new line after every tag??? i tried 'NEWLINES => 1' but it brakes the line before the close angle bracket '>' thank you in advance
Back to
Seekers of Perl Wisdom
|
|