You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Can't synchronously parse XML with nested async/await callbacks with sax-js (https://github.com/isaacs/sax-js).
Describe the solution you'd like
Looking for another sax lib which supports pause/resume parsing and events for synchronous XML processing with nested async/await callbacks.
Привет :)
Thank you for your interest in this project!
This is (for the most part) is just a port of isaacs/sax-js library.
If what you're looking for is not present in isaacs/sax-js, then it's most likely not present in Maxim-Mazurok/sax-ts.
Regarding your question, it's kind of the point of this library that it's not synchronous.
You'll have to create your own wrapper to make it work as you want.
You can look at NPM for packages that depend on isaacs/sax-js, some of them will give you an idea of how to create such a wrapper.
Is your feature request related to a problem? Please describe.
Can't synchronously parse XML with nested async/await callbacks with sax-js (https://github.com/isaacs/sax-js).
Describe the solution you'd like
Looking for another sax lib which supports pause/resume parsing and events for synchronous XML processing with nested async/await callbacks.
Describe alternatives you've considered
Found one solution https://github.com/leoz/sax-parser but it does not support stream processing.
Additional context
Callback example:
The text was updated successfully, but these errors were encountered: