Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

    Pereant, qui ante nos nostra dixerunt!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2018-02-24 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (310 votes). Check out past polls.

    Notices?