On Apr 14, 2006, at 5:16 PM, Mike Woodworth wrote:
i'm using xml as an interchange format between my RB app and
another third party application. i'm running into problems because
it encodes returns inside nodes as
RB automatically converts these to actual returns - chr(13). my
problem is, i need to re-export these xmls for use in the other
app... which ignores the returns as white space... meaning by the
time its made a full cycle from app to rb back to app, what used to
be multiline text shows up on one line.
the only solution ive found so far is to render the xml to a string
with preserve whitespace turned off... then doing a replaceall to
catch any remaining returns and replace them with ... but
i'd like to find a solution that doesnt make these xmls (10-30mb)
completely unreadable.
any ideas?
If you are in communication with the developers of the other
application, you could have them wrap the contents in CDATA tags. Is
that an option?
Christian
Pariahware, Inc. Custom Software
<[EMAIL PROTECTED]>
<http://www.pariahware.com>
--
God loved you so much that He gave His only son Jesus. What have you
done with God's gift?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>