----- Original Message -----
From: "Kerry Kobashi" <kkobashi(_at_)comcast(_dot_)net>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--