By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,441 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,441 IT Pros & Developers. It's quick & easy.

Recommendations for parsing XML with PHP

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <go*******@consiliumsoft.com> wrote in message
news:49**************************@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

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.