Use XML as a Data File Type

It would be nice to provide XML as an available data type to load. Currently, Hugo accepts, TOML, YAML, JSON, and CSV. Is there any reason XML is amongst the available formats?


So, in /data there iare toml/yaml/json – which all fits into the tree like data structure of /data. Adding XML to those would probably seem natuall, but you are the first asking for it. You should create a GitHub issue.

Just added the Github issue.


This would be an awesome addition.


Is something new about this? I have an api based on this format and I want to find a temporary solution.

The best solution I can think of is converting XML to JSON. You can find some online converters.

XML as a data format currently has the v0.60 milestone. So it does not have top priority, I guess.