-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sax #34
Comments
Hmm, interesting. We currently don't have any plans to support SAX style parsing. If you're feeling ambitious, I'd say go for it! I believe libxml has some support for it. |
It's not immediately obvious from the documentation, but you can do SAX processing using the standard 'encoding/xml" package. You need to consume Decoder.Token until you get an io.EOF (or some other error); switch on the token type (xml.StartElement, xml.CharData, etc) and either do your handling or push something to a channel to represent an event. |
The standard |
Do you guys have any plans for sax? We are starting to be needing it, might implement it. So was going to check if you had started it or had any ideas/concerns
The text was updated successfully, but these errors were encountered: