[dundee] Arrays, PHP and SOAP! In other words nothing to do with Linux

Sean McRobbie lug at seany.us
Mon Mar 16 08:36:14 UTC 2009


Hello,

Yeah, its transported as XML which is the problem. It would be ideal if it could be transported without alterations via SOAP/WSDL but afaik it can't.

All solved now though with the help of a friend, my logic wasn't far off.

Thanks!

Regards,
Sean McRobbie

----- Original Message -----
From: "Robert Ladyman" <it at file-away.co.uk>
To: "Tayside Linux User Group" <dundee at lists.lug.org.uk>
Sent: Monday, 16 March, 2009 08:18:27 GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [dundee] Arrays, PHP and SOAP! In other words nothing to do with Linux

Did you inherit this code or can you rewrite the orginal generation code? It 
looks very like an XML file dropped straight into a bunch of objects: perhaps 
the original generartion code has an additonal function to turn the data into 
the format you want.

Otherwise I think you'll have to brute-force it with a nest of "foreach"es: it 
should be easy enough (although if you are going to do that you might as well 
write the original parsing code, assuming my guess about the origin is 
correct).

On Monday 16 March 2009 03:21:45 Sean McRobbie wrote:
> Hi all,
>
> Sounds a bit noobish but is anyone able to help me figure out a *clean* way
> to do the following? All the googling has driven me insane!
>
> Please tell me there is a function I cannot find that does this:
> http://pastebin.com/m50d4e6ca
>
> Any help/comments would be greatly appreciated :D
>
> Regards,
> Sean McRobbie
>
> _______________________________________________
> dundee GNU/Linux Users Group mailing list
> dundee at lists.lug.org.uk  http://dundee.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/dundee
> Chat on IRC, #tlug on dundee.lug.org.uk

-- 

Robert Ladyman
File-Away Limited, 32 Church Street, Newtyle
Perthshire, PH12 8TZ SCOTLAND
Registered in Scotland, Company Number SC222086
Tel: +44 (0) 1828 898 158
Mobile: +44 (0) 7732 771 649
http://www.file-away.co.uk


_______________________________________________
dundee GNU/Linux Users Group mailing list
dundee at lists.lug.org.uk  http://dundee.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/dundee
Chat on IRC, #tlug on dundee.lug.org.uk



More information about the dundee mailing list