---
jsApi: true
title: "[T] XmlEncoding"

---
```ts
type XmlEncoding: 
  | "TypeSpec.Xml.Encoding.xmlDateTime"
  | "TypeSpec.Xml.Encoding.xmlDate"
  | "TypeSpec.Xml.Encoding.xmlTime"
  | "TypeSpec.Xml.Encoding.xmlDuration"
  | "TypeSpec.Xml.Encoding.xmlBase64Binary";
```

Known Xml encodings
