···343 and returning a set with TOML-specific attributes `type` and
344 `generate` as specified [below](#pkgs-formats-result).
345000000000000000346`pkgs.formats.cdn` { }
347348: A function taking an empty attribute set (for future extensibility)
···343 and returning a set with TOML-specific attributes `type` and
344 `generate` as specified [below](#pkgs-formats-result).
345346+`pkgs.formats.xml` { format ? "badgerfish", withHeader ? true}
347+348+: A function taking an attribute set with values
349+ and returning a set with XML-specific attributes `type` and
350+ `generate` as specified [below](#pkgs-formats-result).
351+352+ `format`
353+354+ : Input format. Because XML can not be translated one-to-one, we have to use intermediate formats. Possible values:
355+ - `"badgerfish"`: Uses [badgerfish](http://www.sklar.com/badgerfish/) conversion.
356+357+ `withHeader`
358+359+ : Outputs the xml with header.
360+361`pkgs.formats.cdn` { }
362363: A function taking an empty attribute set (for future extensibility)