XML-escape the title element

The content for the <title> element should be escaped in order to prevent an invalid XML document when in cases where the contains an ampersand (&) or less-than (<) characters.