[xsl] Adding Multiple namespaces

Subject: [xsl] Adding Multiple namespaces
From: "Pankaj Chaturvedi" <pankaj.chaturvedi@xxxxxxxxx>
Date: Thu, 8 May 2008 11:04:00 +0530

Can somebody suggest me how can I add multiple namespaces to my root
element. As of now I am adding namespace to root element as below.

<xsl:stylesheet version="2.0"

	<xsl:template match="root">
	    <xsl:namespace name="aid5"
	<xsl:copy-of select="@*"/>

This works fine but I would prefer to add in <xsl:stylesheet>. I've tried
the below code, but it gives some odd results.

<xsl:stylesheet version="2.0"


Pankaj Chaturvedi


Confidentiality Notice:" This message and any attachment(s)
contained here are information that is confidential, proprietary to
IDS Infotech Ltd. and its customers.
Contents may be privileged or otherwise protected by law. The
information is solely intended for the individual or the entity it
is addressed to. If you are not the intended recipient of this
message, you are not authorized to read, forward, print, retain,
copy or disseminate this message or any part of it. If you have
received this e-mail in error, please notify the sender immediately
by return e-mail and delete it from your computer."

Current Thread