[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Re: producing php with xslt

Subject: RE: Re: producing php with xslt
From: "Michael Fitzgerald" <mike@xxxxxxxxxx>
Date: Wed, 25 Jul 2001 11:00:17 -0700
RE:  Re: producing php with xslt
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@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of flourish
Sent: Wednesday, July 25, 2001 10:32 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.