Ok, try the following code:
function getContent ($n)
{
if (!($children = $n-children())) return '';
$content = '';
foreach ($children as $c) {
if ($c-type == XML_TEXT_NODE) {
$content .= $c-content;
}
}
return $content;
}
Then use getContent($n)
Thanks, but same results.
when I put the example code up there I also was thinking who would ever need
to set and then read the same information. Unfortunately our real case
scenario runs into this.
Just for reference: We have a complex workflow, so have no idea where we are
in the workflow we
Well, as far as I understand, the content thing is not
compltely imlpemented (there's even a note about this in the
source). Sadly, no time currently to fix it.
- Markus
On Wed, Feb 13, 2002 at 12:11:58PM -0500, Rob Richards wrote :
Thanks, but same results.
when I put the