XML Schema for simulation parameters
The complexity of developing XML schemas for physics simulations forces
us to split the project into smaller pieces and to first identify those areas
where common ground between many applications can be found.
The simplest starting point are simulation parameters, identified by name
and value. Since the names are usually application-specific we are of the
opinion that it would be inappropriate to define tags for every specific
application. We rather want to keep the definition of XML elements to structures
common to many applications, and define an element for application-specific
parameters.
In our simplest proposal, presented here, we specify the parameter name
by a name attribute, and the parameter value by the contents of the
element, such as:
<PARAMETER name="T">0.1</PARAMETER>
<PARAMETER name="VOLUME">1000</PARAMETER>
This element type is described in the XML Schema by a complex type named
ParameterType, and described in
This simplest possible type leaves space for many extensions that could be
discussed
- extra optional attributes for units of measurement
- attributes specifying the data format
- complex contents for parameters with complex structure such as
We encourage your comments and ideas
.
Back
to XML in Compuational Physics