Documentation
replaceValue
usage
$XMLNode->replaceValue( string value )
exemples
include_once("../Kernel/common/nql.class.php");
$nql = new NQL(false);
$nql->addCommand('<GET name="item"><CONTACT ID="1857"/></GET>');
$nql->execute();
$birthday = $nql->getElement("/RESPONSE/RESULTS[@name='item']/CONTACT/INFO/BIRTHDAY");
$birthday->replaceValue('1979-05-09');
$nql->transform('IDCard.xsl');