in reply to XML-related Regular Expression question
$XML_string =~ s/([^>])\n+([^<])/$1 $2/g [download]