[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] PHP and XSLT [ was: XSLT Jobs in USA]

Subject: Re: [xsl] PHP and XSLT [ was: XSLT Jobs in USA]
From: Hank Ratzesberger <xml@xxxxxxxxxxxx>
Date: Thu, 24 Oct 2013 10:59:49 -0700

On Thu, Oct 24, 2013 at 9:04 AM, Ivan Shmakov <oneingray@xxxxxxxxx> wrote:
>>>>>> Hank Ratzesberger <xml@xxxxxxxxxxxx> writes:
> []
>  > Maybe someone can point me in the right direction, is there a way to
>  > create/manipulate the "pseudo node" like <? ... ?> ?
>         Do you mean something like the following?
> <xsl:processing-instruction name="foo"
>    >bar baz</xsl:processing-instruction>

Interesting. Never thought of that. Is it possible to :

<xsl:processing-instruction name="php">
  <xsl:text>echo &quot;My first PHP script!&quot;;</xsl:text>

(I'll give it a try after a while ... need to switch workspaces..

Curious, if you are parsing a file, what you get when, e.g.

<xsl:template match="processing-instruction('lphp')">


Hank Ratzesberger

Current Thread