XMLCustomWriter::appendChild($childNode, $textNode); XMLCustomWriter::appendChild($node, $childNode); }return$childNode; } 开发者ID:LiteratimBi,项目名称:jupitertfn,代码行数:11,代码来源:XMLCustomWriter.inc.php 示例2: explode ▲点赞 7▼ /** * Create a new XML node. *@param$doc XMLNode...
XMLCustomWriter::setAttribute($emailTextNode,'key', $emailKey);//append subject node$subjectNode = XMLCustomWriter::createChildWithText($doc, $emailTextNode,'subject', $subject,false); XMLCustomWriter::appendChild($emailTextNode, $subjectNode);//append body node$bodyNode = XMLCustomWriter::cr...