Posted by Michael B Allen on 12/04/05 06:52
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 . "\"/>";
?>
[Back to original message]
|