|
Subject: [xsl] XSLT Processing w/ Embedded PHP Strips Trailing '?' of PI From: Michael B Allen <mba2000@xxxxxxxxxx> Date: Sat, 3 Dec 2005 23:59:18 -0500 |
If I run xsltproc from libxslt-1.1.11 on some xml w/ processing
instructions in it, the closing '?' gets removed. Is this legit or am
I missing something?
Mike
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 . "\"/>";
?>
OUTPUT:
<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 . "\"/>";
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Re: XSLT Transformation ., Karl Stubsjoen | Thread | RE: [xsl] XSLT Processing w/ Embedd, Michael Kay |
| [xsl] Re: XSLT Transformation .NET, Karl Stubsjoen | Date | [xsl] Recursively Processing Text Q, Matthew Broude |
| Month |