Recommendations for parsing XML with PHP

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-12-2004
Ralph Krausse
 
Posts: n/a
Default Recommendations for parsing XML with PHP

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
Reply With Quote
  #2 (permalink)  
Old 10-13-2004
Kyle Hayes
 
Posts: n/a
Default Re: Recommendations for parsing XML with PHP

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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0