Are the quotes around `type` needed? Also, why the backslash in text/xml? Also: use single quotes.