Try adding the

  exclude-result-prefixes="Clouseau"

attribute to your xsl:stylesheet element.

HTH,
Gary

Dietrich Schulten wrote:
> 
> Hi,
> 
> 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=
> "http://www.system-entwicklung.de/catalog/clouseau";>
> ...
> </html>
> 
> 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";
>                 xmlns:Clouseau=
>                    "http://www.system-entwicklung.de/catalog/clouseau";
>                 version="1.0"
> >
> <xsl:output method="html" encoding="ISO-8859-1"
> omit-xml-declaration="yes" />
> 
> Greetings,
> Dietrich

---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to