gXML - The XML language for modeling tunnel greenhouses structures

Luis Iribarne
Information Systems Group

José Antonio Torres
Computers and Environmental Group

Araceli Peña
Rural Engineering Group

(c) 2006 University of Almeria, Spain


This page is under construction. It only shows a simple example for a greenhouse surface element and an instance in XML.

XML Grammar - Surface element

<element name="surface">
   <complexType>
      <attribute name="id" type="integer"/>
      <attribute name="type" type="surfaceType"/>
      <element name="srl">
         <complexType>
            <element name="origin" type="PointType" />
            <element name="directMatrix" type="matrixType"/>
            <element name="reverseMatrix" type="matrixType"/>
         </complexType>
      </element>
      <element name="points">
         <complexType>
            <attribute name="value" type="integer" />
            <element name="point" type="PointType"/>
         </complexType>
      </element>
   </complexType>
</element>


An instance of the Surface element

<surface id="1" type="1" >
  <srl>
    <origin> <point x="0.0" y="0.0" z="3.0"/> </origin>
    <direct>
      <matrix>
        <arrow> <point x="0.0" y="0.0" z="3.0"/> </arrow>
        <arrow> <point x="0.0" y="0.0" z="3.0"/> </arrow>
        <arrow> <point x="0.0" y="0.0" z="3.0"/> </arrow>
      </matrix>
    </direct>
    <reverse> <matrix> matrix goes here </matrix> </reverse>
  </srl>
  <points value="4">
    <point x="0.0" y="0.0" z="3.0"/>
    <point x="0.0" y="8.75" z="4.5" />
    <point x="49.5" y="8.75" z="4.5"/>
    <point x="49.5" y="0.0" z="3.0" />
  </points>
</surface>


Information Systems, Computer & Environmental, and Rural Engineering Groups
University of Almeria, Ctra Sacramento s/n, 04120, Almeria, Spain.
http://www.ual.es/~liribarn/research/gXML


Valid HTML 4.01 Transitional