EctoXml.BuildHelper (ecto_xml v0.1.0)

Build helper functions for EctoXml.

Link to this section Summary

Functions

Builds one XML element for a given field value.

Builds a list of XML elements for a given ecto schema.

Link to this section Functions

Link to this function

build_xml_element(value, key, base_module)

Specs

build_xml_element(any(), atom(), module()) :: tuple()

Builds one XML element for a given field value.

Link to this function

build_xml_elements(data, base_module)

Specs

build_xml_elements(map(), module()) :: [tuple()]

Builds a list of XML elements for a given ecto schema.