[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: exclude-result-prefixes not removing the xmlns at

Subject: Re: exclude-result-prefixes not removing the xmlns attribute in the root element
From: Juergen Donnerstag <juergen.donnerstag@xxxxxxxxx>
Date: Tue, 3 Jan 2006 12:36:18 +0100
j rgen donnertag
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?)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.