Boost logo

Boost Users :

From: Delfin Rojas (drojas_at_[hidden])
Date: 2006-03-29 16:33:42


Hello,
 
I would like to know if it is possible to use the serialization lib and the
XML archive to serialize into XML attributes instead of XML elements. For
example I want to be able to generate something like:
 
<song id="5" title="foo"/>
 
I would also like to know if the order of XML elements is strict. Meaning,
if I have the XML:
 
<song>
<id>5</id>
<name>foo</name>
</song>
 
Can I ask the library to de-serialize "name" and then "id"? What if the xml
contains extra XML elements that I don't care to de-serialize? Will I get an
error processing the archive?
 
If these things are not supported right now, what would it take to support
it? New xml archive?
 
Thanks a lot,
 
Delfin Rojas
 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net