| Author | 
		  Message
		 | 
		
		  | pfaulkner | 
		  
		    
			  
				 Posted: Thu Oct 17, 2002 9:46 am    Post subject: XML Output | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 18 Mar 2002 Posts: 241 Location: Colorado, USA 
  | 
		  
		    
			  
				I have a flow that transforms a C message to XML.  When I look at the XML output from my message flow it starts with...
 
 
<|--MRM Generated XML Output on :Thu Oct 17 12:13:
 
 
I have already set Suppress Doc Type and Suppress XML Declaration to YES on the XML tab of my Message Set.
 
 
I would expect to only see the XML fields output?
 
 
Does anyone know if this is a bug or working as Designed?  I am running WMQI 2.1 CSD02
 
 
thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Thu Oct 17, 2002 2:26 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 20 May 2001 Posts: 1033 Location: Hungary 
  | 
		  
		    
			  
				| This is a default MRM-XML comment generated by broker. After CSD03 you can switch off this comment. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lung | 
		  
		    
			  
				 Posted: Thu Oct 17, 2002 6:31 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 27 Aug 2002 Posts: 291 Location: Malaysia 
  | 
		  
		    
			  
				You don't really need CSD03 to do this. Go to the XML tab of your message set and clear the Root Tag Name property (default as 'MRM'). _________________ lung | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kirani | 
		  
		    
			  
				 Posted: Thu Oct 17, 2002 6:38 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Jedi Knight
 
 Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA 
  | 
		  
		    
			  
				Lung,
 
 
Root tag name in default tab of msgset and above comment line are two different things! As tibor said, CSD3 will solve this problem.
 
Have a look at this thread:
 
http://www.mqseries.net/phpBB2/viewtopic.php?t=4823&highlight=generated _________________ Kiran
 
 
 
IBM Cert. Solution Designer & System Administrator - WBIMB V5
 
IBM Cert. Solutions Expert - WMQI
 
IBM Cert. Specialist - WMQI, MQSeries
 
IBM Cert. Developer - MQSeries
 
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lung | 
		  
		    
			  
				 Posted: Thu Oct 17, 2002 7:34 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 27 Aug 2002 Posts: 291 Location: Malaysia 
  | 
		  
		    
			  
				Kiran,
 
 
Clearing the Root Tag Name property will definitely remove the MRM time stamp, and so far I haven't encounter any differences between having 'MRM' defined in the Root Tag Name property or nothing defined there... What is it that I should be expecting?  
 
 
Thanks! _________________ lung | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kirani | 
		  
		    
			  
				 Posted: Thu Oct 17, 2002 9:24 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Jedi Knight
 
 Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA 
  | 
		  
		    
			  
				I think this value is used as outer tag name when you transform message from one format to another with one single statement, For example, CWF to XML. _________________ Kiran
 
 
 
IBM Cert. Solution Designer & System Administrator - WBIMB V5
 
IBM Cert. Solutions Expert - WMQI
 
IBM Cert. Specialist - WMQI, MQSeries
 
IBM Cert. Developer - MQSeries
 
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lung | 
		  
		    
			  
				 Posted: Sun Oct 20, 2002 5:33 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 27 Aug 2002 Posts: 291 Location: Malaysia 
  | 
		  
		    
			  
				My XML to CWF and CWF to XML message flows still work even if I clear out Root Tag property... In my ESQL, I still use InputRoot.MRM.something and OutputRoot.MRM.something and it still works. I guess maybe clearing out the Root Tag property will default itself to 'MRM' since it cannot exist without a Root Tag, right? But by clearing it off... I manage to omit the time stamps when it comes out as XML   _________________ lung | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |