By using the FileChannel#position you can know where the XML Reader is. Please use it as reading a huge XML file can take minutes.