···343343 and returning a set with TOML-specific attributes `type` and
344344 `generate` as specified [below](#pkgs-formats-result).
345345346346+`pkgs.formats.xml` { format ? "badgerfish", withHeader ? true}
347347+348348+: A function taking an attribute set with values
349349+ and returning a set with XML-specific attributes `type` and
350350+ `generate` as specified [below](#pkgs-formats-result).
351351+352352+ `format`
353353+354354+ : Input format. Because XML can not be translated one-to-one, we have to use intermediate formats. Possible values:
355355+ - `"badgerfish"`: Uses [badgerfish](http://www.sklar.com/badgerfish/) conversion.
356356+357357+ `withHeader`
358358+359359+ : Outputs the xml with header.
360360+346361`pkgs.formats.cdn` { }
347362348363: A function taking an empty attribute set (for future extensibility)