Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Juergen Donnerstag <juergen.donnerstag@--------->
To:
Date: 1/3/2006 11:37:00 AM
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.j.welch@xxxxxxxxx> wrote:
> On 1/3/06, Juergen Donnerstag <juergen.donnerstag@xxxxxxxxx> 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?)


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent