in reply to XML indexoffset question
I don't see how your question relates to Perl.
As XML is an abstract data storage format, I suggest you ask the people who you get the files from about the format and the meaning and intention of the tags and their values.
In Section
Seekers of Perl Wisdom