SiteMinder / Webhosting
The Computer Merchant, Ltd
US-MA-North Quincy

Justtechjobs.com Post A Job | Post A Resume

Converting XML Into A PHP Data Structure
Does It Taste As Good As It XMLs?
In the last few years, XML has received great media attention, and most languages support the parsing and extraction of data from XML documents. Besides being a great three-letter anacronym to sprinkle on your resumé, XML is actually a useful data storage structure for PHP programmers.
Before you begin to use XML, you must first determine if your project really needs what XML offers. There are alternative data storage formats like fixed-width column files, tab-delimited files, CSV files, and database tables, but these formats typically can only manage a simple grid of rows and columns of data. XML provides several additional benefits for programmers including:
  • data format abstraction,
  • simple document tag/data validation,
  • the ability to store data in a tree-like heirarchy,
  • platform independence,
  • ease of integration,
  • and more...
...but you already know that. What you want to do is use XML data inside your sparkling new web application. We'll explore one simple way to do this in the remainder of this article.
[ Next Page ]


Comments:
function calling from java scriptlampsunil08/02/05 05:31
RE: Xml to Array, another simple solution...ans04/29/05 06:57
Another optionEdemilson Lima01/15/04 13:19
looking for solutionlakshman12/19/03 05:40
Excellent job!escobar09/16/03 13:09
computernorman02/28/03 05:59
Thanks for the excellent articleRob Keniger02/11/03 09:31
xml2array+array2xml alternativeTulpe02/03/03 08:35
Use the best option... Benjamin Smith02/03/03 00:59
Xml to Array, another simple solution...marcoBR01/10/03 20:51
XML module for PHPPhillip.01/10/03 13:27
Well doneSam12/30/02 16:01
ArrayRGJ12/27/02 08:53
Great article!Tormod12/25/02 11:38
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.