xml parsing

From: Date: Thu, 29 Jul 2004 19:54:19 +0000
Subject: xml parsing
Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-441@lists.php.net to get a copy of this message
I am kind of new at PHP, but have a good background in programming, so I am catching on quick. One thing I am trying to do is parse xml, similar to xslt, but without an xml parser such as Sablotron, so I am pretty much only using core PHP. The only problem I am having right now is how to divide up a line of the xml file. Currently I have loaded the file into an array using file(). I need to separate the following line, for example: <htitle>Welcome to SpanglerCo<login> <lname/></login></htitle> into an array with [<htitle>,Welcome to SpanglerCo,<login>,<lname/>,</login>,</htitle>] or something similar (or better). I would appreciate any help. Thank you, Paul Spangler SpanglerCo

« previous php.xml.dev (#441) next »