change format again

This commit is contained in:
2023-04-28 11:15:09 +02:00
parent 88edeee596
commit 7354c2158a
12 changed files with 18 additions and 353 deletions

View File

@ -7,7 +7,7 @@ $conf = yaml_parse_file($file);
$xml = new DomDocument("1.0");
$xml->appendChild($xml->createProcessingInstruction("xml-stylesheet", "href='../results.xsl' type='text/xsl'"));
$root = $xml->appendChild($xml->createElement("lanScanConfig"));
$root = $xml->appendChild($xml->createElement("lanScan"));
$root->setAttribute("scanpath", "scans/$site.xml");
function appendArray($document, $node, $array) {