Hi,
I have a data file in XML which I am using XSLT (salbotron) to parse. I have worked out all the XSLT problems and have now got a sensible html document out of it.
The problem is that the html document contains <?php ... ?> tags in it. Is there anyway that I can then "reparse" this string thru the php interpreter to get it to execute on the <?php?> tags I have embedded?
xsl.php calls xsl_transform() on XML_DATA_FILE and XSLT_FILE and gets HTML_STRING. I want to parse HTML_STRING again again through PHP. Hopefully without writing the HTML_STRING out as a file, 'cos I don't want to leave tmp.html files every where.
Is there a PHP way to do this or do I need to work out how to get salbotron to use processing instructions so that it will use a callback to the PHP func I want to call? Is that possible?
Cheers
Murray.