[XSL-LIST Mailing List Archive Home]
[xsl] how to remove xmlns attributes in html out put via copy-of
Subject: [xsl] how to remove xmlns attributes in html out put via copy-of|
From: Jan Limpens <jan.limpens@xxxxxxxxx>
Date: Fri, 10 Dec 2004 12:46:05 -0200
in my xml I have xhtml markup such as this:
<Para>The solution came in the form of <a
my xslt tries to convert this to valid xml
<xsl:copy-of select="node()" />
but produces xmlns attributes in the xhtml tags, such as...
<p>The solution came in the form of <a
xmlns="http://limpens.com/entry">Wilson's Master pages</a>.</p>
wheather this is correct behaviour or not, I don't like the added
namespace in the anchor element too much, because it breaks my
otherwise valid xhtml.
I am using the .net (version 1.0) processor.
I tried to look it up in the archives and the faq, but didn't find
anything useful (whereas I am quite positive my question has already
been answered numeous times), so I hope nobody minds.
Thanks in advance!
Otakoo Saloon Cartoon - newest episode at http://limpens.com/oscredirect