# Atdgen for XML?

**URL:** <https://discuss.ocaml.org/t/atdgen-for-xml/1498>\
**Category:** Ecosystem\
**Created:** [January 28, 2018, 4:37pm UTC](https://discuss.ocaml.org/t/atdgen-for-xml/1498 "2018-01-28T16:37:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![BrendanLong](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/brendanlong/32/522_2.png) [@BrendanLong](https://discuss.ocaml.org/u/BrendanLong)\
**Post date:** [January 28, 2018, 4:37pm UTC](https://discuss.ocaml.org/t/atdgen-for-xml/1498/1 "2018-01-28T16:37:18Z")

</div>

I’m currently working on [a project for read XLSX documents](https://github.com/brendanlong/ocaml-ooxml) and I’m finding that the majority of the code is for parsing XML into records (for example, [everything in this folder](https://github.com/brendanlong/ocaml-ooxml/tree/master/spreadsheetml/src)). If this was JSON, I’d use atdgen, but it doesn’t seem to support XML. Is there some sort of code-generation tool for XML?

---

_[View the full topic](https://discuss.ocaml.org/t/atdgen-for-xml/1498)._
