iNET Interactive - Online Advertising Agency
          
   Home    Authors    About    Login    Contact Us
   Search:   
Advanced Search     
  Articles

  ASP (26)
  ASP.NET (19)
  C and C++ (4)
  CFML (2)
  CGI and Perl (16)
  Flash (2)
  Java (7)
  JavaScript (28)
  PHP (92)
  MySQL (13)
  MSSQL (3)
  HTML (35)
  SEO (9)
  Visual Basic (12)
  CSS (13)
  SSI (5)
  XML (12)
  C# (14)

  Developer News

August 19, 2008
Dreamweaver 4 The Missing Manual - book review
About
 
August 19, 2008
Are you looking for a great free CMS?
About
 
August 19, 2008
Creating Web Pages For Kids & Parents - book review
About
 
August 19, 2008
What's Your Favorite Facebook or MySpace App?
About
 
August 19, 2008
Getting Started with Silverlight
HTML Goodies
 
August 19, 2008
Web analytics has a lot of jargon
About
 
Courtesy of moreover.com
 
Want to receive new articles via e-mail? Click here!
/Home /PHP

Parsing XML using PHP 

  Views:    86031
  Votes:    32
by Burhan Khalid 12/03/03 Rating: 

Synopsis:

This tutorial will show you how to parse XML files using the built-in PHP parser. The PHP parser (based on the expat library written by James Clark) is included with PHP installs. You can find out if your particular php installation has xml enabled by running the phpinfo(); command.
Pages: firstback2 3 4 5 6 7 8 9 forwardlast
The Article

Introduction and Pre-Requisites

This tutorial will explain how to parse (that is, read and interpret) information from a XML file using PHP.

I will discuss the very basics of XML (mainly structure), and then jump right in to the reading and parsing of XML files.

This is not a tutorial on XML itself, just parsing XML with PHP.

Pre-requisites :

  • Web server with PHP installed. No special extensions are needed for this tutorial.
  • Ability to save files on the webserver (either upload, or save directly)
Pages: firstback2 3 4 5 6 7 8 9 forwardlast

Similar/related articles:


 
  Sponsors