DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10763>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10763

Invalid XSLT namespace causes XSL to be serialised

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-08-03 02:51 -------
This is not bug, but result of proper operation of the XSLT engine. Please 
refer to the XSLT spec:

  http://www.w3.org/TR/xslt#result-element-stylesheet

Your typo in the namespace makes XSLT processor think that you have literal 
result element. Try following stylesheet and note declaration of 'good' 
namespace:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://bad-namespace.www.w3.org/1999/XSL/Transform"; 
version="1.0">
<xsl:template match="/">
<html><body><table border="4">
<tr><th>Name</th><th>Age</th></tr>
<tr xmlns:good="http://www.w3.org/1999/XSL/Transform";>
<td><good:value-of select="customers/customer/name"/></td>
<td><good:value-of select="customers/customer/age"/></td>
</tr>
</table></body></html>
</xsl:template>
</xsl:stylesheet>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to