xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dietrich Schulten <...@system-entwicklung.de>
Subject Getting rid of xmlns attribute in <HTML> tag
Date Thu, 07 Jun 2001 13:04:44 GMT

I couldn't browse the general archive, so I'm not sure if this is a FAQ.
I'm transforming to HTML using xalan-j 2 and receive an xmlns attribute 
in the HTML tag:

<html xmlns:Clouseau= 

JEditorPane's HTML parser stumbles upon this attribute, so I have to 
manually remove it from my html text before I feed it to JEditorPane. How 
can I tell Xalan not to insert this attribute into the HTML output?

Here's the beginning of my stylesheet:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:output method="html" encoding="ISO-8859-1" 
omit-xml-declaration="yes" />


In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message