Subject: Re: [xsl] Re: producing php with xslt From: Janning Vygen <vygen@xxxxxxxxxxxx> Date: Wed, 25 Jul 2001 21:27:01 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: producing php with xs, flourish | Thread | Re: [xsl] Re: producing php with xs, Rob Lugt |
RE: [xsl] XPath weirdness!!, Crowers, Steve | Date | RE: [xsl] XSLT Processor Detection, Kevin Nardi |
Month |