<?php
/**
* This sample script is used main script.
*/
$book = $_DOC->createElement('book');
$title =& $_DOC->createElement('title');
$text =& $_DOC->createTextNode('This row added in external script');
$title->appendChild(&$text);
$book->appendChild(&$title);
$author =& $_DOC->createElement('author');
$text =& $_DOC->createTextNode('sample2.php by method');
$author->appendChild(&$text);
$book->appendChild(&$author);
$price = & $_DOC->createElement('price');
$text =& $_DOC->createTextNode('myEngine::run()');
$price->appendChild(&$text);
$book->appendChild(&$price);
// Set the $_SCRIPT_RESULT variable to include script result.
$_SCRIPT_RESULT =& $book;
?>
|