From ff7e48230560156b2c48013113cd4efcf653a07e Mon Sep 17 00:00:00 2001 From: "www@jspc55" Date: Mon, 30 Jun 2014 13:57:17 +0200 Subject: [PATCH] parsing of system xml files: renamed top level node to to reduce ambiguity --- tools/start.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/start.pl b/tools/start.pl index 403ac41..e492cb0 100755 --- a/tools/start.pl +++ b/tools/start.pl @@ -35,7 +35,7 @@ unless(-e $systemFile) {die "System file $systemFile not found\n";} my $parser = XML::LibXML->new(line_numbers => 1); my $db = $parser->parse_file($systemFile); -my $ccu = hex($db->findvalue("/DaqSetup/ccu/\@address")); +my $ccu = hex($db->findvalue("/system/ccu/\@address")); my(@hub,@gbe,@roc); for my $n ($db->findnodes("//hub")) { push(@hub,hex($n->findvalue("./\@address"))); -- 2.43.0