To complete my  blog migration,I had to perform some additional layout changes:
  • Remove blank lines
  • make the sourcecode blocks readable
I wrote a Groovy script that performs the required modifications on my soon-to-be-imported XML file: