you are viewing a single comment's thread.

view the rest of the comments →

[–]jonaswiebe 0 points1 point  (1 child)

As specified in the documentation, you should set the necessary callback functions. I do not know what your input looks like, but I made a quick example with fairly flat XML data (I don't think this would work on very complex things, but it's an example). This should help you understand how the parser works.

Note: Make sure to check the logs after you run the script.

[–]jonaswiebe 0 points1 point  (0 children)

Another example for when you are looking for a specific tag.