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.
b1cb43acd2a90f0732bc6ede1f3fcda8ad7c8b31a2db124bf65fad75ba671019