note 32463 rejected from function.domelement-set-attribute by derick

From: Date: Wed, 28 May 2003 13:56:54 +0000
Subject: note 32463 rejected from function.domelement-set-attribute by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49175@lists.php.net to get a copy of this message
Note Submitter: anton ---- <pre> // Simplified Chinese, national standard character set. $doc = domxml_open_mem('<?xml version="1.0" encoding="gb2312" ?><data/>'); $root = $doc->document_element(); $node = $doc->create_element("para"); $root->append_child($node); $node->set_attribute("name","&#28814;&#24037;&#20316;"); echo ($root->dump_mem(true)); RESULT <?xml version="1.0" encoding="gb2312"?> <data> <para name="&amp;#28814;&amp;#24037;&amp;#20316;"/> </data> Can I set 'normal' value? </pre>

« previous php.notes (#49175) next »