[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Empty namespace attributes
Subject: Re: [xsl] Empty namespace attributes
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Sun, 30 Apr 2006 09:24:48 +0100
|
----- Original Message -----
From: "Kerry Kobashi" <kkobashi@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, April 29, 2006 11:54 PM
Subject: [xsl] Empty namespace attributes
How do I get rid of empty namespace attributes generated after
transformation by the processor?
I am using ArchiTag's XRay and my tags are getting empty xmlns=""
attributes placed after each one like so:
<div class="company" xmlns="">
Company name here
</div>
<div id="mainmenu" xmlns="">
Home | About
</div>
The processor has to do this to undeclare a default namespace that already
exists.
For example if you have created an element:
<p xmlns:xhtml="<namespace uri here>"></p>
and then create a div element inside that with no namespace then that's the
output you'll get.
--
Joe
|