Subject: Re: [xsl] XML > XSL > PHP possible? From: "Michael B Allen ioplex@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 30 Sep 2022 02:43:11 -0000 |
On Thu, Sep 29, 2022 at 8:49 PM Michael B Allen ioplex@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > <xsl:template match="processing-instruction('php')"> > <xsl:processing-instruction name="php"> > <xsl:value-of disable-output-escaping="yes" select="."/> > </xsl:processing-instruction> > </xsl:template> It seems I asked this same exact question 17 years ago: https://www.mhonarc.org/archive/html/xsl-list/2005-12/msg00574.html along with a solution which is to simply add the ? to the end of the PI template: <xsl:template match="processing-instruction('php')"> <xsl:processing-instruction name="php"> <xsl:value-of disable-output-escaping="yes" select="."/> *<xsl:text>?</xsl:text>* </xsl:processing-instruction> </xsl:template> I have tested this and I don't see any immediate / obvious issues. However, I never actually ended up using this solution which leaves me wondering why. Mike
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XML > XSL > PHP possible?, Toshihiko Makita tma | Thread | |
Re: [xsl] XML > XSL > PHP possible?, Toshihiko Makita tma | Date | |
Month |