<br><br><div class="gmail_quote">2009/8/27 Matthias Troyer <span dir="ltr"><<a href="mailto:troyer@phys.ethz.ch">troyer@phys.ethz.ch</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="im"><br> On Aug 26, 2009, at 7:15 PM, Sebastian Mach wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Passing boost::archive::no_header as the second parameter to xml_oarchive() yields the following file for given test:<br> <br> <br> <picogen-qt-scene class_id="0" tracking_level="0" version="0"><br> � �<comment>hello world!</comment><br> � �<fenum>two</fenum><br> </picogen-qt-scene><br> <br> <br> Unfortunately, "<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>" is now missing, too.<br> </blockquote> <br></div> Can't you just write this to the file yourself?</blockquote><div><br></div></div>Of course, but it feels a little bit unclean. <br><br>The other reason I did not mention (sorry, really bad wording from my side) is that xml in general does not feel dedicated enough to what I need, i.e. it's too verbose in the end (I have lots of 3d/4d-vectors and 4x4 matrices, complex recursive/cyclic/self referencing graphs, and so forth, and it should be human readable and writable). <br> <br>I think I will use a custom format that I already had in the past, and go use spirit once again to build a kiss-conformat serialization framework.<br><br><br>