Skip to content

Supports a callback function instead of a handler module #94

Description

@sntran

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, [])

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions