Hello, I need some help with the substringData function, it doesn't return anything. Am I doing something wrong?
Here is the code: ----------------- $xml = new XPath($filepath); $newsidentifier_eval = $xml->evaluate("NewsML/NewsEnvelope/DateAndTime"); echo $newsidentifier_eval[0] . " -- line1\n"; echo $xml->nodeName($newsidentifier_eval[0]) . " -- line2\n"; echo $xml->substringData($newsidentifier_eval[0]) . " -- line3\n"; Result: ------- /NewsML[1]/NewsEnvelope[1]/DateAndTime[1] -- line1 DateAndTime -- line2 -- line3 Thanks in advance. -- Pierre-Henri Delaval [EMAIL PROTECTED] Studio Wanadoo Lozenberg 22 - 1932 Zaventem Tel: +32 (0)2 717 18 07 -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https:[EMAIL PROTECTED]/ _______________________________________________ Phpxmldb-phpxml-arc mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/phpxmldb-phpxml-arc