i have two schemas(xsds) . both source n target xsd's are same except their namespaces. As both having same element names, so i just want to copy all the elements of source to target.
but i want that they maintain there namespaces. When i'm using 'copy-of' function in xslt, target xml is taking namespace from source.
Is there any way to do it in xslt without mapping each n every element in jdev xslt designer as input xml is too large & it will be very tough to map everythg from designer.
Thanks for replying.
Yes the xml is big. There alot of unbounded elements. so quite tough to map each n every node.
second problem is that i need to do it using mediator, so can't assign activity or rename . Have to handle this in transformation file of mediator.
Yes, this is my requirement. But the problem is that there are alot of complex type inside xsd n all are unbounded types n internal level of complex type reaches to 7 or 8.
So, using 'Value-of' for each complex type would be tough..