Hello all,
I have xml file
--- cut here ---
<?xml version="1.0"?>
<me>
<name>Nobody</name>
<address>Nowhere</address>
<tel>123456</tel>
<email>nobody@nowhere.com</email>
<url>http://www.nowhere.com</url>
</me>
--- cut here ---
and corensponding xsl
--- cut here ---
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<head>
<title><xsl:value-of select="me/name" /></title>
</head>
<body>
<pre>
<?php print(("My name: ")); ?> <xsl:value-of select="me/name" />
<?php print(("My address: ")); ?> <xsl:value-of select="me/address" />
<?php print(("My phone #: ")); ?> <xsl:value-of select="me/tel" />
<?php print(("My email address: ")); ?> <xsl:value-of select="me/email" />
<?php print(_("My homepage: ")); ?> <xsl:value-of select="me/url" />
</pre>
</body>
</xsl:template>
</xsl:stylesheet>
--- cut here ---
and I want to use xslt* to produce html page which will be send to the browser.
As you can see, there is php code in xsl file and I don't know what is the way to evaluate this php code before xslt proccessing.
Thank you
Noe