xsl-list
[Top] [All Lists]

Re: exclude-result-prefixes not removing the xmlns attribute in the root element

2006-01-03 04:36:18
xmlns:wicket="http://..."; is automatically added to the root tag of
the input. And because it is automatically inserted I'd like it to be
removed again afterwards. The output will be inserted into a (x)html
stream (it is part of a (x)html document). I guess first of all I'm
not sure it is valid (x)html (remember it is just a fraction which
will be inserted into a html docuemt) and 2nd I'd like to avoid users
coming back to me "why is this additional attr now there. I didn't
add. Can you remove it please".

Thanks
Juergen


On 1/3/06, andrew welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
On 1/3/06, Juergen Donnerstag <juergen(_dot_)donnerstag(_at_)gmail(_dot_)com> 
wrote:
May be I wasn't clear. I do not want to remove the namespace prefix
from all elements and attributes. I just want to remove
xmlns:wicket="http://wicket..."; from the root tag

Sorry, you were clear enough, I was on autopilot.

The root element has the attribute wicket:id, so it *must* have wicket
defined there.

What is you reason for not wanting it on the root element, and where
do you want it to be defined?  It shouldn't make any difference
(unless you are feeding the result to a custom parser?)

--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--