Re: XML - simple get data from elements

From: Date: Thu, 19 Apr 2001 01:20:34 +0000
Subject: Re: XML - simple get data from elements
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49296@lists.php.net to get a copy of this message
Hello, Mark Bean wrote: > > I have a valid XML file that all I want to do is assign to variables the > data in the elements <title> and <fulltext>. I know nothing about XML and > am not a programmer. Are there any good tutorials out there to do something > as simple as what I'm looking for? Will expat do what I'm looking for? I > think that I installed PHP properly for XML support. Is there a way to > verify this? You may want to try this XML generic parser class. What it does is to build an associative array of XML elements that you may traverse and assign the variables when you find the relevant XML tags. http://phpclasses.UpperDesign.com/browse.html/package/4 Manuel Lemos

« previous php.general (#49296) next »