[gmx-developers] XML files

Paul van Maaren maaren at home.nl
Thu Mar 21 20:37:52 CET 2002


On Thu, 21 Mar 2002, Erik Lindahl wrote:

> Actually, the best solution would be if all three of these could share 
> header definitions, etc, so you could either write
> 
> mdrun -s file1.xml file2.xml file3.xml
> 
> or concatenate them together and use it as
> 
> mdrun -s file.xml
> 
> This way it will still be easy to edit options and topologies without 
> loading huge file into emacs.

In sgml it is possiple to do stuff like this:

<!-- Document info -->
<!ENTITY chap1 SYSTEM "introduction.sgml">
<!ENTITY chap2 SYSTEM "summary.sgml">

&chap1;
&chap2;

This will include the specified files automatically. I will check if this 
is allowed in XML tomorrow. 

-- 
Groeten,

Paul




More information about the gromacs.org_gmx-developers mailing list