Subject: Re: [xsl] Remove Namespace from ouput's root element|
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Tue, 26 Oct 2010 14:57:36 +0100
Michael Kay Saxonica
I doing xml to xml transformation using xslt2.0 with Saxon.
My Input XML uses namespace at the root element is: xmlns:xlink="http://www.w3.org/1999/xlink" and some elements used this attributes like xlink:href="something".
The same namespace is coming to my transformed output xml at the root element. But this namespace is not used by any element in output xml.
I like to remove or avoid this namespace also i am getting xml parsing error due to this.
Could you please any one suggest me for the above issue?
Ram Kumar V.
This email, and any attachments ("this email"), is confidential. If you are not the addressee please tell the sender immediately, and destroy this email without using, sending or storing it. Any opinions, express or implied, in this email, are those of the sender, and are not necessarily approved by the company. Except as expressly stated, this e-mail should not be regarded as an offer, solicitation, recommendation or agreement to buy or sell products or services, or to enter into any contract. E-mail transmissions are not secure and may suffer errors, viruses, delay, interception and amendment. The company does not accept liability for damage caused by any of the foregoing.
ALL INCOMING AND OUTGOING MAILS MAY BE MONITORED BY THE COMPANY. ============================================================