my $doc = XML::Template::process_file('assess.xml', {
'username1' => $username1,
'username2' => $username2,
+ 'rating1' => int($rating1+0.5),
+ 'rating2' => int($rating2+0.5),
'#results' => \@results,
});
print $doc->toString;
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
</head>
<body>
- <h1>Assessment of singles match between <t:username1 /> and <t:username2 /></h1>
+ <h1>Assessment of singles match between <t:username1 /> (<t:rating1 />) and <t:username2 /> (<t:rating2 />)</h1>
<table>
<thead>