<br><br><div class="gmail_quote">2009/8/27 Matthias Troyer <span dir="ltr">&lt;<a href="mailto:troyer@phys.ethz.ch">troyer@phys.ethz.ch</a>&gt;</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>
&lt;picogen-qt-scene class_id=&quot;0&quot; tracking_level=&quot;0&quot; version=&quot;0&quot;&gt;<br>
 � �&lt;comment&gt;hello world!&lt;/comment&gt;<br>
 � �&lt;fenum&gt;two&lt;/fenum&gt;<br>
&lt;/picogen-qt-scene&gt;<br>
<br>
<br>
Unfortunately, &quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot; ?&gt;&quot; is now missing, too.<br>
</blockquote>
<br></div>
Can&#39;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&#39;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>