xsl-list
[Top] [All Lists]

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

2013-10-24 13:00:08
On Thu, Oct 24, 2013 at 9:04 AM, Ivan Shmakov <oneingray(_at_)gmail(_dot_)com> 
wrote:
Hank Ratzesberger <xml(_at_)xmlwerks(_dot_)com> 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>
</xsl:processing-instruction>

(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')">
</xsl:template>

Thanks,
Hank


-- 
Hank Ratzesberger
XMLWerks.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>