term 200529

subject XCM

course 1200

print_ind Y

requestTime 2006-01-21 12:16:20

<parameters>
    <term>200529</term>
    <subject>Some new value</subject>
    <course>1200</course>
    <print_ind>Y</print_ind>
    <requestTime>2006-01-21 12:16:20</requestTime>
  </parameters>

<?php
$xml 
simplexml_load_file ("single_course.xml");

$parm_string "";
foreach (
$xml->parameters->children() as $key => $value){
  
$parm_string .= "<p><b>$key</b> $value</p>\n";
}

$xml->parameters->subject'Some new value';

?>
<html>
<body>
<?php echo $parm_string ?>

<pre>
<?php echo htmlentities($xml->parameters->asXML()); ?>
</pre>

<hr>
<?php highlight_file (__FILE__);?>

</body>
</html>