Thanks Melvyn, it looks neater but didn't seem to work for me.
Regards
John
> -----Original Message-----
> From: Melvyn Sopacua [mailto:[EMAIL PROTECTED]]
> Sent: 18 July 2001 22:19
> To: Sablotron Mailing List
> Subject: RE: [Sab] including php in xsl
>
>
>
> I got sick of the eval() errors, but if your eval works well,
> try:
>
> <xsl:processing-instruction name="php">echo
> $var</xsl:processing-instruction>
>
> At 23:11 18-7-01, you wrote:
>
> ><xsl:text disable-output-escaping="yes"><?
> >echo "<a href=\"/$wjLanguageCode/news/";
> >?></xsl:text>
> ><xsl:value-of select="headline"/>
> ><xsl:text disable-output-escaping="yes"><?
> >echo "\">";
> >?></xsl:text>
> >more...
> ><xsl:text disable-output-escaping="yes"><?
> >echo "</a>";
> >?></xsl:text>
>