This is a Ruby library (module) for parsing Nmap's XML output. It can perform a scan with Nmap and parse its output straight from there, read and parse an XML file, or you can pass along a string of XML for parsing.
ac1d080c8e7e5e0c16569d77aa133077479062abcbf18a17e13f4e5ec2ac40c9