well-formed xml

At least the package index is well-formed XML, now able to be parsed accurately by an off-the-shelf XML parser.