matrixmadhan has asked for the wisdom of the Perl Monks concerning the following question:
And this will give an output of the formuse strict; use XML::Generator; my $attribute_name = 'book'; my $value = 'value'; my $attribute_value = 'Camel book'; my $xml_handle = XML::Generator->new( pretty => 4 ); print $xml_handle->$attribute_name($xml_handle->$value($attribute_ +value)); print "\n"; exit(0);
print $xml_handle->$attribute_name($xml_handle->$value(@$attribute_val +ue));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple value tags for xml element using XML::Generator
by ikegami (Patriarch) on Nov 26, 2008 at 07:05 UTC | |
by matrixmadhan (Beadle) on Nov 26, 2008 at 07:22 UTC | |
by ikegami (Patriarch) on Nov 26, 2008 at 13:57 UTC | |
by matrixmadhan (Beadle) on Nov 26, 2008 at 15:32 UTC |