common/tools/split_sysdef.pl
changeset 1077 f16ac94c147c
parent 1075 20205e7ab525
child 1078 551e851f4b49
--- a/common/tools/split_sysdef.pl	Mon Jun 07 15:04:21 2010 +0100
+++ b/common/tools/split_sysdef.pl	Mon Jun 07 15:17:50 2010 +0100
@@ -95,8 +95,8 @@
 my $systemmodel_attributes = $systemmodel->getAttributes();
 my $systemmodel_attributes_tostring = '';
 for ($systemmodel_attributes->getValues) {$systemmodel_attributes_tostring .= " ".$_->getName."=\"".$_->getValue."\"";}
-$packagedef_header .= "<systemModel$systemmodel_attributes_tostring>\n";
-$packagedef_trailer = "\n</systemModel>".$packagedef_trailer;
+$packagedef_header .= " <systemModel$systemmodel_attributes_tostring>\n";
+$packagedef_trailer = "\n </systemModel>".$packagedef_trailer;
 
 for my $layer ( $systemmodel->getElementsByTagName("layer") )
 {
@@ -105,8 +105,8 @@
 	my $layer_attributes = $layer->getAttributes();
 	my $layer_attributes_tostring = '';
 	for ($layer_attributes->getValues) {$layer_attributes_tostring .= " ".$_->getName."=\"".$_->getValue."\"";}
-	my $layer_header = "<layer$layer_attributes_tostring>\n";
-	my $layer_trailer = "\n</layer>";
+	my $layer_header = "  <layer$layer_attributes_tostring>\n   ";
+	my $layer_trailer = "\n  </layer>";
 	
 	for my $block ( $layer->getElementsByTagName("block") )
 	{