add an escape for single quotes ('), - as the comment says, you have to use ' as ' is a valid XML entity but not a valid HTML one. -Steve