About an system for file callbacks so we can provide an
alternate method of getting the data for TinyXml.
Something similar to the Vorbis libraries way would
probably work.
Implementing this for both LoadFile and SaveFile would be
very helpful. Then it would be possible to manipulate XML
files in memory without the need for temporary files.
Perhaps an possible solution would be using streams?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to use XML information in my GUI manager but
i'm using a kind of compressed archive so i may need to
modify TinyXML to send XML informations from a buffer rather
than a file.
A system for file callbacks will be a good improve for
processing XML from memory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=500759
Implementing this for both LoadFile and SaveFile would be
very helpful. Then it would be possible to manipulate XML
files in memory without the need for temporary files.
Perhaps an possible solution would be using streams?
Logged In: YES
user_id=500759
This code works for me. You could probably do something
similar.
http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?p=5719#5719
Logged In: YES
user_id=1259104
Please see the TinyXmlFile discussion.
http://sourceforge.net/forum/forum.php?
thread_id=1266369&forum_id=172103
Logged In: NO
I would like to use XML information in my GUI manager but
i'm using a kind of compressed archive so i may need to
modify TinyXML to send XML informations from a buffer rather
than a file.
A system for file callbacks will be a good improve for
processing XML from memory.