WechatPay v0.8.0 WechatPay.Utils.XMLBuilder View Source
Module to convert a map to XML string
Link to this section Summary
Functions
Convert a map to XML string
Link to this section Functions
Link to this function
to_xml(data) View Source
Convert a map to XML string
Example
iex> WechatPay.Utils.XMLBuilder.to_xml(%{foo: "bar"})
...> "<xml><foo><![CDATA[bar]]></foo></xml>"