Nmap Parser is a Perl module that simplifies the process of developing scripts and collecting information from the XML nmap scan data, which can be obtained by using nmap’s -oX switch or from the file handle of a pipe to an nmap process. It uses the XML twig library for parsing, and supports filters.
You can download it from the following link: https://packetstormsecurity.com/files/download/37838/Nmap-Parser-0.80.tar.gz
Source: https://packetstormsecurity.com/files/37838/Nmap-Parser-0.80.tar.gz.html