Hi
I Know this sound a bit strange, but nevertheless, I'm triyng to create some dynamically XML data.
An example could be this.
$name = "Lennart";
$Newvar = My name is " . $name;
echo $Newvar;
As we know this should on the client read
My Name is Lennart.
What I would like to do is to create some XML data in memory on the server and then with an XSL file use the php_xslt extension to tranform my XML data into html.
Some thing like this.
$name = "Lennart";
$Newvar = My name is " . ServerSideInterpret($name);
This $newvar should now read the same as it would being printed in the browser.
Then I would like to create some XML with it.
<XMLData>My Name is Lennart.</XMLData>
All server side...... Is this possible or am I thinking at it wrong.
Regards