update for xsl transform

xsl transform doesn't like: self-closing elements without the trailing
slash, &nbsp, empty divs that don't close on the same line.