From 8ad317c706d3b42fcc5852a9c12c55e13dfb109c Mon Sep 17 00:00:00 2001 From: david Date: Thu, 16 Jul 2009 19:26:35 +0000 Subject: [PATCH] Add a description of XML output to the Ndiff man page. Still need to fill in the output examples. --- ndiff/docs/ndiff.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/ndiff/docs/ndiff.xml b/ndiff/docs/ndiff.xml index f738d4e0d..a3461037c 100644 --- a/ndiff/docs/ndiff.xml +++ b/ndiff/docs/ndiff.xml @@ -131,6 +131,34 @@ Ndiff text output + + + + + XML output, intended to be processed by other programs, is selected + with the option. It is based on Nmap's XML + output, with a few additional elements to indicate differences. The + XML document is enclosed in nmapdiff and + scandiff elements. Host differences are enclosed + in hostdiff tags and port differences are + enclosed in portdiff tags. Inside a + hostdiff or portdiff, + a and b tags show the state of + the host or port in the first scan (a) or the + second scan (b). + + + + shows the XML diff of the + same scans shown above in + . + + + + Ndiff XML output + +