XML data to associative array
| From: | A. Giacomelli | Date: | Tue, 26 Sep 2000 12:26:52 +0000 |
| Subject: | XML data to associative array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17600@lists.php.net to get a copy of this message | ||
Hi,
I have the descriptions of some data in XML format, and I would like to
integrate these descriptions into a site built in PHP, using the XML
parser based on expat.
The simplest option I can think of is to re-map my XML data to an
associative array, after which I can apply my "style transformation" via
PHP.
From the examples provided in the reference manual and from searches in
the archives I have not found reference to similar approaches, so I
would like to understand whether this solution makes sense.
Thanks in advance for any feedback,
--
=========================================
Andrea Giacomelli
Centre for Advanced Studies, Research and
Development in Sardinia
Environment Group
http://www.crs4.it/~andreag
=========================================