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>
- Subject: Re: [xsl] Re: producing php with xslt
- From: "flourish" <msmith at dork dot com>
- Date: Wed, 25 Jul 2001 15:00:30 -0400
- References: <AOEKKCOOGNDOAHCLNEIFEEFFCLAA.mike@wyeast.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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?
> Try:
>
> <xsl:template match="php-echo">
> <xsl:processing-instruction>echo '<xsl:value-of
> select="text()"/>';</xsl:processing-instruction>
> </xsl:template>
>
> and see what happens. Note also that it's 'instruction' not
'instructions.'
>
> Good luck,
>
> -Mike Fitzgerald
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of flourish
> Sent: Wednesday, July 25, 2001 10:32 AM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Re: producing php with xslt
>
>
> Thanks everyone for the help, but I still seem to be having a problem.
> I modified the xslt to this:
> <xsl:template match="php-echo">
> <xsl:processing-instructions>
> echo '<xsl:value-of select="text()"/>';
> </xsl:processing-instructions>
> </xsl:template>
>
> But my output is:
> <?php
> echo 'Whatever the text in the php-echo node was.';
> >
>
> Where's my closing question mark?
>
> Thanks again, Matt
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list