Support XMLStreamWriter