Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Given an .xml output file from a nmap scan, how would you suggest to generate an html report from this file?

nmap proposes the following utility with shell (reference):

  1. xsltproc

    xsltproc <nmap-output.xml> -o <nmap-output.html> 
    
  2. Saxon

    java -jar saxon9.jar -s:<nmap-output.xml> -o:<nmap-output.html>
    
  3. Xalan

    Xalan -a <nmap-output.xml> -o <nmap-output.html>
    

Which python code can I use instead of one of those commands?

PS: I am looking for a solution valid on Unices and Windows (running bash from pyhon is not a solution)

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.