Python | XML Type |  |  |
--- | --- | --- | --- | ---
`bool` | boolean |  |  |
`bytes` | hexBinary | base64Binary |  |
`Decimal` | decimal |  |  |
`float` | float | double |  |
`int` | integer | nonPositiveInteger | negativeInteger | long
| int | short | byte | nonNegativeInteger
| unsignedLong | unsignedInt | unsignedShort | unsignedByte
| positiveInteger |  |  |
`object` | anyType | anySimpleType |  |
`QName` | QName | NOTATION |  |
`str` | string | anyURI | normalizedString | token
| language | NMTOKEN | NMTOKENS | Name
| NCName | ID | IDREF | IDREFS
| ENTITIES | ENTITY | anyAtomicType | error
`XmlDate` | date |  |  |
`XmlDateTime` | dateTime | dateTimeStamp |  |
`XmlDuration` | duration | dayTimeDuration | yearMonthDuration |
`XmlPeriod` | gYearMonth | gYear | gMonthDay | gMonth
| gDay |  |  |
`XmlTime` | time |  |  |
`enum.Enum` | enumeration |  |  |