[thelist] PHP + XML + Array problem

DESCHAMPS Stéphane DvSI/SICoR stephane.deschamps at francetelecom.com
Fri Mar 21 04:59:35 CST 2003


> -----Message d'origine-----
> De : thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org]De la part de Burhan Khalid
> 
> Hello List :
> 
>       New to XML (but not new to PHP), and doing my first XML + PHP
>       project and ran into a snag.
> 
>       I am reading an XML file that has this format :
> 
>       <countries>
>         <country name="Afghanistan">
>                 <state name="Afghanistan" url="AFG.xml" />
>         </country>
>         ...
>       </countries>
> 
>       I have managed to get PHP to make an array from this file that's
>       of this format (print_r() output) :

Hi Burhan,

I'd be curious (like some other people I expect) to see your XML->array code. I haven't extracted data from XML yet and for sheer curiosity could we have a peek at it?

TIA
stef



More information about the thelist mailing list