Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: XML Parser clobbering Multiple occurances of element

by Tanktalus (Canon)
on Aug 12, 2005 at 14:09 UTC ( #483283=note: print w/replies, xml ) Need Help??

in reply to XML Parser clobbering Multiple occurances of element

A brief check of SOAP::Lite's documentation shows that you probably want to call paramsout in list context: my @rows = $soap->paramsout(), or you want to use valueof with an XPath for each row - e.g., //ROW[0], //ROW[1], and //ROW[2]. Looking at all this, I'm thinking it'd be easier/more straight forward to take the XML and pump it through XML::Twig to get a reasonable object-oriented output rather than the hashes - XML::Twig handles so-called "duplicate" entries in a very straight-forward manner, IMO.

Replies are listed 'Best First'.
Re^2: XML Parser clobbering Multiple occurances of element
by Random_Walk (Prior) on Aug 12, 2005 at 14:27 UTC

    Hi Tanktalus

    I already tried paramsout and paramsall in list context with a  print "paramsall: ", (join ", ", $response->paramsall) which just shows the one solitary object, the same that result returns. I am now going to take a look at XML::Twig and gellyfish's hint to look at the SOAP::SOM docs.

    Thanks for the help,

    Pereant, qui ante nos nostra dixerunt!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483283]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2018-06-17 22:59 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.