[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Storing data
From:       Thomas =?iso-8859-1?q?L=FCbking?= <thomas.luebking () gmail ! com>
Date:       2011-06-24 8:45:54
Message-ID: 201106241045.54472.thomas.luebking () gmail ! com
[Download RAW message or body]

Am Friday 24 June 2011 schrieb Steven Sroka:

> How would I utilize a xml file? Just get my program to hand craft one?

Aside tools like the xmlcompiler, you'd start out with QDomDocument for "just 
basic reading/writing xml".

Whatever you do, do (rather) NOT "handcraft" xml by entries like
IODevice::write("<");
IODevice::write("tag");
IODevice::write(">");

or similar stuff - you'll end up with an invalid document for nearly sure ;-)

--- Meanwhile OT ---
As for the KSharedDataCache, there's ::insert, but if you deny QDataStream you 
probably do not want this either. Esp. since as Michael stressed, it's mostly 
good to pass around temp. data between processes (and the result is not human 
readable.)
---

Cheers everyone,
Thomas
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic