|
Subject: [xsl] producing php with xslt From: "flourish" <msmith@xxxxxxxx> Date: Mon, 23 Jul 2001 16:38:48 -0400 |
I'm having problems producing php with xslt. I'll illustrate what I'm
trying to do with a simple example. I think it should be pretty self
explanatory. The <?php and ?> tags are php opening and closing tags.
********XML FRAGMENT*************
<php-echo>Hello world!</php-echo>
********XSLT FRAGMENT*************
<xsl:template match="php-echo">
<?php
echo '<xsl:value-of select="text()"/>';
?>
</xsl:template>
********PRODUCED PHP FRAGMENT*************
<?php
echo 'Hello world!';
?>
I think the problems I'm having are centered around the use of <? as the
opening php tag.
Thanks, Matt
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] layout depends on simple page, Lisa Rupe | Thread | RE: [xsl] producing php with xslt, Michael Fitzgerald |
| RES: [xsl] Iacute, Carlos Durand Silves | Date | RE: [xsl] producing php with xslt, Clapham, Paul |
| Month |