摘要: <?php function addCData($xmlObj,$cdata_text) { $node= dom_import_simplexml($xmlObj); $no = $node->ownerDocument; $node->appendChild($no->createCDATASection($cdata_text)); } function addChildCData($xmlObj,$name,$cdata_text) { $child = $xmlObj->addChild($name); addCD... 阅读全文
posted @ 2013-02-26 16:45 赵治鲁 阅读(316) 评论(0) 推荐(0) 编辑