Sample stylesheet to override headers and copy payload

Sample stylesheet to override headers and copy payload

book

Article ID: KB0083826

calendar_today

Updated On:

Products Versions
TIBCO API Exchange ALL

Description

When document() function is used, special characters are escaped in the output.
 

Issue/Introduction

This article provides a sample stylesheet to copy payload while overriding headers and keeping any special characters intact.

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.

Attachments

Sample stylesheet to override headers and copy payload get_app