Reply to XSLT Processing w/ Embedded PHP Strips Trailing '?'

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация