I have :
<data id="010" name="Common" action="text">
...
</data>
how to use XML::Twig to add space before ">" i.e something like :
<data id="010" name="Common" action="text" >
</data>
any idea ?
... how to use XML::Twig to add space before ">" i.e something like : ... how to use XML::Twig to add space before ">" i.e something like : ... how to use XML::Twig to add space before ">" i.e something like :
It would not be pretty, but you could change the way XML::Twig outputs start tags. The method is
start_tag, in XML::Twig::Elt;The cleanest way to do this would be to subclass XML::Twig::Elt (as
my_eltin the code below) and to change the output of the originalstart_tagmethod: