saxy
saxy copied to clipboard
Supports a callback function instead of a handler module
Let the user pass a function to Saxy.parse_* instead of callback module for simple use cases.
For example:
Saxy.parse_string(xml, fn(event, acc) ->
IO.inspect(event)
acc
end, [])