Upload Nmap XML

How to generate an XML scan:

nmap -sV -oX output.xml 192.168.1.1

This scans the target and saves results in XML format