Hello Marc,
Are you saying RB strips the CData when reading it, it loses it within
it's own XML structure, or it loses the other CData when you
attempt to
just update/change a single CData node?
It loses all CDATA, not the data inside the CData, nor the parent
nodes, just all CData tags.
I use XML with CData but I've never noticed this problem. However, I'm
reading the XML and translating it to my own internal data
structure, then
writing the whole thing back to disk as a new XML file when the
user saves
any changes. It seems to work fine.
It works great :-) I've borrowed heavily from your article on XML. I
keep all data in several documents, most of them very small. The main
documents however are over 100 pages, and I really would like to be
able to just update instead of writing the whole thing back to disk.
--
Marc Zeedar
Publisher
REALbasic Developer Magazine
http://www.rbdeveloper.com
_______________________________________________
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>