You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Josh Mankoff <JM...@endeca.com> on 2001/10/29 17:04:51 UTC

getting number of characters, bytes, or lines parsed

I would like to report progress parsing an XML file by calculating what
percent of the file has been parsed. Is there any way to get some indication
of the current progress or location of the parser? The number of characters,
bytes or lines would be ideal because it should be relatively easy to get
the totals for any of these. It wouldn't be difficult to keep track of the
number of elements that have been parsed, but counting the total up front
would be time-consuming.

Thanks,
Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org