This is a discussion on Recommendations for parsing XML with PHP within the PHP Language forums, part of the PHP Programming Forums category; I am a novice with PHP, in fact so novice, that I come from the Windows world. I have successfully ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am a novice with PHP, in fact so novice, that I come from the
Windows world. I have successfully set up my Slackware distro on my laptop, downloaded, compiled and installed Apache 2.x and PHP 5.x. We have a configuration file an application of ours uses, that I wish to convert to XML and will be writing a WEB UI to change the XML. What PHP classes, source, scripts (what ever one calls it and please let me know) are there to read in a XML file, manipulate it and write back up. I am looking for some sample and hopefully instruction on how to install the extension (or what ever it might end up being)' Thanks Ralph Krausse |
|
|||
|
From Sams Teach Yourself PHP in 24 hours page 410 -
"In this section we will examin the mosta stable of PHP's XML tools. The parser functions enable us to access XML documents quickly and with minimal programming. The functions Jim Clarke's Expat Library (XML Parser Toolkit), which is available from http://www.jclark.com/xml/expat.html. If you are running Apache 1.3.7 or later, you will already have Expat bundled with your server, and you may find that the XML functions are available to you without the explicit compile options. Otherwise you should install Expat and add --with-xml to your configure options.....The parser model is 'event-based'. As components of the XML document are reached, user-created callback functions will be called." Hope this helps, Kyle "Ralph Krausse" <gordingin@consiliumsoft.com> wrote in message news:49eb6317.0410121325.6885d14c@posting.google.c om... >I am a novice with PHP, in fact so novice, that I come from the > Windows world. I have successfully set up my Slackware distro on my > laptop, downloaded, compiled and installed Apache 2.x and PHP 5.x. We > have a configuration file an application of ours uses, that I wish to > convert to XML and will be writing a WEB UI to change the XML. What > PHP classes, source, scripts (what ever one calls it and please let me > know) are there to read in a XML file, manipulate it and write back > up. I am looking for some sample and hopefully instruction on how to > install the extension (or what ever it might end up being)' > > > > Thanks > Ralph Krausse |