[development] trouble destructing xml

jeff at ayendesigns.com jeff at ayendesigns.com
Fri Mar 25 01:58:29 UTC 2011

Thanks for the replies...but no joy yet. The XML data looks like this 
(I'm minimizing it)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<cn doc="true" er="164" kw="false" ne="true" sc="9.647706" sr="164" 
t="unk">here I am</cn>

and I have

     $t = simplexml_load_file('text.xml','SimpleXMLElement', 
as $k) {

The first dsm immediately after loading the file does not show the seven 
'cn' elements that I have, and the second is empty because the foreach 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110324/bf49fad6/attachment.html 

More information about the development mailing list