heh,
alas. its apple. which means i can spend the rest of my life
complaining they wrote the only ever xml importer that case specific
(and different cases based on node hierarchy!!!) or i can try to sell
my app. so i'm stuck dancing with the girl who brought me.
the other idea i've had is to open the file as text, convert the
to something else that the xml parser wont change, then find
and replace it again on output... far from ideal though - im hoping
there's a trick to get RB to leave the alone.
mike
--
Mike Woodworth
[EMAIL PROTECTED]
On Apr 14, 2006, at 5:31 PM, Christian Miller wrote:
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>
_______________________________________________
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>