Automatic generation of custom properties C++ classes
-----------------------------------------------------

* This directory contains:

- customPhysicalProperties.xsl : a XSLT Stylesheet that automatically generate custom property classes.
- customPhysicalProperties.xsd : a XSD document definint the XML language to use to define custom properties.
- example.xml : an example of custom properties. This document is valid relatively to what is defined 
  in customPhysicalProperties.xsd and can be taken as input of customPhysicalProperties.xsl to generate
  C++ classes
                                        
                                        --------

* Testing custom properties:

1) use the XSL stylesheet customPhysicalProperties.xsl with example.xml as input data
   that will generate 7 files (3 headers and 4 implementation) in the subdirectory src
2) define the environment variable PHYSICALMODELPROPERTIES to point to the subdirectory src
3) re-generate the Makefile using qmake and physicalModel.pro
4) recompile the physical model library. It will now take the extra properties into account
5) recompile pmltest and check that all the custom properties described in the 
   document "customProperty-example.pml" (and also in example.xml)
   are really taken into account (i.e. read from the PML document and saved properly)

                                        --------

* Custom physical property language:

The XSD is auto-documented (read the xsd:annotation fields of each element to learn more about it).
There are three kind of properties that can be added to a PML :
- atom properties
- cell properties
- structural component properties

Each custom property is defined by a name, a C++ type, and a default value (given if the property XML attribute is not
present in the XML document).

Note: the "inherits" attribute of cellProperties indicates if the CellProperties inherits from StructuralComponentProperties.
So if it is equal to "true" or "1" then the custom properties defined for a structural components can also
be used for cells.

---
(C) 2001-2004 TIMC (E. Promayon, M. Chabanas)