Libxmljs async sax parser example

226 views
Skip to first unread message

Marco Rogers

unread,
Jul 21, 2010, 8:45:47 AM7/21/10
to nodejs
Several people have asked about async parsing in libxmljs. The sax
parser works fine. But maybe not everyone knows how it works. I
spent some time on an illustrative example.

http://gist.github.com/484083

This is using the push parser. The normal pull parser works the same,
but you don't have to manually feed in the file data. Feedback is
always appreciated.

:Marco
Reply all
Reply to author
Forward
0 new messages