
August 11th, 2005, 04:42 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
Parsing .xml
Hi,
I just read "Processing XML with PHP" by Timothy Boronczyk and tried it myself. It works good until I have an empty field.
For example:
<language type="interpreted">
<item>languagea</item>
<item></item>
<item>languageb</item>
</language>
Using the functions from the turorial I get an array with only two entries, but I also need the empty one. It seems as if expat just doesn't see this field?
What could I do to get this (empty) entry into my array?
Thank you in advance,
Mario
|