| Author | 
		  Message
		 | 
		
		  | kash3338 | 
		  
		    
			  
				 Posted: Wed May 06, 2009 9:59 pm    Post subject: Doubt regarding NameSpace | 
				     | 
			   
			 
		   | 
		
		
		   Shaman
 
 Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India 
  | 
		  
		    
			  
				Hi,
 
  how to remove the namespace of the attributes. my case is like that
 
 
input xml message are
 
 
<NS:1 Order orderno ='test'>
 
 
i want to remove the namespace of the attributes in output side. please help me on this
 
 
Regards
 
Kash | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ovasquez | 
		  
		    
			  
				 Posted: Wed May 06, 2009 10:38 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 09 Dec 2005 Posts: 141 Location: Lima, Peru 
  | 
		  
		    
			  
				Can you use a MRM and XML Physical definition, and not check use namespace. _________________ Oscar Vásquez Flores | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kimbert | 
		  
		    
			  
				 Posted: Thu May 07, 2009 12:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 29 Jul 2003 Posts: 5543 Location: Southampton 
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| Can you use a MRM and XML Physical definition, and not check use namespace. | 
   
 
Wrong solution - that will produce an unmaintainable message flow. If the input contains namespaces, you should parse them using a namespace-aware XML parser.
 
 
   
	| Quote: | 
   
  
	| i want to remove the namespace of the attributes in output side. please help me on this  | 
   
 
What have you tried so far? What happened why you tried it? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Thu May 07, 2009 12:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				This is either a double post of this or a freaky coincidence..... _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sarat | 
		  
		    
			  
				 Posted: Mon May 11, 2009 5:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 29 Jun 2005 Posts: 136 Location: India 
  | 
		  
		    
			  
				Hi kash3338,
 
 
What's your requirement? 
 
 
R u working on samples? 
 
 
While creating the o/p assign the name space at root level. Hope you are looking for like this..
 
 
<Example xmlns="http://xyz.abc.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
 
<Orders>
 
 <Order orderno ='test'>
 
 <Order dgd ='sdfds'>
 
</Orders>
 
</Example>
 
 
Sarat | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |