thanks wind.. this works.. but the user would have to specify the values of tags as an when he is scripting.. and therefore I cannot hard code the values inside the tag.. for this purpose..I have something like..
$xml = { Parameter => [] };
push( @{ $xml->{Parameter} }
, { key => $hash->{Key}, content => $hash->{Value} }
);
but this prints something like
<Parameter key="ID1">Some Process a</Parameter>
<Parameter key="ID2">Some Process b</Parameter>
<Parameter key="ID3">Some Process c</Parameter>
if I also want the ParameterGroup ID to be given by the user how can i do it..