View Source API Reference xml_builder_ex v3.1.4159

Modules

A module for generating XML

The internal representation of the XML element, responsible for parsing and normalization.

Base behaviour for all the formatters. There are two defauls formatters included: XmlBuilder.Format.None and XmlBuilder.Format.Indented.

Format for XmlBuilder.generate/2 to produce a human-readable indented XML. Unlike XmlBuilder.Format.None, this formatter produces a human readable XML, indented with tabs and new lines, like this

Format for XmlBuilder.generate/2 to produce a machine-readable aka minified XML. Unlike XmlBuilder.Format.Indented, this formatter does not produce a human readable XML, it simply spits out elements one immediately after another, like this

Format for XmlBuilder.generate/2 to produce a human-readable indented XML. Like XmlBuilder.Format.Indented, but indents the content with tabs instead of spaces.