<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Courier size=2>Hi there!</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>I'm parsing a xml-file. The file has a specific
amount</FONT></DIV>
<DIV><FONT face=Courier size=2>of elements. </FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Is there a way to know, on which line of the
file </FONT></DIV>
<DIV><FONT face=Courier size=2>the parser in a </FONT><FONT face=Courier
size=2>particular moment is?</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>For example. After I read (parsed) several
elements of</FONT></DIV>
<DIV><FONT face=Courier size=2>the xml file, I would like to know, on which
line</FONT></DIV>
<DIV><FONT face=Courier size=2>of the file the "actual-file-pointer"
is.</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>I don't want to know the line-number for every
element.</FONT></DIV>
<DIV><FONT face=Courier size=2>Just sometimes I want to check, on which line
the</FONT></DIV>
<DIV><FONT face=Courier size=2>parser is.</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>For what do I use this?</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>I want to use it for a progress bar. I want to
show the</FONT></DIV>
<DIV><FONT face=Courier size=2>user how far the parsing process is. I know the
total</FONT></DIV>
<DIV><FONT face=Courier size=2>amount of lines in the file. So with some
checkpoints</FONT></DIV>
<DIV><FONT face=Courier size=2>(hey parser, on which line
are you now?) I can </FONT> <FONT face=Courier
size=2>realise</FONT></DIV>
<DIV><FONT face=Courier size=2>a progress bar ....</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>Adrian</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV></BODY></HTML>