Subject:CData Question Author:Ferdinand Wehrmann Date:02 Jan 2008 04:35 AM
I have an xml with a node and within the node there is an CDATA section.The CDATA Section in the xml file looks like the following.
To: The Sales Manager
Subject: Overdue Order/s
According to our records the order/s detailed on the attached list has/have not yet been delivered.
As you are no doubt aware, time is of the essence regarding deliveries to XXXXXXX .
On-time delivery is one of the most important criteria used when we assess Supplier performance.
Late deliveries constitute a breach of contract, which could have detrimental effects on our operations and on our business dealings with your company.
It is of utmost importance that you advise the revised delivery date/s, the reason/s for the delay and how you intend preventing any reoccurrence.
Kindly note that each late delivery is recorded against your Company's performance and this information is used by the Procurement Department when sourcing new requirements.
Further occurrences of this nature may lead to your exclusion from our ordering process.
Please note that should you have already delivered; please provide us with the applicable Proof of Delivery.
I need to display the above mentioned CDATA section exactly as in the original xml file.I'm using the Saxon 18.104.22.168 Processor and the output is being displayed in a pdf document.The problem is that the transformation translates it too one wrapped string. It doesn't preserve the carriage return's, line breaks etc.