in reply to Re: parsing various xml responses
in thread parsing various xml responses

Yes, when I exit out with output to test it I print to html this:
print qq~ \$root->{xml}->{PayoneerResponse}->{Echo}->{Status}->{value}='~, $root +->{xml}->{PayoneerResponse}->{Echo}->{Status}->{value}, qq~'; \$root->{PayoneerResponse}->{Echo}->{Status}->{value}='~, $root->{Payo +neerResponse}->{Echo}->{Status}->{value}, qq~'; \$root->{Status}->{value}='~, $root->{Status}->{value}, qq~'; ~;
Which prints this to the HTML output:
$root->{xml}->{PayoneerResponse}->{Echo}->{Status}->{value}='';
$root->{PayoneerResponse}->{Echo}->{Status}->{value}='';
$root->{Status}->{value}='';

So I have tried a lot of different ways and cannot get it to work.

Can you see what I'm doing wrong in the $root variables or anything?

Thanks
Richard

Replies are listed 'Best First'.
Re^3: parsing various xml responses
by Anonymous Monk on Dec 14, 2009 at 02:54 UTC
    I even tried taking out the other -> in the code:
    print qq~ \$root->{PayoneerResponse}{Echo}{Status}{value}='~, $root->{PayoneerRe +sponse}{Echo}{Status}{value} ,qq~'; \$root->{Status}{value}='~, $root->{Status}{value}, qq~'; ~;
    which prints this result:
    $root->{PayoneerResponse}{Echo}{Status}{value}='';
    $root->{Status}{value}='';

    Still does not work.

    Richard
Re^3: parsing various xml responses
by Anonymous Monk on Dec 14, 2009 at 03:07 UTC
    I got it to work... I had an error up top.

    Thank you much!

    Richard