Basic rules on XML elements
Only valid XML files are accepted and a run will fail if the xml parser (libxml2) finds the files invalid.
The numbers in the parenthesis denote the occurrence of an element.
| (1) |
Mandatory element
|
| (0,,1) |
Optional element but only one element is allowed
|
| (0..*) |
Optional element, any number allowed
|
| (1..*) |
Mandatory element, any number larger than 1 is allowed |
We will use UML-like notation to represent the relationship between XML elements.
<nodeA aa="something">
<nodeB bb="another"/>
<nodeC cc="nothing"/>
</nodeA>
|
|
Main XML file for QMCPACKRoot Element: simulationChildren: project, (qmcsystem, particleset, wavefunction, hamiltonian, include)*,init?, qmc
Element: includeAttribute: href Content: external XML file to be included Note: The root element of an external file is qmcsystem Element: wavefunction
|