473,395 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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
Jul 17 '05 #1
1 1552
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Linus Nikander | last post by:
Browsing peoples comments at amazon might be rewarding, but it sure takes a lot of time. I'm trying to find good (best) books for a couple of java-related areas. As most people who subscribe to...
8
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $...
6
by: Peter E. Granger | last post by:
First, I would like to apologize in advance if this is not the appropriate place to post this message; of the .NET-related newsgroups I found, this seemed to be the most general. If the information...
25
by: Elizabeth | last post by:
Can you all give me your best recommendation(s) for books on AJAX ? Thanks ... - E -
70
by: Jonathan Pritchard | last post by:
Out of which of the Microsoft Visual C++ range would anyone recommend? I've been using Dev-C++, but I'd like code completion and I guess I want to see what a commercial IDE looks like. Thanks in...
4
by: Donnie Rhodes | last post by:
Hi. I've been sort of standing back on the sidelines reading this list for awhile, and this is my first posting. So a little about myself and my skill level. My name is Bryan. I'm new to Python and...
10
by: SusanV | last post by:
Time to learn something new, anyone have any recommendations for a good reference book on ASP.Net? Also recommendations on AJAX would be most welcome. TIA, SusanV
7
by: Rozzy | last post by:
Hi, I need some recommendations for uploading files to the server. Right now I have a php script that uses ftp to upload, download, and delete files, and everything works fine for small files. ...
11
by: Logos | last post by:
I'm having a terrible time finding an IDE that will do *all* the things I want it to do, and was hoping for suggestions from people more experienced than I. Here's a laundry list of things I'm...
3
by: Brian Simmons | last post by:
Hi All, We've done a lot of google'ing and demo downloading/installing of a bunch of ASP.net CMS solutions out there. But, I want to get some real-world opinions/recommendations of what...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.