This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: producing php with xslt
- To: xsl-list at lists dot mulberrytech dot com, "flourish" <msmith at dork dot com>
- Subject: Re: [xsl] Re: producing php with xslt
- From: Janning Vygen <vygen at planwerk6 dot de>
- Date: Wed, 25 Jul 2001 21:27:01 +0200
- Organization: Planwerk 6 /websolutions
- References: <AOEKKCOOGNDOAHCLNEIFEEFFCLAA.mike@wyeast.net> <007b01c1153c$14e8b2a0$0901a8c0@Domain>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Am Mittwoch, 25. Juli 2001 21:00 schrieb flourish:
> My output is still missing the second question mark. The following
> works: <xsl:template match="php-echo">
> <xsl:processing-instruction>
> echo '<xsl:value-of select="text()"/>';
> ?</xsl:processing-instruction>
> </xsl:template>
>
> But why doesn't that second question mark appear automaticly?
Why dosent you just use
<script language="php">
as your php tags to include inside your html
then you dont have to use pi and your xsl code should be much mor
readable.
<xsl:template match="php-echo">
<script language="php">
echo 'Hallo Welt';
</script>
</xsl:template>
Gruß
Janning
--
Planwerk 6 /websolutions
Herzogstraße 86
40215 Düsseldorf
fon 0211-6015919
fax 0211-6015917
http://www.planwerk6.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list