[
Lists Home |
Date Index |
Thread Index
]
On Thu, 2006-03-09 at 16:00, Ciaran Bruen wrote:
> When I apply the XSL in my XML editor the output is fine, but when I
> write the returned xml to a log file from the jsp page it's fouled up.
> The first problem was that it was not keeping any of the CDATA
> sections around any elements - it was simply removing them and just
> copying the text inside the sections. I then added
> cdata-section-elements="UNIQUEJVID" and cdata-section-elements="TITLE"
> (in a new line) to the xsl:output section of the xsl. This returned
> the CDATA section around these element but incorrectly - as in below:
Why do you need the CDATA? You'd be better off escaping your content
values so you don't need them, and then un-escaping them on the other
side (it looks like you're going to stuff this into a database at some
stage).
ast
--
Join me in Dubrovnik, Croatia on May 8-10th when I will be speaking at
InfoSeCon 2006. For more information, see www.infosecon.org.
***************************************************************************************************
The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************
|