Re[2]: [PHP] Parsing an XML return from a POST - resend with a little more information
| From: | Richard Luckhurst | Date: | Wed, 10 Jan 2007 01:09:40 +0000 |
| Subject: | Re[2]: [PHP] Parsing an XML return from a POST - resend with a little more information | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246822@lists.php.net to get a copy of this message | ||
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 an end tag. I have a lot of data contained within the start tags
that I must extract.
RN> http://php.net/manual/en/ref.simplexml.php has quite a few
RN> examples in
RN> the user-contributed notes. Have you seen the manual?
RN>
Yes of course I have seen the manual.
RN> Many of the examples at •˜H@eC
RN> @i@6`‡f=http://php.net/manual/en/ref.simplexml.php use a
RN> string variable as the source.
Yes I know they do but the examples for xml_parse() do not use a string.
Regards,
Richard Luckhurst
Product Development
Exodus Systems - Sydney, Australia.
rluckhurst@resmaster.com