Minor optimization in XmlPropertyFormat.