U
uestebanez
Hi everybody!
I have a little problem working with libxml SAX API.
The problem is that I don't know how to stop parsing when I have
processed the data I need. I don't want to parse all file, I only need
read until I reach certain part of the xml and then stop parsing.
Does anybody know how to stop?
Another question is, Is necessary free any memory when I am using SAX
API?
I only call to "xmlSAXUserParseFile" and then callbacks "call me" so I
store the values in my own data structures and I never release
"nothing". Is this right?
Thanks to all.
PS: I would be very nice if some of you can tell me a good SAX API
tutorial.
I have a little problem working with libxml SAX API.
The problem is that I don't know how to stop parsing when I have
processed the data I need. I don't want to parse all file, I only need
read until I reach certain part of the xml and then stop parsing.
Does anybody know how to stop?
Another question is, Is necessary free any memory when I am using SAX
API?
I only call to "xmlSAXUserParseFile" and then callbacks "call me" so I
store the values in my own data structures and I never release
"nothing". Is this right?
Thanks to all.
PS: I would be very nice if some of you can tell me a good SAX API
tutorial.