This is a newbie question so I hope it's not too dumb.
 
I want to parse an HTML document using Neko, and all I want to find out is the character position of particular nodes in the input stream.  I saw the XMLLocator interface, which I presume allows me to find out the line number and the column within the line, but it doesn't include the position from the start of the stream.
 
Is there an example somewhere of doing this with Neko?  I would really appreciate it if someone could help me with this, as I have nearly spent the whole day trying to figure it out from the source code.
 
Thanks in advance
Martin

Reply via email to