James, Rob,

Thanks for the input on my XML question. Although I remain baffled by why
someone would want to export a straight and simple table (about 120 rows,
three columns, of which two are numeric) in XML rather than csv format I
think I got it working.

>In the "quick and dirty" category is xml_parse_into_struct() which
>can take the XML and turn it into a deep associative array:
>
>http://us.php.net/manual/en/function.xml-parse-into-struct.php
>
>It may be the simplest to work with and if your data is fairly simple and
>regular then you can probably get it to work for you.
That was what did the trick. Of course my solution got a bit more extensive
as I always try to write generic rather than site specific code (to be able
to reuse it for another customer...), but it still remained 'quick and
dirty' and is working.
Should have studied the manuals a bit more though before asking an obvious
question.

Marc

Reply via email to