in reply to AGAIN XML::Twig tag conversion

Try something like this:

perl -e'$tx="aaa \t bbb \t ccc";@let=split(/\t/,$tx);print "<row>";s/\ +s//g,print "<col>$_</col>" foreach (@let);print "</row>\n"'

After getting each row. Split and join deal with things in the middle of lists, ok?

.{\('v')/}
_`(___)' __________________________