Sample stylesheet to override headers and copy payload
                    
                
                
                    
                        book
                        
Article ID: KB0083826
                        
                    
                    
                        calendar_today
                        
Updated On: 
                    
                 
                
                
                
                    
                
                    
                    
                    
                    
                        
                            
Description
                        
                        
                            When document() function is used, special characters are escaped in the output.
 
                         
                     
                    
                    
                        
                            
                                
Environment
                            
                            
                                All Supported Platforms
                            
                         
                        
                    
                    
                        
                            
                                
Resolution
                            
                            
                                Using the payload in binary format from the context document helps. See the attached sample (Filename: override_hdrs_copy_payload_splChars.xsl). This sample is also useful when handling non-xml payloads.
                            
                         
                        
                    
                        
                            
                                
Issue/Introduction
                            
                            
                                This article provides a sample stylesheet to copy payload while overriding headers and keeping any special characters intact.
                            
                         
                        
                    
                    
                    
                        
                            
                                
Attachments
                            
                            
                                
                            
                                
                                        
                                            
                                             Sample stylesheet to override headers and copy payload
                                            get_app
                                         
                                     
                                
                             
                             
                         
                    
                
                    
                        
                            Was this article helpful?
                        
                        
                            
                                thumb_up
                                Yes
                            
                            
                                thumb_down
                                No