Website - look at the scripts ?
In fact, looking myself I use ereg_replace() 
PHP Code:
/** class method
* replace a specified tag with dynamic content from a string
*/
function AppendText2XmlFile($tag2parse, $text) {
$fp = @ file($this -> xmldir . $this -> xmlfilename, 'r');
if($fp) {
$xmltext = '';
while(list($num, $line) = each($fp)) {
trim($line);
$xmltext .= ereg_replace($tag2parse, $text, $line);
}
}
# return xml document file to class as a string
$this -> xmlfilename = $xmltext;
}
/** class method
* continue to replace a specific tag with dynamic content from a string
*/
function AppendText2XmlString($tag2parse, $text) {
$this -> xmlfilename = ereg_replace($tag2parse, $text, $this -> xmlfilename);
}
Firepages....
Yes, indeed you could use that method as well
Though personally I will be sticking with my methods thank you...
Btw there isn't that much of an overhead using Sablotron and XSL-T; a lot faster than SAX and DOMXML; from what I've read elsewhere of course, so I'm not suggesting that I have concrete benchmarks here...
Again the parsed template doesn't have to be stored; it can be fed as and when requested as well I might add ?
Bookmarks