XSLT Processing w/ Embedded PHP Strips Trailing '?'

From: Date: Sun, 04 Dec 2005 04:52:18 +0000
Subject: XSLT Processing w/ Embedded PHP Strips Trailing '?'
Groups: php.general 
Request: Send a blank email to php-general+get-226827@lists.php.net to get a copy of this message
If I run an xslt processor on some xml w/ PHP in it, the closing '?' gets removed: <tr> <td>Username:</td> <?php if ($set != 0 && ($set & 0x01) == 0) { echo "<td bgcolor=\"#ff0000\">"; } else { echo "<td>"; } echo "</td><input type=\"username\" name=\"username\" value=\"" . $username . "\"/>"; > Would anyone happen to know why this is happening? I'm using xmlproc from libxslt-1.1.11. Thanks, Mike original XML input: <tr><td>Username:</td> <?php if ($set != 0 && ($set & 0x01) == 0) { echo "<td bgcolor=\"#ff0000\">"; } else { echo "<td>"; } echo "</td><input type=\"username\" name=\"username\" value=\"" . $username . "\"/>"; ?>

« previous php.general (#226827) next »