Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 28th, 2009, 10:18 AM
Authorized User
Join Date: Apr 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts

Hi mrame,
Thanks for your help. I changed the code and I am getting the namespace in the osa:name element, but it is not the namespace we have mentioned in the template. I am getting another namespace which is declared for the

I need to have the namespace "http://complextypes.app.esb.bac.com" for osa:*.

Sorry for bugging you again.Pls help.

<xsl:template match="osa:*">
<xsl:element name="{name()}" namespace="http://complextypes.app.esb.bac.com">
<xsl:apply-templates select="@* | node()" mode="osa"/>
<xsl:template match="osa:*" mode="osa">
<xsl:element name="{name()}">
<xsl:apply-templates select="@* | node()"/>

Similar Threads
Thread Thread Starter Forum Replies Last Post
namespace issue. xml and xsd jamesdurham XML 5 April 7th, 2009 07:13 PM
Transforming XML From One Namespace to Another mail4kaja XSLT 1 November 10th, 2008 10:14 AM
SOAP envelope namespace not shown anboss XSLT 5 August 25th, 2008 04:43 PM
convert XML to XMl - Another Namespace question bonekrusher XSLT 2 July 10th, 2007 07:32 AM
xml namespace and asp werD420 XML 1 August 12th, 2005 01:12 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.