- or download this
<configuration>
<property>
<name>test1</name>
</property>
</configuration>
- or download this
my $parser =XML::LibXML->new();
my $doc =$parser->parse_file($file) or die $!;
...
$doc->setDocumentElement($root);
$doc->toFile($file,1);
- or download this
<configuration>
<property>
<name>test1</name>
</property>
<property><name>test2</name></property></configuration>
- or download this
<configuration>
<property>
...
<name>test2</name>
</property>
</configuration>