Try to generate a unique ID for each node

This is currently not always working across documents (at least with
libxml2).
This commit is contained in:
Pierre Pronchery 2018-09-20 16:33:45 +03:00
parent 793979819f
commit b18fd5b041

View File

@ -55,7 +55,7 @@
<!-- root -->
<!-- ............................................................ -->
<xsl:template match="/nmaprun">
<section id="nmap">
<section id="nmap-{generate-id()}">
<xsl:comment>generated with nmap.xsl - version <xsl:value-of select="$nmap_xsl_version" /> by Benjamin Erb - http://www.benjamin-erb.de/nmap_xsl.php - adapted for pentext by Pierre Pronchery - https://www.defora.org/</xsl:comment>
<title>Nmap Scan Report</title>
<section id="{generate-id()}" inexecsummary="no">