For Blogger.com (blogspot.com) user who want to customized Google Adsense position and direct paste Google Adsense code into Blogger XML Template, will get this error:

“Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The processing instruction target matching “[xX][mM][lL]” is not allowed.”

The above error simply mean the Adsense code is not standardizing XML. To solve it, is to replace all the html character such as “<” with “>” to “&lt;” and “&gt;”.

Code sample:

Google Adsense HTML Parser

If you not familiar HTML, you can use Blogcrowds HTML Parser. Just copy and paste the Google Adsense code into the box and click the “PARSE” button. After generate the code, copy the parsed HTML code to XML Blogger Template.

Enjoy blogging.