[xml] Passing user data when using xmlTextReader



Hello,
I would like to use the xmlTextReader interface for parsing my XML
file, but in the parsing routine handler that is called, I need to set
some of my own data depending upon the element's value, but I don't
see any way to pass in my own user data or a void * like you can do in
expat. Is this possible? I don't want to make my struct a global - I'd
like it to be passed into the parsing function directly.

Thank you
Evan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]