We don't bite newbies here... much | |
PerlMonks |
Re: xml to xml converterby choroba (Cardinal) |
on Nov 09, 2021 at 16:30 UTC ( [id://11138632]=note: print w/replies, xml ) | Need Help?? |
This is how you can do it in XML::XSH2, a wrapper around XML::LibXML. You can experiment with the code in its xsh shell interactively.
Or maybe, more simply, remove any Test that doesn't match the criteria:
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|