Re: XML Parser question

From: Date: Fri, 02 Sep 2005 16:28:05 +0000
Subject: Re: XML Parser question
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20757@lists.php.net to get a copy of this message
On 9/2/05, Stowe, Nola <NStowe@thettgroup.com> wrote: > When using the example in the documentation, it appears to only process the > first record and stop. > > > http://pear.php.net/manual/en/package.xml.xml-parser.example.php > > is there a way to process one record and then the next? > > I have SGML data similar to this: > > <record> > <name>Nola Stowe > <address>123 street > <city>Anytown > <state>ZZ > <postal>12312 > </record> > If it's not XML you can't parse it with a normal XML parse. Try a SAX parser. -- Justin Patrin

« previous php.pear.general (#20757) next »