saxy
saxy copied to clipboard
Fast SAX parser and encoder for XML in Elixir
I'm trying to use `Saxy` to convert a streaming XML resource into e SAX event-stream. I'm having a hard time though with closing the document. I wonder if `Saxy` could...
Just sharing a bit of code I'm using. For some context, I'm starting to use Saxy to build XML queries during testing. I must compare them to a baseline template,...
#107 This fix broke one doc test in `simple_form`. After going through the details, it seems fair to make the change since in the example, we are treating `cdata` section...
Run following code: ``` {:ok, x} = Saxy.SimpleForm.parse_string("test&test") Saxy.encode!(x) ``` It should return exactly same original XML output but it changes `&` to `&`. This also produces invalid XML which...
I'm afraid I'm pushing it too hard, but here it goes ... Just a few test for the feature added a few days ago ...
Hi again! The last time we spoke I've been using Saxy to create an RSS feed parser and after successfully implementing the RSS 2.0 spec, I'm now trying to make...
Maybe I'm missing something, but is there a way to stop parsing with a `:error` tuple which is directly passed through as the overall result? I'm using Saxy for writing...
## XML String ```elixir data = "" ``` Here, the encoding value is `ISO-8859-1`. Now, if I try run simple form it is giving me the following error ## Error...
Let the user pass a function to `Saxy.parse_*` instead of callback module for simple use cases. For example: ```elixir Saxy.parse_string(xml, fn(event, acc) -> IO.inspect(event) acc end, []) ```