Posted by joes on 10/12/05 02:02
Thanks all for your input.... I found more or less what I have looked
for. Rather than using an output filter I am using the call back
functions for the output buffer handling.
This simplifies the content rendering too, Also I hoped I could achieve
it with 0 inlcudes...)
http://www.contentwithstyle.co.uk/Articles/44/
or the xslt usage for php5
function parseOutput()
{
// php5
$xp = new XsltProcessor();
$doc = DOMDocument::loadXML(ob_get_contents());
$xp->importStyleSheet(DOMDocument::loadXML($this->getExampleXSL()));
return $xp->transformToXML($doc);
}
regards
Mark Egloff
Navigation:
[Reply to this message]
|