[jdom-interest] (no subject)
mark.wilson at wilsoncom.de
Wed Jul 17 06:19:20 PDT 2002
you could use the count() function in xpath in order to program a
From: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org]
On Behalf Of Adrian Jetzer
Sent: Wednesday, July 17, 2002 2:27 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] (no subject)
I'm parsing a xml-file. The file has a specific amount
Is there a way to know, on which line of the file
the parser in a particular moment is?
For example. After I read (parsed) several elements of
the xml file, I would like to know, on which line
of the file the "actual-file-pointer" is.
I don't want to know the line-number for every element.
Just sometimes I want to check, on which line the
For what do I use this?
I want to use it for a progress bar. I want to show the
user how far the parsing process is. I know the total
amount of lines in the file. So with some checkpoints
(hey parser, on which line are you now?) I can realise
a progress bar ....
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest