Corrected reading for x-height and cap-height from XML file

The wrong attribute name was used before.