Hi!
I was wondering if there is convenient way to format messed xml-document with Perl.
Example:
<?xml version="1.0"?>
<section>
<subchapter name="example">
<subdata name="exampledata" id="0" />
</subchapter>
</section>
should be formatted to form and written back to disk:
<?xml version="1.0"?>
<section>
<subchapter name="example">
<subdata name="exampledata" id="0" />
</subchapter>
</section>
Do you have any example or hint on this?
Thank you!
BR,
comma
I was wondering if there is convenient way to format messed xml-document with Perl.
Example:
<?xml version="1.0"?>
<section>
<subchapter name="example">
<subdata name="exampledata" id="0" />
</subchapter>
</section>
should be formatted to form and written back to disk:
<?xml version="1.0"?>
<section>
<subchapter name="example">
<subdata name="exampledata" id="0" />
</subchapter>
</section>
Do you have any example or hint on this?
Thank you!
BR,
comma