I have battled whenever I wanted to add various components to my blog's template.... eg: StatCounter, ChangeDetection, BabelTranslate, etc.
The error 'Your template could not be parsed as it is not well-formed' appeared and I couldn't get the component to appear on my blog!
I have found some converter tools that solve this problem. The trick is that some special characters need to be replaced....
So, if the html code that you are pasting into the blogger.com html template contains the following characters, then they need to be replaced:
These need to be replaced with the following:
< becomes <
> becomes >
& becomes &
" becomes "
So, do a search and replace for the above characters
use these two tools that do it for you: