in reply to Re^3: Which XML module to use for this scenario?
in thread Which XML module to use for this scenario?

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..

Replies are listed 'Best First'.
Re^5: Which XML module to use for this scenario?
by wind (Priest) on Apr 23, 2011 at 15:49 UTC
    Then don't output the xml until the user has specified the complete data set, and translate it just like I showed.