Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-10 Thread Jochem Maas
Richard Luckhurst wrote: > Hi Jochem, > > Thanks for your reply > >>> >>> > > JM> I'm fairly certain that this 'ypsilon' tag is going to cause a > JM> problem - although that's just a guess, it's based on the 'knowledge' > JM> that a valid XML document *must* have only 1 root element > JM> (wh

Re[2]: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-10 Thread Richard Luckhurst
Hi Jochem, Thanks for your reply >> >> >> JM> I'm fairly certain that this 'ypsilon' tag is going to cause a JM> problem - although that's just a guess, it's based on the 'knowledge' JM> that a valid XML document *must* have only 1 root element JM> (which would be 'fareResponse' in this case)

Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-10 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-10 09:52:34 +: > That ypsilon is a *preprocessing instruction* AFAICT. s/pre// -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mai

Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-10 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-10 09:38:30 +0100: > Richard Luckhurst wrote: > > Hi Jochem, > > > > Thanks for your reply. Here is a short sample of the XML I have to parse. I > > need > > the data in the attributes as well as the data in the character fields. > > > > > > > > I'm fairly certai

Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-10 Thread Jochem Maas
Richard Luckhurst wrote: > Hi Jochem, > > Thanks for your reply. Here is a short sample of the XML I have to parse. I > need > the data in the attributes as well as the data in the character fields. > > > I'm fairly certain that this 'ypsilon' tag is going to cause a problem - although that's

Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-09 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-10 18:23:19 +1100: > So far I have had no luck with simpleXML at all. So far I am not convinced you have tried it at all. Show us the code you wrote and describe how its behavior differs from your expectations. -- How many Vietnam vets does it take to screw in a li

Re[2]: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-09 Thread Richard Luckhurst
Hi Jochem, Thanks for your reply. Here is a short sample of the XML I have to parse. I need the data in the attributes as well as the data in the character fields. VLOX2 VLOX2 VLOX2

Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-09 Thread Jochem Maas
Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2007-01-10 12:09:40 +1100: >> RN> What makes you think simplexml is not for you? I don't say it is, but >> RN> you need to tell us exactly what you need. >> RN> >> >> From what I can see, unless I am mistaken, SimpleXML can not deal with >> attributes

Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-09 Thread Andrei
Hi, From all XML parsers I tried I loved the most: www.phpclasses.org/browse/package/1328.html The advantage is that you don't need any extra addons to php or anything else. It's pure php. Andrei Richard Luckhurst wrote: > Hi List > > I am sending this to the list again with a

Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-09 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-10 12:09:40 +1100: > RN> What makes you think simplexml is not for you? I don't say it is, but > RN> you need to tell us exactly what you need. > RN> > > From what I can see, unless I am mistaken, SimpleXML can not deal with > attributes within a tag. It only seems to

Re[2]: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-09 Thread Richard Luckhurst
Hi Roman, RN> What makes you think simplexml is not for you? I don't say it is, but RN> you need to tell us exactly what you need. RN> From what I can see, unless I am mistaken, SimpleXML can not deal with attributes within a tag. It only seems to deal with data contained between a start tag and

Re: [PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-09 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-10 09:47:39 +1100: > I have spent most of last night and today looking at XML parsing and now am > totally confused. Some testing I have done suggests that SimpleXML is not the > way to go however I am open to suggestions if it might be an answer. What makes you think

[PHP] Parsing an XML return from a POST - resend with a little more information

2007-01-09 Thread Richard Luckhurst
Hi List I am sending this to the list again with a bit more information in the hope I can get some help. There is a requirement to send a request to a server and I now have that working using cURL, thanks to help from this list. I now have the responses coming back as an XML response. What I need

[PHP] Parsing an XML return from a POST

2007-01-08 Thread Richard Luckhurst
Hi List I am working owards completing a rather urgent project for one of our clients. There is a requirement to send a request to a server and I now have that working using cURL, thanks to help from this list. I now have the responses coming back as an XML response. What I need to do is to parse