Re: [xml] Linx number available via SAX interface?

Date view Thread view Subject view Author view

From: Dave Doolin (doolin@cs.utk.edu)
Date: Fri Jul 28 2000 - 11:10:30 EDT


>
> I managed to figure it out after looking through the
> library more. I create a FileParserCtxt, then set my
> SAXHandler and set my 'user data'. The 'user data'
> structure contains a pointer back to the
> FileParserCtxt. When each SAX callback is invoked, I
> receive my own datastructure that now contains a
> pointer to the original context, and hence has the
> line number, file name etc.
>
> If anyone is interested, I can provide the code
> example to explain more.
>

This is for error handling right?

Example code would be great!

Thanks,

Dave D

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:24 EDT