Re: parsing XML turorials, suggestions

From: Date: Wed, 07 Nov 2001 02:12:35 +0000
Subject: Re: parsing XML turorials, suggestions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-73666@lists.php.net to get a copy of this message
In <E15yJUc-0004NM-00@server.reiniger.mayn.de>, Christian Reiniger wrote: It really depends on what your end use for the XML is. If you are extracting data (XML DOM nodes really) and want to do complex stuff with it, then you will want to look at the DOM XML functions especially the XPath functions (also lookup XPath search syntax on the web). If you just want to extract arbitrary data from the XML files to be displayed as HTML, I would recommend using XSLT and learning the XSL syntax (which uses XPath as well). In the long run, you will find that there are alot of really neat and useful XML-related tools out there that can do tons with the same one XML file you got. Jeff > On Monday 29 October 2001 16:25, bill wrote: >> Need to get started parsing XML documents. I've developed a program to >> write them XML a database, but now I need to read them to obtain, for >> example, the (cdata) value of <title> which is nested inside <book>, >> etc. >> >> What's the best place to start? Does DOMXML have a future? > > Sure. But it's a bit overkill if you just want to read XML > (sequentially). http://php.net/manual/en/ref.xml.html >

« previous php.general (#73666) next »