HTTPEx.Backend.Mock.XML (HTTPEx v0.2.3)

View Source

Summary

Functions

Parses the given XML and removes any clutter from it, so you can safely compare it with another XML string.

Functions

#element#(tag, data, attrs, parents, e)

#root#(data, arg2, arg3, e)

#text#(text)

#xml-inheritance#()

normalize(xml_string)

@spec normalize(String.t()) :: String.t() | nil

Parses the given XML and removes any clutter from it, so you can safely compare it with another XML string.