|
Hi,
The input string is composed as follows...
s = '<?xml version="1.0" encoding="ibm037"?>'
+ '<root><node>' + '<Object>' + '<![CDATA[This is <a> test.]]>' //+ 'This is a test.' + '</Object>' + '</node></root>'; I already tried/played with setting the CCSID values, but no luck so far.
If I comment the CDATA, and uncomment the normal text everything works fine.
Kind regards,
Paul
________________________________
Van: rpg400-l-bounces@xxxxxxxxxxxx namens Aaron Bartell
Verzonden: wo 3/12/2008 23:25
Aan: RPG programming on the IBM i / System i
Onderwerp: Re: XML Toolkit and CDATA elements
Could you post a sample of the XML so we can be sure the CDATA tag has
been coded correctly? Note you can't have multiple embedded CDATA tags
(in case that might be the issue).
Aaron Bartell
http://mowyourlawn.com <http://mowyourlawn.com/>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.