<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bidimailui-detected-decoding-type="UTF-8" bgcolor="#ffffff"
text="#000000">
<font size="1"><font face="Times New Roman, serif"><big><big>Thanks
for the replies...but no joy yet. The XML data looks like
this (I'm minimizing it)<br>
<br>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
<document><br>
<channels><br>
<channel><br>
<episode><br>
<episode-content><br>
<doc><br>
<cncpts><br>
<cn doc="true" er="164"
kw="false" ne="true" sc="9.647706" sr="164" t="unk">here
I am</cn><br>
<br>
and I have<br>
<br>
$t = simplexml_load_file('text.xml','SimpleXMLElement',
LIBXML_NOCDATA);<br>
dsm($t);<br>
foreach
($t->channels->channel->nlp->episode->{episode-content}->doc->cncpts->cn
as $k) {<br>
$dsm($k);<br>
}<br>
<br>
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 complains.<br>
</big></big></font></font>
</body>
</html>