<div dir="ltr">Sounds worthwhile to me. One of the advantages of Google&#39;s protocol buffers (which I suggested a while back as a possible .mdp/.tpr replacement) is that such glue code could be generated. Only needing to write code in &quot;the language of the schema&quot; sounds like a big drawcard.<div>
<br></div><div>Side point to previous discussions - schemas make it possible for tools to help you write the XML if you&#39;re unfortunate enough to have to do so.</div><div><br></div><div>Mark</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 9:38 PM, David van der Spoel <span dir="ltr">&lt;<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thinking a bit more about the XML problem I started googling.<br>
There are a number of packages that take an XML file or a schema file<br>
and generate C++ code for reading and writing that schema. This would reduce the problem to generating the schema, and making code that actually uses the generated code. The nitty gritties will henceforth be done by an external program but a serious amount of work remains.<br>

Is this something worth considering?<br>
License issues as well as library dependencies may ensue.<br>
<br>
Cheers,<span class="HOEnZb"><font color="#888888"><br>
-- <br>
David van der Spoel, Ph.D., Professor of Biology<br>
Dept. of Cell &amp; Molec. Biol., Uppsala University.<br>
Box 596, 75124 Uppsala, Sweden. Phone:  <a href="tel:%2B46184714205" value="+46184714205" target="_blank">+46184714205</a>.<br>
<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a>    <a href="http://folding.bmc.uu.se" target="_blank">http://folding.bmc.uu.se</a><br>
-- <br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists/GMX-<u></u>developers_List</a> before posting!<br>

<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" target="_blank">https://maillist.sys.kth.se/<u></u>mailman/listinfo/gromacs.org_<u></u>gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@<u></u>gromacs.org</a>.<br>

</font></span></blockquote></div><br></div>