XML::Reader provides a simple and easy to use interface for sequentially parsing XML files (so called "pull-mode" parsing) and at the same time keeps track of the complete XML-path. It was developped as a wrapper on top of XML::Parser. WWW: https://metacpan.org/release/XML-Reader