Next / Previous / Contents / Shipman's homepage


This dictionary's keys are the characters that are not allowed within XML attribute values. Characters “<” and “&” are explicitly forbidden by the XML standard. We also escape the double-quote character “"” because it is used to delimit the entire attribute value.
    u'<': u'&lt;',
    u'&': u'&amp;',
    u'"': u'&quot;' }