XML Dom Parsing

From: Date: Thu, 14 Apr 2005 13:50:35 +0000
Subject: XML Dom Parsing
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37235@lists.php.net to get a copy of this message
Hi Guys/Gals, Some advice please. I need to parse an XML result set from a server. I've been using XML_Parser and deriving a new class per Request Type. This does not work as well as expected, mostly because the XML_Parser looks for specific tags. My XML Docs have quite a bit of CData and Key/Value pairs, e.g. <entry><key><string>My Key</string><value><string>My Value</string></value></entry> which makes looking for specific tags useless. I need a DOM. I don't see any PEAR DOM classes, and I don't particularly want to rely on the user having included DOM support in his/her PHP.* * Thanks, Willo van der Merwe ______________________________ W&C Information Consultants CC Service Excellence for the Internet Tel: (012) 643 0288 Fax: (012) 643 0287 Cell: 083 445 4798

« previous php.pear.dev (#37235) next »