Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

Переглянути джерело

initial copy from svn, + README.txt

Signed-off-by: Jan Grewe <jan.grewe@g-node.org>
Jan Grewe 13 роки тому
коміт
39e757dd0f
72 змінених файлів з 10383 додано та 0 видалено
  1. 13 0
      README.txt
  2. 165 0
      v1.0/analysis/analysis.xml
  3. 212 0
      v1.0/analysis/odmlTerms.xsl
  4. 198 0
      v1.0/analysis/power_spectrum.xml
  5. 197 0
      v1.0/analysis/psth.xml
  6. 567 0
      v1.0/carmenMini/carmen_mini.xml
  7. 212 0
      v1.0/carmenMini/odmlTerms.xsl
  8. 160 0
      v1.0/cell/cell.xml
  9. 212 0
      v1.0/cell/odmlTerms.xsl
  10. 31 0
      v1.0/collection/event_list.xml
  11. 25 0
      v1.0/collection/hardware_properties.xml
  12. 24 0
      v1.0/collection/hardware_settings.xml
  13. 212 0
      v1.0/collection/odmlTerms.xsl
  14. 118 0
      v1.0/dataset/dataset.xml
  15. 212 0
      v1.0/dataset/odmlTerms.xsl
  16. 149 0
      v1.0/electrode/electrode.xml
  17. 212 0
      v1.0/electrode/odmlTerms.xsl
  18. 32 0
      v1.0/event/event.xml
  19. 212 0
      v1.0/event/odmlTerms.xsl
  20. 55 0
      v1.0/experiment/behavior.xml
  21. 61 0
      v1.0/experiment/electrophysiology.xml
  22. 72 0
      v1.0/experiment/experiment.xml
  23. 36 0
      v1.0/experiment/imaging.xml
  24. 22 0
      v1.0/experiment/modeling.xml
  25. 212 0
      v1.0/experiment/odmlTerms.xsl
  26. 71 0
      v1.0/experiment/psychophysics.xml
  27. 147 0
      v1.0/hardware/amplifier.xml
  28. 93 0
      v1.0/hardware/attenuator.xml
  29. 149 0
      v1.0/hardware/camera_objective.xml
  30. 183 0
      v1.0/hardware/daq.xml
  31. 121 0
      v1.0/hardware/eyetracker.xml
  32. 115 0
      v1.0/hardware/filter.xml
  33. 187 0
      v1.0/hardware/filter_set.xml
  34. 64 0
      v1.0/hardware/hardware.xml
  35. 296 0
      v1.0/hardware/iaq.xml
  36. 154 0
      v1.0/hardware/light_source.xml
  37. 65 0
      v1.0/hardware/microscope.xml
  38. 111 0
      v1.0/hardware/microscope_objective.xml
  39. 212 0
      v1.0/hardware/odmlTerms.xsl
  40. 139 0
      v1.0/hardware/scanner.xml
  41. 173 0
      v1.0/hardware/stimulus_isolator.xml
  42. 71 0
      v1.0/odML.xsd
  43. 327 0
      v1.0/odMLTerminologies.xml
  44. 115 0
      v1.0/odMLTerminologies.xsl
  45. 55 0
      v1.0/odmlRepository.xsl
  46. 212 0
      v1.0/person/odmlTerms.xsl
  47. 74 0
      v1.0/person/person.xml
  48. 212 0
      v1.0/preparation/odmlTerms.xsl
  49. 153 0
      v1.0/preparation/preparation.xml
  50. 212 0
      v1.0/project/odmlTerms.xsl
  51. 62 0
      v1.0/project/project.xml
  52. 212 0
      v1.0/recording/odmlTerms.xsl
  53. 88 0
      v1.0/recording/recording.xml
  54. 212 0
      v1.0/setup/odmlTerms.xsl
  55. 76 0
      v1.0/setup/setup.xml
  56. 103 0
      v1.0/stimulus/dc.xml
  57. 96 0
      v1.0/stimulus/gabor.xml
  58. 153 0
      v1.0/stimulus/grating.xml
  59. 116 0
      v1.0/stimulus/movie.xml
  60. 212 0
      v1.0/stimulus/odmlTerms.xsl
  61. 95 0
      v1.0/stimulus/pulse.xml
  62. 130 0
      v1.0/stimulus/ramp.xml
  63. 137 0
      v1.0/stimulus/random_dot.xml
  64. 87 0
      v1.0/stimulus/sawtooth.xml
  65. 121 0
      v1.0/stimulus/sine_wave.xml
  66. 127 0
      v1.0/stimulus/square_wave.xml
  67. 157 0
      v1.0/stimulus/stimulus.xml
  68. 70 0
      v1.0/stimulus/stimulusTypes.xml
  69. 133 0
      v1.0/stimulus/white_noise.xml
  70. 212 0
      v1.0/subject/odmlTerms.xsl
  71. 154 0
      v1.0/subject/subject.xml
  72. 298 0
      v1.0/terminologies.xml

+ 13 - 0
README.txt

@@ -0,0 +1,13 @@
+odml - The open metadata markup language - 
+
+
+This folder contains odml terminologies. 
+odml Terminologies define terms that can be used for annotating electrophysiological data.
+
+
+
+More information on odml can be found on
+www.g-node.org/odml
+
+Tools and libraries for metadata handling with odml can be found on Github:
+https://github.com/G-Node/

+ 165 - 0
v1.0/analysis/analysis.xml

@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                     Analysis section                       -->
+<!-- ********************************************************* -->
+	<section>
+			<type>analysis</type>
+			<name>Analysis</name>
+			<definition>Sections of the Analysis type can be used to describe analyses.</definition>
+     
+	   
+	   <property>
+         <name>Author</name>
+	      <value>
+			<type>person</type>
+	      </value>
+         <definition>The name of the person who did the analysis, e.g. 'John Doe' or 'Doe, John'</definition>
+      </property>
+      
+      <property>
+         <name>Date</name>
+	      <value>
+			<type>date</type>
+	      </value>
+         <definition>The date of analysis.</definition>
+      </property>
+      
+      <property>
+         <name>Description</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>A general description of the analysis.</definition>
+      </property>
+      
+      <property>
+         <name>Method</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The name of a method used in this analysis. E.g. "power spectrum".</definition>
+      </property>
+      
+      <property>
+         <name>CommandlineCall</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The command used to execute the analysis including the command line parameter.</definition>
+      </property> 
+      
+      <property>
+         <name>Comment</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>Specific comments on this analysis.</definition>
+      </property>
+      
+      <property>
+         <name>CodeFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The program code to analyse the data can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying code file.</definition>
+      </property> 
+      
+      <property>
+         <name>CodeFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of the applied piece of program code to actually do the analysis.</definition>
+      </property> 
+       
+      <property>
+         <name>CodeRevision</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition> If the analysis code is under version control the revision number can be specified using this property.</definition>
+      </property> 
+       
+       
+      <property>
+         <name>ConfigFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The configurations used to analyse the data can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying configuration file.</definition>
+      </property> 
+      
+      <property>
+         <name>ConfigFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of the used configuration file used to run the analysis.</definition>
+      </property>  
+      
+      <property>
+         <name>DatasetFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The data analysed ion the described way can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying dataset file.</definition>
+      </property> 
+      
+      <property>
+         <name>DatasetFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of a analysed datasetFile.</definition>
+      </property>
+
+      <property>
+         <name>ResultFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The results of this analysis can be transferred using this property. 
+         Using it willblow up the the size of the metadatafile and we recommend to rather define the URL of the results file.</definition>
+      </property> 
+      
+      <property>
+         <name>ResultFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of a results file.</definition>
+      </property>  
+      
+      <property>
+         <name>ResultFigure</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition>A figure showing the results. This property is meant to strore the real figure content. 
+         This will blow up the the size of the metadatafile and we recommend to rather define the URL of the figure.</definition>
+      </property> 
+      
+      <property>
+         <name>PaperDOI</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>If the results of this analysis have been published one can store the doi of the paper.</definition>
+      </property> 
+      
+      <property>
+         <name>PaperURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>If the results of this analysis have been published the URL of the document can be given here</definition>
+      </property> 
+   
+   </section> 
+</odML>

+ 212 - 0
v1.0/analysis/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 198 - 0
v1.0/analysis/power_spectrum.xml

@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                     Analysis section                       -->
+<!-- ********************************************************* -->
+	<section>
+			<type>analysis/power_spectrum</type>
+			<name>Power spectrum</name>
+			<definition>Properties of this section define the way a power spectrum was calculated.</definition>
+     
+	   
+	   <property>
+         <name>Author</name>
+	      <value>
+			<type>person</type>
+	      </value>
+         <definition>The name of the person who did the analysis, e.g. 'John Doe' or 'Doe, John'</definition>
+      </property>
+      
+      <property>
+         <name>Date</name>
+	      <value>
+			<type>date</type>
+	      </value>
+         <definition>The date of analysis.</definition>
+      </property>
+      
+      <property>
+         <name>Description</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>A general description of the analysis.</definition>
+      </property>
+      
+      <property>
+         <name>SegmentLength</name>
+	      <value>
+			<type>int</type>
+	      </value>
+         <definition>The length of the analysed data stretches. Given in samples.</definition>
+      </property>
+      
+      <property>
+         <name>WindowFunction</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The type of window used. E.g. Hamming, Hanning, etc.</definition>
+      </property>
+      
+      <property>
+         <name>Overlap</name>
+	      <value>
+	         <unit>%</unit>
+			   <type>float</type>
+	      </value>
+         <definition>The overlap between consecutive data segments. Given in percent of the SegmentLength.</definition>
+      </property>
+      
+      <property>
+         <name>Overlap</name>
+	      <value>
+	         <type>int</type>
+	      </value>
+         <definition>The overlap between consecutive data segments. Given in samples.</definition>
+      </property>
+            
+      <property>
+         <name>Method</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The name of a method used in this analysis. E.g. "power spectrum".</definition>
+      </property>
+      
+      <property>
+         <name>CommandlineCall</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The command used to execute the analysis including the command line parameter.</definition>
+      </property> 
+      
+      <property>
+         <name>Comment</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>Specific comments on this analysis.</definition>
+      </property>
+      
+      <property>
+         <name>Code</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The program code to analyse the data can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying code file.</definition>
+      </property> 
+      
+      <property>
+         <name>Code</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of the applied piece of program code to actually do the analysis.</definition>
+      </property> 
+       
+      <property>
+         <name>CodeRevision</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition> If the analysis code is under version control the revision number can be specified using this property.</definition>
+      </property> 
+       
+       
+      <property>
+         <name>ConfigFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The configurations used to analyse the data can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying configuration file.</definition>
+      </property> 
+      
+      <property>
+         <name>ConfigFile</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of the used configuration file used to run the analysis.</definition>
+      </property>  
+      
+      <property>
+         <name>DatasetFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The data analysed ion the described way can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying dataset file.</definition>
+      </property> 
+      
+      <property>
+         <name>DatasetFile</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of a analysed datasetFile.</definition>
+      </property>
+
+      <property>
+         <name>ResultFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The results of this analysis can be transferred using this property. 
+         Using it willblow up the the size of the metadatafile and we recommend to rather define the URL of the results file.</definition>
+      </property> 
+      
+      <property>
+         <name>ResultFile</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of a results file.</definition>
+      </property>  
+      
+      <property>
+         <name>ResultFigure</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition>A figure showing the results. This property is meant to strore the real figure content. 
+         This will blow up the the size of the metadatafile and we recommend to rather define the URL of the figure.</definition>
+      </property> 
+      
+      <property>
+         <name>PaperDOI</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>If the results of this analysis have been published one can store the doi of the paper.</definition>
+      </property> 
+      
+      <property>
+         <name>PaperURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>If the results of this analysis have been published the URL of the document can be given here</definition>
+      </property> 
+   
+   </section> 
+</odML>

+ 197 - 0
v1.0/analysis/psth.xml

@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                     PSTH section                       -->
+<!-- ********************************************************* -->
+	<section>
+		<type>analysis/psth</type>
+		<name>PSTH</name>
+		<definition>An Analysis-type section to describe an PSTH.</definition>
+     
+	   
+	  <property>
+         <name>Author</name>
+	      <value>
+			<type>person</type>
+	      </value>
+         <definition>The name of the person who did the analysis, e.g. 'John Doe' or 'Doe, John'</definition>
+      </property>
+      
+      <property>
+         <name>Date</name>
+	      <value>
+			<type>date</type>
+	      </value>
+         <definition>The date of analysis.</definition>
+      </property>
+      
+      <property>
+         <name>Description</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>A general description of the analysis.</definition>
+      </property>
+      
+      <property>
+         <name>Method</name>
+	      <value>
+	         instantaneous spike rate
+			   <type>string</type>
+			   <valueComment>Estimation of the firing rate by using the inverse of the interspike interval.</valueComment>
+	      </value>
+	      <value>
+	         sliding window
+			   <type>string</type>
+			   <valueComment>The window function was slid over the data at recording resolution.</valueComment>
+	      </value>
+	      <value>
+	         discrete window
+			   <type>string</type>
+			   <valueComment>Spikes were averaged within the window, window discretely displaced by the window width.</valueComment>
+	      </value>
+	      <definition>The method used for creating the PSTH.</definition>
+      </property>
+      
+      <property>
+         <name>WindowType</name>
+	      <value>
+	         rectangular
+			   <type>string</type>
+			   <valueComment>A recangular kernel was used.</valueComment>
+	      </value>
+	      <value>
+	         gaussian
+			   <type>string</type>
+			   <valueComment>A gaussian kernel was used.</valueComment>
+	      </value>
+	      <value>
+	         alpha
+			   <type>string</type>
+			   <valueComment>A alpha function was used as window function.</valueComment>
+	      </value>
+	      <definition>The kind of windowing function used to cerate the PSTH.</definition>
+      </property> 
+      
+      <property>
+         <name>CommandlineCall</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The command used to execute the analysis including the command line parameter.</definition>
+      </property> 
+      
+      <property>
+         <name>Comment</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>Specific comments on this analysis.</definition>
+      </property>
+      
+      <property>
+         <name>CodeFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The program code to analyse the data can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying code file.</definition>
+      </property> 
+      
+      <property>
+         <name>CodeFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of the applied piece of program code to actually do the analysis.</definition>
+      </property> 
+       
+      <property>
+         <name>CodeRevision</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition> If the analysis code is under version control the revision number can be specified using this property.</definition>
+      </property> 
+       
+       
+      <property>
+         <name>ConfigFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The configurations used to analyse the data can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying configuration file.</definition>
+      </property> 
+      
+      <property>
+         <name>ConfigFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of the used configuration file used to run the analysis.</definition>
+      </property>  
+      
+      <property>
+         <name>DatasetFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The data analysed ion the described way can be transferred using this property. 
+         Using it will blow up the the size of the metadatafile and we recommend to rather define the URL of underlying dataset file.</definition>
+      </property> 
+      
+      <property>
+         <name>DatasetFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of a analysed datasetFile.</definition>
+      </property>
+
+      <property>
+         <name>ResultFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The results of this analysis can be transferred using this property. 
+         Using it willblow up the the size of the metadatafile and we recommend to rather define the URL of the results file.</definition>
+      </property> 
+      
+      <property>
+         <name>ResultFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of a results file.</definition>
+      </property>  
+      
+      <property>
+         <name>ResultFigure</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition>A figure showing the results. This property is meant to strore the real figure content. 
+         This will blow up the the size of the metadatafile and we recommend to rather define the URL of the figure.</definition>
+      </property> 
+      
+      <property>
+         <name>PaperDOI</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>If the results of this analysis have been published one can store the doi of the paper.</definition>
+      </property> 
+      
+      <property>
+         <name>PaperURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>If the results of this analysis have been published the URL of the document can be given here</definition>
+      </property> 
+   
+   </section> 
+</odML>

+ 567 - 0
v1.0/carmenMini/carmen_mini.xml

@@ -0,0 +1,567 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                     Mini section                    				   -->
+<!-- ********************************************************* -->  
+<odML version="1">
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  
+  <section>
+    <type>carmen_mini</type>
+    <name>Carmen Mini</name>
+    <definition>This is a convenience section that lists the terms of the CARMEN MINI (Gibson et al. Nature Precedings, 2009 Version 0.6) and 
+    maps them to the odml "standard" terminologies.</definition>
+		
+    <section>
+      <type>carmenmini/contact_and_context</type>
+      <name>ContactAndContext</name>
+      			
+      <property>
+        <name>DateAndTime</name>
+	<value>
+	 <type>datetime</type>
+	</value>
+	<definition>The date and time of work initioation in YYYY-MM-DD hh:mm:ss format. (TODO ISO 8601 requires the T lib has to able to deal with it!) </definition>
+	<mapping>http://portal.g-node.org/odml/terminologies/v1.0/recording/recording.xml#recording:Start</mapping>
+      </property>
+      
+      <property>
+        <name>ResponsiblePerson</name>
+	<value>
+	 <type>person</type> 
+	</value>
+        <definition>The (stable) primary contact person for this data set; this could
+be the experimenter, lab head, line manager etc. Where respon-
+sibility rests with an institutional role (e.g. one of a number of
+duty officers) rather than a person, give the official name of the
+role rather than any one person. In all cases give affliation and
+stable contact information, which consists of (i) Name, (ii) Postal address and (iii) Email address.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/project/project.xml#project:PrincipleInvestigator</mapping>
+      </property>
+      
+      <property>
+        <name>ExperimentalContext</name>
+	<value>
+          <type>text</type> 
+	</value>
+        <definition>The name of the project, study or wider investigation of which
+the 'experiment' is a part (if appropriate).</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/project/project.xml#project:Description</mapping>
+      </property> 
+      
+      <property>
+        <name>ElectrophysiologyType</name>
+	<value>
+          <type>string</type>
+        </value>
+        <definition>The type of electrophysiology recording reported as 'extra cellular'
+or 'intra cellular'.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/experiment/experiment.xml#experiment:Type</mapping>
+      </property>
+    </section>
+      
+    <section>
+      <type>carmenmini/study_subject</type>
+      <name>StudySubject</name>
+      
+      <property>
+        <name>Genus</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The genus classification of the study subject accoring to the NCBI taxonomy calssification.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Genus</mapping>
+      </property>
+      
+      <property>
+        <name>Species</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The species classification of the study subject accoring to the NCBI taxonomy calssification.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Species</mapping>
+      </property>
+      
+      <property>
+        <name>Strain</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The strain, genetic variation classification of the study subject, if appropriate. Note this is not the cell line.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Strain</mapping>
+      </property>
+      
+      <property>
+        <name>CellLine</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The identifier for the immortalized cell line, if appropriate.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:CellLine</mapping>
+      </property>
+      
+      <property>
+        <name>GeneticCharacteristics</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The genotype of the study stubject. Genetics characteristics include polymorphisms, disease alleles and haplotypes.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Comment</mapping>
+      </property>
+      
+      <property>
+        <name>GeneticVariation</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The genetic modification introduced in addition to strain, if appropriate.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Comment</mapping>
+      </property>
+      
+      <property>
+        <name>DeseaseState</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The name of the pathology diagnosed in the subject. The disease state is 'normal' if no disease state has been diagnosed.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:HealthStatus</mapping>
+      </property>
+      
+      <property>
+        <name>ClinicalInformation</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>A link, summary or reference to additional clinical information, if appropriate.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Comment</mapping>
+      </property>
+      
+      <property>
+        <name>Sex</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The sex of the subject, in terms of either male, female or hermaphrodite.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Gender</mapping>
+      </property>
+      
+      <property>
+        <name>Age</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The time period elapsed since an identifiable point in the life cycle of an organism. If a developmental stage is specified the indentifiable point would be the beginning of that stage. Otherwise the identifiable point must be specifies. For example, 2 hours post surgery.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Age</mapping>
+      </property>   
+      
+      <property>
+        <name>DevelopmentalStage</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The developmental stage of the of the study subect's life cycle.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:DevelopmentalStage</mapping>
+      </property>
+      
+      <property>
+        <name>SubjectLabel</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>If the subject has been chemically labeled or stained; state the label name.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Label</mapping>
+      </property> 
+      
+      <property>
+        <name>SubjectIdentifier</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The type and value of the identifier assigned to the subject.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Identifier</mapping>
+      </property>
+      
+      <property>
+        <name>SubjectIdentifierType</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The type and value of the identifier assigned to the subject. For example, vendor or patient identifier. For patients, the identifier must be approved by an Institutional Review Board or appropriate body.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Comment</mapping>
+      </property>  
+      
+      <property>
+        <name>SubjectIdentifierValue</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The unique string which corresponds to the identifier type. TODO! How does this relate to the Identifier ?</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Identifier</mapping>
+      </property>  
+      
+      <property>
+        <name>AssociatedSubjectDetails</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The organisation (e.g vendor) or individual repsonsible for the subject.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Comment</mapping>
+      </property>  
+      
+      <property>
+        <name>PreparationProtocol</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The surgical procedure or the preparation protocol implmented to obtain the specific sample for recording.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/preparation/preparation.xml#preparation:Description</mapping>
+      </property> 
+      
+      <property>
+        <name>PreparationDate</name>
+        <value>
+          <type>date</type> 
+        </value>
+        <definition>The date the surgical procedure or the preparation protocol was performed to obtain the specific sample for recording. Given in the ISO:8601 representation. YYYY-MM-DDThh:mm:ss</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/preparation/preparation.xml#preparation:Date</mapping>
+      </property>
+    </section>
+    
+    <section>
+      <type>carmenmini/recording_location</type>
+      <name>RecordingLocation</name>
+      
+      <property>
+        <name>LocationStructure</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The anatomical part or structure of the subject under investigation or recorded from. For example brain or cell culture.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/cell/cell.xml#cell:Structure</mapping>
+      </property>  
+      
+      <property>
+        <name>BrainArea</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>If the anatomical structure under study from 3.(a) is the brain then state the location. If the anatomical structure under study is the mammalian brain then state the location using Neuronames. (http://braininfo.rprc.washington.edu/aboutfolder/aboutbi.html).</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/cell/cell.xml#cell:BrainArea</mapping>
+      </property>
+      
+      <property>
+        <name>SliceThickness</name>
+        <value>
+          <type>float</type> 
+          <unit>mm</unit>
+        </value>
+        <definition>The thickness of the recording slice in milimeters.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/preparation/preparation.xml#preparation:SliceThickness</mapping>
+      </property>
+      
+      <property>
+        <name>SliceOrientation</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>State the planes of the slice, in terms of either i) coronal (widthways), ii) saggital (lengthways parallel to midline) or iii) tangential (lengthways perpendicular to midline).</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/preparation/preparation.xml#preparationSliceOrientation</mapping>
+      </property>
+      
+      <property>
+        <name>CellType</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The cell type of the anatomical structure given in 3.(a) under investigation if non mixed. If mixed the target cell type should be provided.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/cell/cell.xml#cell:CellType</mapping>
+      </property>
+      
+      <property>
+        <name>TargetCellType</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The cell type of the anatomical structure given in 3.(a) under investigation if non mixed. If mixed the target cell type should be provided</definition>
+      </property>
+      
+      <property>
+        <name>ConfirmedCellType</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The method of coordinate assignment given in 2.3.1. Reported as 'anatomy confirmation', 'estimation' or chemical label (this includes antibodies and staining). The label used should be reported in section 2.(l). Additional information such as recodings or image files which also confirm the location can be referenced here.</definition>
+      </property>
+    </section>
+    
+    <section>
+      <type>carmenmini/task</type>
+      <name>Task</name>
+      
+      <property>
+        <name>Protocol</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>A description of the task protocol undertaken by the subject.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/experiment/bahavior.xml#experiment/behavior:Description</mapping>
+      </property>
+      
+      <property>
+        <name>SensoryConditions</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The sensory conditions during the task protocol.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Equipment</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The Model Name, Model Number and Manufacturer for equipment used in the task protocol.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Recording</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>If the task is recorded state how and what data types are being recorded.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+    </section>
+    
+    <section>
+      <type>carmenmini/stimulus</type>
+      <name>Stimulus</name>
+      
+      <property>
+        <name>Protocol</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>A description of the stimulus protocol undertaken by the subject.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/stimulus.xml#stimulus:Description</mapping>
+      </property>
+      
+      <property>
+        <name>SensoryConditions</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The sensory conditions during the stimulus protocol.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Solutions</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>Description of the solutions used in terms of name, components with concentrations,(if appropriate).</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Equipment</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The Model Name, Model Number and Manufacturer for specialised equipment used during the stimulus protocol. If electrode(s) are used then they should be described following the structure presented in ref x.x</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Recording</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>If the stimulus is recorded state how and what data types are being recorded.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+    </section>
+    
+    <section>
+      <type>carmenmini/behavioural_event</type>
+      <name>BehaviouralEvent</name>
+      
+      <property>
+        <name>Event</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>A description of the behavioural event observed.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Equipment</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The equipment use to record the behavioural event, if recorded in terms of The Model Name, Model Number and Manufacturer.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>BehaviouralEventRecording</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The type of recording of the behavioural event, the file format and the format encoding.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+    </section>
+    
+    <section>
+      <type>carmenmini/recording</type>
+      <name>Recording</name>
+      
+      <property>
+        <name>Protocol</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>A description of the recording protocol.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Conditions</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The subject conditions during the recording. Invivo or invitro preparation If invivo was it anethesitised or awake? If awake what was the stimulus condition.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>ContainingDevice</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>Containing device temperature of the subject or sample (for example, a bath): Include temperature if appropriate.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Solutions</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>Description of the solutions used in terms of name, components with concentrations,(if appropriate).</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/preparation/preparation.xml#preparation:BathSolution</mapping>
+      </property>
+      
+      <property>
+        <name>SolutionFlowSpeed</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The flow speed of the solution described in (ref x.x) in terms of ml/min.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/preparation/preparation.xml#preparation:SolutionFlowSpeed</mapping>
+      </property>
+      
+      <property>
+        <name>Electrode</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The type of electrode and the Model Name, Model Number and Manufacturer for specialised equipment.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>ElectrodeConfiguration</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The configuration or arrangement of the electrode. For example, a 2-dimensional array. Also state the distance between each electrode. If the study uses voltage clamp in a patch configuration, state the access resistance (the resistance of the cell membrane, which is in series with the electrode resistance).</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/electrode/electrode.xml#electrode:Configuration</mapping>
+      </property>
+      
+      <property>
+        <name>ElectrodeImpedance</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The electrode range or impedance of the electrode.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/electrode/electrode.xml#electrode:Impedance</mapping>
+      </property>
+      
+      <property>
+        <name>Amplifier</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The Model Name, Model Number and Manufacturer of the amplifier.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>Filter</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The Model Name, Model Number and Manufacturer of the filter.</definition>
+<!--         <mapping>?</mapping> -->
+      </property>
+      
+      <property>
+        <name>FilterSettings</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The settings or the parameters of the filter.</definition>
+        <mapping>?</mapping>
+      </property>
+      
+      <property>
+        <name>Recorder</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The Model Name, Model Number and Manufacturer of the recorder.</definition>
+        <mapping>?</mapping>
+      </property>
+    </section>
+    
+    <section>
+      <type>carmenmini/timeseries_data</type>
+      <name>TimeSeriesData</name>
+      
+      <property>
+        <name>DataFormat</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The name of the data format of the time series data and specific encoding. For example, ASCII or binary encoding.</definition>
+        <mapping>?</mapping>
+      </property>
+
+      <property>
+        <name>SamplingRate</name>
+        <value>
+          <type>string</type> 
+        </value>
+        <definition>The sampling rate of the recording.</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/hardware/daq.xml#hardware/daq:AISampleRate</mapping>
+      </property>
+      
+      <property>
+        <name>FileLocation</name>
+        <value>
+          <type>URL</type> 
+        </value>
+        <definition>The time series file location should be made available when the experiment is published, for example, using a Uniform Resource Identifier (URI) or a Digital Object Identifier (DOI). (Note this will be achieved automatically via submission to the CARMEN system).</definition>
+        <mapping>http://portal.g-node.org/odml/terminologies/v1.0/dataset/dataset.xml#dataset:FileURL</mapping>
+      </property>
+    </section>
+  </section> 
+</odML>

+ 212 - 0
v1.0/carmenMini/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 160 - 0
v1.0/cell/cell.xml

@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	<!-- ********************************************************* -->
+	<!--                      Cell  section                        -->
+	<!-- ********************************************************* -->
+	<section>
+		<type>cell</type>
+		<name>Cell</name>
+      <definition>Specification of the recorded cell.
+      definition be a subsection of the <a href="../subject/subjectTerms.xml">Subsect</a> section.</definition>
+           
+      <property>
+         <name>Type</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <nameDefinition>The type of the recorded cell. E.g. pyramidal cell.</nameDefinition>
+      </property>
+      
+      <property>
+         <name>BrainRegion</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <nameDefinition>The region the cell is located in. For example
+         Retina, Cortex, Cerebellum etc.</nameDefinition>
+      </property> 
+      
+      <property>
+         <name>BrainSubRegion</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <nameDefinition>More detailed specification of the region the
+         cell is located in. For example, if BrainRegion is
+         "hippocampus", then the BrainSubRegion may be "CA1".</nameDefinition>
+      </property> 
+      
+      <property>
+         <name>Layer</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <nameDefinition>The name of the layer. For example, layer 4 in CA1.</nameDefinition>
+      </property> 
+      
+      <property>
+         <name>Ganglion</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <nameDefinition>Like the pro-, meta- and mesothoracal ganglion
+         in invertebrates.</nameDefinition>
+      </property>
+      
+      <property>
+         <name>Structure</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <nameDefinition>The structure of the organism the cell is
+         located in e.g. Eye, Spinal cord...</nameDefinition>
+      </property>
+      
+      <property>
+         <name>RecordingLocation</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <nameDefinition>The recording location in the cell. E.g. axonal, dendritic,
+         somatic, ...</nameDefinition>
+      </property> 
+      
+      <property>
+         <name>Identification</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <nameDefinition>How was the cell identified?</nameDefinition>
+      </property>
+      
+      <property>
+         <name>RestingPotential</name>
+	      <value>
+			<type>float</type>
+			<unit>mV</unit>
+		 </value>
+         <nameDefinition>What is the cells resting potential of the
+         cell. An indiator for the recording quality.</nameDefinition>
+      </property> 
+      
+      <property>
+         <name>BaselineRate</name>
+	      <value>
+			<type>float</type>
+			<unit>Hz</unit>
+		  </value>
+         <nameDefinition>For spiking cells, the spontaneous activity
+         which might be an indicator for the cell's health status and
+         thus recording quality.</nameDefinition>
+      </property>
+      
+      <property>
+         <name>BaselineNoise</name>
+	      <value>
+			<type>float</type>
+	      </value>
+         <nameDefinition>The standard deviation of the baseline
+         membrane potential.</nameDefinition>
+      </property> 
+      
+      <property>
+         <name>Rheobase</name>
+	      <value>
+			<type>float</type>
+			<unit>nA</unit>
+		  </value>
+         <nameDefinition>The minimum current required to make the cell
+         fire action potentials.</nameDefinition>
+      </property> 
+      
+      <property>
+         <name>MembraneCapacity</name>
+	      <value>
+			<type>float</type>
+			<unit>pF</unit>
+		  </value>
+         <nameDefinition>The capacity of the cell.</nameDefinition>
+      </property>
+      
+      <property>
+         <name>InputResistance</name>
+	      <value>
+			<type>float</type>
+			<unit>MOhm</unit>
+		  </value>
+         <nameDefinition>The input resistance of the recorded
+         cell.</nameDefinition>
+      </property>   
+      
+      <property>
+         <name>TimeConstant</name>
+	      <value>
+			<type>float</type>
+			<unit>ms</unit>
+		  </value>
+         <nameDefinition>The mebrane time-constant.</nameDefinition>
+      </property>  
+      
+      <property>
+         <name>Comment</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <nameDefinition>A comment on the cell.</nameDefinition>
+      </property>
+   </section> 
+</odML>

+ 212 - 0
v1.0/cell/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 31 - 0
v1.0/collection/event_list.xml

@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+<!-- ********************************************************* -->
+<!--                   EventList Section                        -->
+<!-- ********************************************************* -->
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	<section>
+		<type>collection/event_list</type>
+		<name>EventList</name>
+		<definition>Section for grouping short annotations that are taken during
+     an experiment, preparation etc..</definition>
+      
+		<property>
+			<name>Timestamp</name>
+			<value>
+				<type>datetime</type> 
+			</value>
+			<definition>The local datetime entry of the moment the event was
+         taken (YYYY-MM-DD hh:mm:ss format).</definition>
+		</property> 
+     
+		<property>
+			<name>Description</name>
+			<value>
+				<type>text</type> 
+			</value>
+			<definition>A description of the event.</definition>
+		</property> 
+	</section> 
+</odML>

+ 25 - 0
v1.0/collection/hardware_properties.xml

@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                       hardware properties                 -->
+<!-- ********************************************************* -->
+   <section>
+	<type>collection/hardware_properties</type>
+	<name>HardwareProperties</name>
+      <definition>Fixed properties of hardware components used in the
+      experimental setup. There are two sections for describing
+      hardware components: the "HardwareProperties" and the
+      "HardwareSettings" section. While the HardwareProperties
+      describe the fixed properties of the hardware that can not be
+      changed, the HardwareSettings section describes the actual,
+      adjustable, parameters of the hardware that may change with each
+      recording or dataset. For example, the sample rate of an
+      data-acquisition board or the settings of a filter. In each of
+      these two sections there are subsections for each device that
+      correspond to the class of the device like data-acquisition,
+      amplifier, etc. Some properties are common for any
+      type. </definition>
+     </section>
+</odML>

+ 24 - 0
v1.0/collection/hardware_settings.xml

@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                       hardware settings                   -->
+<!-- ********************************************************* -->
+  <section>
+    <type>collection/hardware_settings</type>
+    <name>HardwareSettings</name>
+    <definition>The used values of variable properties of hardware
+      components. There are two sections for describing hardware
+      components: the "HardwareProperties" and the "HardwareSettings"
+      section. While the HardwareProperties describe the fixed
+      properties of the hardware that can not be changed, the
+      HardwareSettings section describes the actual, adjustable,
+      parameters of the hardware that may change with each recording
+      or dataset. For example, the sample rate of an data-acquisition
+      board or the settings of a filter. In each of these two sections
+      there are subsections for each device that correspond to the
+      class of the device like data-acquisition, amplifier, etc. Some
+      properties are common for any type. </definition>
+  </section> 
+</odML>

+ 212 - 0
v1.0/collection/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 118 - 0
v1.0/dataset/dataset.xml

@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <!-- ********************************************************* -->
+  <!--                      Dataset section                      -->
+  <!-- ********************************************************* -->
+	<section>
+		<type>dataset</type>
+		<name>Dataset</name>
+		<definition>Names (URLs) and times of recorded data files.
+     Datasets are obtained during a Recording and may belong to
+     different Experiments. Related sections that can be used as
+     subsections, parent sections, or siblilngs are Stimulus,
+     HardwareSettings, and Experiment.</definition>
+          
+     <property>
+       <name>Start</name>
+       <value>
+		<type>datetime</type>
+       </value>
+       <definition>The point in time the recording of this dataset was
+         started.</definition>
+     </property> 
+     
+     <property>
+       <name>End</name>
+       <value>
+		<type>datetime</type>
+       </value>
+       <definition>The point in time the recording of this dataset was
+         ended.</definition>
+     </property>
+     
+     <property>
+       <name>StartDate</name>
+       <value>
+		<type>date</type>
+       </value>
+       <definition>The date recording of this dataset was
+         started.</definition>
+     </property> 
+     
+     <property>
+       <name>EndDate</name>
+       <value>
+		<type>date</type>
+       </value>
+       <definition>The date the recording of this dataset was
+         ended.</definition>
+     </property>
+     
+     <property>
+       <name>StartTime</name>
+       <value>
+			<type>time</type>
+       </value>
+       <definition>The local time recording was started.</definition>
+     </property> 
+     
+     <property>
+       <name>EndTime</name>
+       <value>
+			<type>time</type>
+	   </value>
+       <definition>The local time recording was ended.</definition>
+     </property> 
+     
+     <property>
+       <name>Comment</name>
+       <value>
+			<type>text</type>
+       </value>
+       <definition>A comment about the dataset (common to all files
+         belonging to this dataset).</definition>
+     </property>
+     
+     <property>
+         <name>File</name>
+	      <value>
+				<type>binary</type>
+	      </value>
+         <definition> Data of this dataset. Be aware that
+         including the actual content of a data file by this property
+         will blow up the the size of the metadatafile. We rather
+         recommend to simply refer to the URL of a dataset file using
+         the FileURL property.</definition>
+     </property> 
+     
+      <property>
+         <name>File</name>
+	      <value>
+				<type>URL</type>
+	      </value>
+         <definition>The URL of a data file.</definition>
+     </property>  
+     
+     <property>
+       <name>Quality</name>
+       <value>
+			<type>string</type>
+       </value>
+       <definition>A rough indication of the overall quality of
+       the dataset. E.g. poor, fair, or good.</definition>
+     </property> 
+     
+     <property>
+       <name>QualityRange</name>
+       <value>
+			<type>string</type>
+       </value>
+       <definition>A comma separated ascending list of all used
+       values for indicating the overall quality of the
+       dataset. E.g. "poor,fair,good".</definition>
+     </property> 
+     
+  </section>
+</odML>

+ 212 - 0
v1.0/dataset/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 149 - 0
v1.0/electrode/electrode.xml

@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!--        Recording Electrodes        -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+    <section>
+		<type>electrode</type>
+        <name>Electrode</name>   
+	    <definition>Properties to describe an electrode.</definition>
+
+         <property>
+            <name>Type</name>
+	         <value>sharp
+				<type>string</type>
+	         </value>
+            <value>patch
+				<type>string</type>
+            </value>
+            <value>injection
+   				<type>string</type>
+            </value>
+            <value>extracellular
+            	<type>string</type>
+            </value>
+            <value>multibarrel
+            	<type>string</type>
+            </value>
+            <value>multi-electrode-array
+            	<type>string</type>
+            </value>
+            <value>tetrode
+            	<type>string</type>
+            </value>
+            <definition>The type of electrode.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Material</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Material the electrodes are made of e.g. glass. tungsten, steel ...</definition>
+	      </property>  
+	      
+	      <property>
+            <name>GlassType</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Type of Glass used to pull these electrodes. (e.g. Quartz, Borosilicate)</definition>
+            <dependency>Material</dependency>
+            <dependencyValue>Glass</dependencyValue>
+	      </property>  
+	      
+	       <property>
+            <name>GlassSpecification</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>Inner and outer diameter, with or without filament.</definition>
+            <dependency>Material</dependency>
+            <dependencyValue>Glass</dependencyValue>
+	      </property>  
+	   
+	       <property>
+            <name>FirePolish</name>
+	         <value>
+				<type>boolean</type>
+	         </value>
+            <definition>Specifies whether or not the electrodes were fire polished.</definition>
+            <dependency>Material</dependency>
+            <dependencyValue>Glass</dependencyValue>
+	      </property>  
+	      
+	       <property>
+            <name>Puller</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Puller used to make the electrodes.</definition>
+            <dependency>Material</dependency>
+            <dependencyValue>Glass</dependencyValue>
+	      </property>  
+	      
+	      <property>
+            <name>PullParameter</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The specific pull parameters like heat, trip velocity, heat and cooling duration etc..</definition>
+            <dependency>Material</dependency>
+            <dependencyValue>Glass</dependencyValue>
+	      </property>  
+	      
+	      <property>
+            <name>ShapeParameters</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The shape parameters of the electrode.</definition>
+	      </property>  
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The manufacturer of the electrodes if e.g. ordered from a company.</definition>
+	      </property>  
+	      
+	      <property>
+            <name>TipSize</name>
+	         <value>
+				<type>float</type>
+				<unit>&#956;m</unit>
+	         </value>
+            <definition>The tip size.</definition>
+	      </property>  
+	      
+	      <property>
+            <name>Coating</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The coating used to insulate the electrodes.</definition>
+	      </property>  
+	        
+         <property>
+            <name>Impedance</name>
+	         <value>
+				<type>float</type>
+				<unit>M&#937;</unit>
+	         </value>
+            <definition>Electrode impedance.</definition>
+	      </property>  
+       
+         <property>
+            <name>ElectrodeCount</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>Number of electrodes in a multi-electrode-array.</definition>
+	      </property>  
+	     
+      </section>
+
+</odML>

+ 212 - 0
v1.0/electrode/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 32 - 0
v1.0/event/event.xml

@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                   Event Section                        -->
+<!-- ********************************************************* -->
+	<section>
+		<type>event</type>
+		<name>Event</name>
+		<definition>Section for short annotations that are taken during
+     an experiment to describe certain events.</definition>
+   
+     
+     <property>
+       <name>Timestamp</name>
+       <value>
+		<type>datetime</type> 
+       </value>
+       <definition>The local datetime entry of the moment the event was
+         taken (YYYY-MM-DD hh:mm:ss format).</definition>
+     </property> 
+     
+     <property>
+       <name>Description</name>
+       <value>
+		<type>text</type> 
+       </value>
+       <definition>A description of the event.</definition>
+     </property> 
+  </section> 
+</odML>

+ 212 - 0
v1.0/event/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 55 - 0
v1.0/experiment/behavior.xml

@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                     Behavioral experiment			                       -->
+<!-- ********************************************************* -->  
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+	<section>
+		<type>experiment/bahavior</type>
+		<name>Behavior</name>
+		<definition>Properties for describing an behavioural experiment.</definition>
+			         
+		 <property>
+        	<name>Paradigm</name>
+	      <value>
+			<type>string</type> 
+	      </value>
+         <definition>The paradigm used in the experiment, e.g. Learning, navigation, etc... </definition>
+      </property>
+         
+      <property>
+         <name>Environment</name>
+	      <value>
+			<type>string</type> 
+	      </value>
+         <definition>The environment in which the experiments were conducted. Classical environments are e.g. the Y-maze or T-maze. Some environments are called enriched also reduced or even natural.</definition>
+      </property>
+         
+      <property>
+         <name>IndividualCount</name>
+         <value>
+			<type>int</type> 
+         </value>
+         <definition>The number of individuals that are observed/investigated at the same time.</definition>
+      </property>
+         
+      <property>
+         <name>definition</name>
+         <value>
+			<type>text</type> 
+         </value>
+         <definition>A definition of the conducted experiment.</definition>
+      </property>
+	  
+	           
+      <property>
+         <name>Protocol</name>
+         <value>
+			<type>text</type> 
+         </value>
+         <definition>A description of the task protocol undertaken by the subject.</definition>
+      </property>
+   </section>
+</odML>

+ 61 - 0
v1.0/experiment/electrophysiology.xml

@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                    	 Electrophysiology                   			   -->
+<!-- ********************************************************* -->  
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+	<section>
+		<type>experiment/electrophysiology</type>
+		<name>Electrophysiology</name>
+		<definition>Properties for describing an electrophysiological experiment.</definition>
+			      
+		<property>
+			<name>Type</name>
+			<value>intracellular recording
+				<type>string</type> 
+			</value>
+			<value>extracellular recording
+				<type>string</type> 
+			</value>
+			<value>patch clamp
+				<type>string</type> 
+			</value>
+			<value>whole cell patch
+				<type>string</type> 
+			</value>
+			<value>loose patch
+				<type>string</type> 
+			</value>
+			<value>ERG
+				<type>string</type> 
+			</value>
+			<value>EEG
+				<type>string</type> 
+			</value>
+			<value>EKG
+				<type>string</type> 
+			</value>
+			<value>EMG
+				<type>string</type> 
+			</value>
+			<definition>Intracellular recording of single cell responses with sharp microelectrodes.</definition>
+		</property>
+      			
+		<property>
+			<name>Subtype</name>
+			<value>single electrode recording
+				<type>string</type> 
+			</value>
+			<value>dual electrode recording
+				<type>string</type> 
+			</value>
+			<value>multi electrode recording
+				<type>string</type> 
+			</value>
+			<definition>Subtype of this electrophysiological experiment.</definition>
+		</property>
+      
+	</section>
+</odML>

+ 72 - 0
v1.0/experiment/experiment.xml

@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                     Experiment section                    				   -->
+<!-- ********************************************************* -->  
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	<section>
+		<type>experiment</type>
+		<name>Experiment</name>
+		<definition>Specification of an experiment. The Experiment is
+      part of a Project and the recorded data for a specific
+      Experiment are found in Datasets. Possible subsections are, for
+      example, Dataset and Stimulus.</definition>
+      
+     <property>
+         <name>Description</name>
+	      <value>
+			<type>text</type> 
+	      </value>
+         <definition>A description of the
+         experiment.</definition>
+      </property>
+      
+      <property>
+         <name>Type</name>
+	      <value>electrophysiology
+			<type>string</type> 
+	      </value>
+	      <value>behavior
+			<type>string</type> 
+	      </value>
+	      <value>simulation
+			<type>string</type> 
+	      </value>
+	      <value>imaging
+			<type>string</type> 
+	      </value>
+	      <value>psychophysics
+			<type>string</type> 
+	      </value>
+         <definition>The type of experiment.</definition>
+      </property> 
+      
+       <property>
+         <name>Subtype</name>
+	      <value>
+			<type>string</type> 
+	      </value>
+         <definition></definition>
+      </property> 
+        
+      <property>
+         <name>ProjectName</name>
+	      <value>
+			<type>string</type> 
+	      </value>
+         <definition>The name of the project this experiment belongs
+         to.</definition>
+      </property> 
+      
+      <property>
+         <name>ProjectID</name>
+	      <value>
+			<type>string</type> 
+	      </value>
+         <definition>The ID of the project this experiment belongs
+         to.</definition>
+      </property>  
+         
+  </section> 
+</odML>

+ 36 - 0
v1.0/experiment/imaging.xml

@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                     Imaging experiment			                       -->
+<!-- ********************************************************* --> 
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+	<section>
+		<type>experiment/imaging</type>
+		<name>Imaging</name>
+	   <definition>Properties for describing an imaging experiment ranging from conventional light microscpoy to fMRI.</definition>
+	   
+	            
+	   <property>
+         <name>Type</name>
+	      <value>REM
+			<type>string</type> 
+	      </value>
+	      <value>light microscopy
+	        <type>string</type> 
+	      </value>
+	      <value>confocal
+	        <type>string</type> 
+	      </value>
+	      <value>two-photon
+	        <type>string</type> 
+	      </value>
+	      <value>fMRI
+	        <type>string</type> 
+	      </value>
+         <definition>The type of imaging like two-photon, confocal, REM, light microscopy, fMRI, etc..</definition>
+      </property>
+      
+      </section>
+</odML>

+ 22 - 0
v1.0/experiment/modeling.xml

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                     		Simulation	  	 			                       -->
+<!-- ********************************************************* --> 
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+		<section>
+		<type>experiment/modeling</type>
+		<name>Modeling</name>
+	   <definition>Properties for describing a modeling experiment.</definition>
+	   
+	 	     
+      <property>
+         <name>SimulationType</name>
+	      <value>
+			<type>string</type> 
+	      </value>
+         <definition>The type of simulation: mathmatical, phenomenological, biophysical etc..</definition>
+      </property>
+   </section>
+</odML>

+ 212 - 0
v1.0/experiment/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 71 - 0
v1.0/experiment/psychophysics.xml

@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                     Psychophysics Experiment	                       -->
+<!-- ********************************************************* --> 
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+	<section>
+		<type>experiment/psychophysics</type>
+		<name>Psychophysics</name>
+		<definition>Properties for describing an psychophysical experiment.</definition>
+	      
+		<property>
+            <name>Task</name>
+	         <value>
+				<type>string</type> 
+	         </value>
+            <definition>The task the subjects have to do like "discrimination" between different stimuli, "detection" of a stimulus etc... </definition>
+		</property>
+      
+         <property>
+            <name>Paradigm</name>
+	         <value>
+				<type>string</type> 
+	         </value>
+            <definition>The experimental paradigm e.g. Two-alternative-forced-choice, Three-alternative-forced-choice.</definition>
+         </property> 
+         
+         <property>
+            <name>SubjectKnowledge</name>
+	         <value>
+				<type>string</type> 
+	         </value>
+            <definition>Was the subject "naive", "trained", or "instructed"?</definition>
+         </property> 
+         
+         <property>
+            <name>TrainingTrials</name>
+	         <value>
+				<type>int</type> 
+	         </value>
+            <definition>The number of trials used for training of the experimental subject.</definition>
+         </property> 
+         
+         <property>
+            <name>TrainingDuration</name>
+	         <value>
+				<type>float</type> 
+				<unit>h</unit> 
+			 </value>
+            <definition>The training duration.</definition>
+         </property> 
+      
+         <property>
+            <name>SubjectInstruction</name>
+	         <value>
+				<type>text</type> 
+	         </value>
+            <definition>The instructions given to the subjects.</definition>
+         </property> 
+      
+         <property>
+            <name>definition</name>
+	         <value>
+				<type>text</type> 
+	         </value>
+	         <definition>A definition of the conducted experiment.</definition>
+         </property>
+      </section>
+</odML>

+ 147 - 0
v1.0/hardware/amplifier.xml

@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!--        Amplifier         		 -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	     
+     <section>
+		<type>hardware/amplifier</type>	
+        <name>Amplifier</name>
+        <definition>The amplifier section defines elements that can be used to describe amplifier properties and settings.</definition>
+        
+          <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+         
+         <property>
+	         <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>person</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Type</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The type of amplifier. E.g. extracellular, intracellular amplifier etc.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      	      
+	      <property>
+            <name>MeasurementType</name>
+            <value>Bridge
+				<type>string</type>
+				<valueComment>Passive measurement in Bridge -Mode.</valueComment>
+            </value>
+            <value>CC
+				<type>string</type>
+				<valueComment>Current Clamp measurement.</valueComment>
+            </value>
+            <value>VC
+				<type>string</type>
+	            <valueComment>Voltage Clamp measurement.</valueComment>
+			</value>
+	         <value>VCcCC
+				<type>string</type>
+	            <valueComment>Voltage Clamp controlled Current Clamp measurement.</valueComment>
+	         </value>
+            <value>Dynamic Clamp
+				<type>string</type>
+	            <valueComment>Dynamic Clamp measurement.</valueComment>
+            </value>
+            <definition>The amplifier mode. Measurement in Voltage clamp controlled current clamp -mode.</definition>
+         </property> 
+         
+	      <property>
+            <name>OperationMode</name>
+	         <value>Bridged
+				<type>string</type>
+	            <valueComment>Passive measurement in Bridge -Mode.</valueComment>
+	         </value>
+	         <value>Discontinuous
+				<type>string</type>
+	            <valueComment>Measurement in Discontinuous (switched) -Mode.</valueComment>
+	         </value>
+            <definition>The amplifier mode.</definition>
+	      </property>
+
+	      <property>
+            <name>SwitchingFrequency</name>
+	         <value>
+				<type>float</type>
+				<unit>Hz</unit>
+			 </value>
+	         <dependency>OperationMode</dependency>
+	         <dependencyValue>Discontiuous</dependencyValue>
+            <definition>The amplifier switching frequency. This property is only meaningful in Discontinuos operation modes.</definition>
+	      </property>
+	  
+	      <property>
+            <name>DutyCycle</name>
+	         <value>
+				<type>float</type>
+			 </value>
+	         <dependency>OperationMode</dependency>
+	         <dependencyValue>Discontinuous</dependencyValue>
+            <definition>The amplifier duty cylce if in disconinuous mode (e.g. 0.25, 0.5).</definition>
+	      </property>  
+	  
+	      <property>
+            <name>Gain</name>
+	         <value>
+				<type>float</type>
+			 </value>
+            <definition>The amplifier gain.</definition>
+	      </property>
+	      
+	      <property>
+            <name>HighpassCutoff</name>
+            <value>
+				<type>float</type>
+				<unit>Hz</unit>
+			 </value>
+            <definition>The cutoff frequency of the amplifier's highpass filter.</definition>
+	      </property>
+	      
+	      <property>
+            <name>LowpassCutoff</name>
+	         <value>
+				<type>float</type>
+				<unit>Hz</unit>
+			 </value>
+            <definition>The cutoff frequency of the amplifier's lowpass filter.</definition>
+	      </property>	      
+      </section>
+</odML>

+ 93 - 0
v1.0/hardware/attenuator.xml

@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+ <!-- ********************************** -->
+      <!--        Attenuator properties       -->
+      <!-- ********************************** -->
+     <section>
+		<type>hardware/attenuator</type>
+        <name>Attenuator</name>
+	      <definition>Settings of the data acquisition system. most settings refer to individual channels the channel number should be given after the property name like DAQ.AISampleRate0 for the sampling rate of the analog input	channel 0.</definition>
+         
+        <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property>  
+         
+         <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+      	</property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+           <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      
+	     <property>
+            <name>LineCount</name>
+	         <value>
+				<type>int</type>
+	         </value>
+           <definition>The number of indepoendent lines.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>MaxAttenuation</name>
+	         <value>
+				<type>float</type>
+	         </value>
+           <definition>The maximum attenuation.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>MinAttenuation</name>
+	         <value>
+				<type>float</type>
+	         </value>
+           <definition>The minimum attenuation.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>StepSize</name>
+	         <value>
+				<type>float</type>
+	         </value>
+           <definition>The size of the attenuation steps between minimum and maximum attenuation.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Attenuation</name>
+	         <value>
+				<type>float</type>
+	         </value>
+           <definition>The actual attenuation setting.</definition>
+	      </property> 
+      </section>
+</odML>

+ 149 - 0
v1.0/hardware/camera_objective.xml

@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!--           Camera Objective         		 -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+     
+     <section>
+		<type>hardware/camera_objective</type>
+        <name>CameraObjective</name>
+         <definition>This section contains properties that describe a camera objective.</definition>
+	      
+         <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of this device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>SerialNo</name>
+	         <value>
+		         <type>string</type>
+	         </value>
+            <definition>The serial number of this device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The owner of this device.</definition>
+	      </property> 
+          
+	      <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The objective model name.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The Manufacturer providing the objective.</definition>
+	      </property> 
+		  
+	      <property>
+            <name>Type</name>
+	         <value>Zoom
+				<type>string</type>
+	         </value>
+			 <value>Macro
+				<type>string</type>
+			 </value>
+			 <value>FixedFocus
+				<type>string</type>
+			 </value>
+			 <value>FixedApperture
+				<type>string</type>
+			 </value>
+	         <definition>The type of objective.</definition>
+	      </property>
+	      
+		  <property>
+            <name>Mount</name>
+	         <value>C-Mount
+				<type>string</type>
+	         </value>
+			 <value>CS-Mount
+				<type>string</type>
+			 </value>
+	         <definition>The type of mount.</definition>
+	      </property>
+		  
+		  <property>
+            <name>NumericalAperture</name>
+	         <value>
+				<type>float</type>
+	         </value>
+	         <definition>The numerical aperture (N.A.) of the objective.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>MaximumAperture</name>
+	         <value>
+				<type>float</type>
+	         </value>
+	         <definition>The maximum aperture of the objective.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Aperture</name>
+	         <value>
+				<type>float</type>
+	         </value>
+	         <definition>The actual aperture setting of the objective.</definition>
+	      </property>
+	      
+	      <property>
+            <name>FocalLengthRange</name>
+	         <value>
+				<type>float</type>
+	         </value>
+	         <definition>The range of focal lengths of the objective.</definition>
+	      </property>
+	      
+	      <property>
+            <name>FocalLength</name>
+	         <value>
+				<type>float</type>
+	         </value>
+	         <definition>The focal length of the objective.</definition>
+	      </property>
+		  
+		  <property>
+            <name>TransmissionLowerBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The lower bound of transmission.</definition>
+	      </property>
+		  
+		  <property>
+            <name>TransmissionUpperBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The upper bound of transmission.</definition>
+	      </property>
+		  
+		   <property>
+            <name>TransmissionRange</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The transmission range (min - max).</definition>
+	      </property>
+	  </section>
+</odML>

+ 183 - 0
v1.0/hardware/daq.xml

@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+ <!-- ********************************** -->
+      <!-- Data  acquisition (DAQ) properties -->
+      <!-- ********************************** -->
+      <section>
+		<type>hardware/daq</type>
+        <name>DataAcquisition</name>
+         <definition>The hardware section describes the settings of the used hardware. There should be one hardware section for each hardware item that was used.</definition>
+                   
+	      <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+      	</property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+           <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>AIResolution</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The voltage resolution of the analog input (AIN) subsystem given in bit.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>AIMaxSampleRate</name>
+	         <value>
+				<type>float</type>
+				<unit>Hz</unit>
+			 </value>
+            <definition>The maximum sampling rate.</definition>
+	      </property>
+	      
+	      <property>
+            <name>AIChannelCount</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The number of input channels of the DAQ-device.</definition>
+	      </property>
+	      
+	      <property>
+            <name>AOResolution</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The voltage resolution of a data-acquisition
+             analog output (AO) subsystem given in bit.</definition>
+	      </property>
+	      
+         <property>
+            <name>AOMaxSampleRate</name>
+	         <value>
+				<type>float</type>
+				<unit>Hz</unit>
+			 </value>
+            <definition>The maximum sampling rate.</definition>
+	      </property>
+	      
+	      <property>
+            <name>AOChannelCount</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The number of output channels of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>DIOLineCount</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The number of digital input/output lines (DIO) of the device.</definition>
+	      </property>
+  
+
+	      <property>
+            <name>AIUsedChannelCount</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The number of used analog input channels.</definition>
+	      </property>
+	      
+	      <property>
+            <name>AISampleRate</name>
+	         <value>
+				<type>int</type>
+				<unit>Hz</unit>
+			 </value>
+            <definition>The sample rate with which an individual input
+            channel was sampled. Given in Hz. </definition>
+	      </property> 
+	      
+	      <property>
+            <name>AIChannelGain</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The gain of an input channel.</definition>
+	      </property>
+	      
+	      <property>
+            <name>AIReference</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The reference to which voltages were measured. Usually either "common ground" or "differential".</definition>
+	      </property> 
+	      
+	      <property>
+            <name>AIPolarity</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The polarity of the measurement "unipolar" or "bipolar".</definition>
+	      </property> 
+	      
+	      <property>
+            <name>AOUsedChannelCount</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The number of used analog output channels.
+	         </definition>
+	      </property>
+	      
+	      <property>
+            <name>AOSampleRate</name>
+	         <value>
+				<type>int</type>
+				<unit>Hz</unit>
+			 </value>
+            <definition>The sample rate with which an individual output
+            channel was sampled. Given in Hz.</definition>
+	      </property>  
+	      
+	      <property>
+            <name>AOChannelGain</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The gain of an output channel.</definition>
+	      </property> 
+
+   </section>
+</odML>

+ 121 - 0
v1.0/hardware/eyetracker.xml

@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1"> 
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	<section>
+		<type>hardware/eyetracker</type>
+         <name>Eyetracker</name>
+	      <definition>Properties of an eyetracker.</definition>
+         
+          <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property> 
+         
+         <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+         
+         <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+      	</property> 
+	      
+	  <property>
+        <name>Manufacturer</name>
+	    <value>
+			<type>string</type>
+	    </value>
+		<definition>The Manufacturer of this hardware item.</definition>
+	  </property> 
+	      
+	  <property>
+         <name>Comment</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>Space for some comments.</definition>
+      </property>
+	  
+       <property>
+         <name>Type</name>
+	      <value>tabletop
+			<type>string</type>
+	      </value>
+		  <value>head mounted
+			<type>string</type>
+		  </value>
+         <definition>The kind of eyetracker.</definition>
+      </property> 
+	  
+	   <property>
+         <name>SampleRate</name>
+	      <value>
+			<type>float</type>
+			<unit>Hz</unit>
+		 </value>
+         <definition>The rate with which eye positions are sampled.</definition>
+      </property>
+	   
+	   <property>
+         <name>DetektorType</name>
+	      <value>Infrared
+			<type>string</type>
+	      </value>
+		  <value>Dual Purkinje
+			<type>string</type>
+		  </value>
+		  <value>Coil
+			<type>string</type>
+		  </value>
+         <definition>The kind of detektor used in this eyetracker.</definition>
+      </property>
+	  
+	   <property>
+         <name>Filter</name>
+	      <value>
+			<type>string</type>
+	      </value>
+		  <definition>The kind of filter applied to the data.</definition>
+      </property>
+	  
+	   <property>
+         <name>Calibration</name>
+	      <value>
+			<type>string</type>
+	      </value>
+		  <definition>The calibration procedure.</definition>
+      </property>
+	  
+	   <property>
+         <name>Fixation</name>
+	      <value>Bitebar
+			<type>string</type>
+	      </value>
+		  <value>Chinrest
+			<type>string</type>
+		  </value>
+		  <dependency>Type</dependency>
+		  <dependencyValue>Tabletop</dependencyValue>
+		  <definition>The way the head was fixed. Makes no sense if the eytracker is head mounted.</definition>
+      </property>
+   </section>
+</odML>

+ 115 - 0
v1.0/hardware/filter.xml

@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+		<!-- ********************************** -->
+      <!--        Filter properties       -->
+      <!-- ********************************** -->
+      <section>
+		<type>hardware/filter</type>
+         <name>Filter</name>
+	      <definition>Properties a filter modul for analog signal conditioning.</definition>
+                  
+         <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property>
+         
+         <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+      	</property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>	         
+           <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      
+         <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property>
+	      
+         <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+         <property>
+            <name>Type</name>
+	         <value>Highpass
+				<type>string</type>
+	         </value>
+	         <value>Lowpass
+				<type>string</type>
+	         </value>
+	         <value>Bandpass
+				<type>string</type>
+	         </value>
+	         <value>Notch
+				<type>string</type>
+	         </value>
+            <definition>The type of filter.</definition>
+	      </property>
+	      
+	      <property>
+            <name>SubType</name>
+	         <value>Bessel
+				<type>string</type>
+	         </value>
+	         <value>Butterworth
+				<type>string</type>
+	         </value>
+            <definition>The type of filter.</definition>
+	      </property>
+        
+         <property>
+            <name>LowpassCutoff</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition> The lowpass filter cutoff frequency.</definition>
+	      </property> 
+	      
+         <property>
+            <name>LowpassOrder</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The order of the lowpass filter</definition>
+	      </property> 
+	      
+	       <property>
+            <name>HighpassCutoff</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition> The highpass filter cutoff frequency.</definition>
+	      </property> 
+	      
+         <property>
+            <name>HighpassOrder</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The order of the highpass filter</definition>
+	      </property> 
+	      
+	      
+      </section>
+</odML>

+ 187 - 0
v1.0/hardware/filter_set.xml

@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	 <!-- ********************************** -->
+      <!--     Filter set aka Filter cube     -->
+      <!-- ********************************** -->
+      <section>
+		<type>hardware/filter_set</type>
+         <name>Filterset</name>
+         <definition>The FilterSet or also FilterCube used in a microscope.</definition>
+	      
+	      
+         <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the FilterSet.</definition>
+	      </property> 
+	      
+         <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the FilterSet.</definition>
+	      </property> 
+         
+	      <property>
+            <name>ExcitationFilterModel</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model of excitation filter.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>ExcitationFilterManufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Manufacturer providing the  of the excitation filter.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>ExcitationFilterWavelength</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The wavelength of the excitation filter.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>ExcitationFilterLowerBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The lower bound of of the wavelength transmitted by the excitation filter.</definition>
+	      </property> 
+	      	      
+         <property>
+            <name>ExcitationFilterUpperBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The upper bound of of the wavelength transmitted by the excitation filter.</definition>
+	      </property> 
+	      
+         <property>
+            <name>ExcitationFilterRange</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The width of the transmitted wavelength range.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>ExcitationFilterPassbandTransmission</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The transmission in the passband. Given in %.</definition>
+	      </property>
+	      
+	      <!-- emission Filter -->
+	       <property>
+            <name>EmissionFilterModel</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model of excitation filter.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>EmissionFilterManufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Manufacturer providing the  of the excitation filter.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>EmissionFilterWavelength</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The wavelength of the excitation filter.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>EmissionFilterLowerBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The lower bound of of the wavelength transmitted by the emission filter.</definition>
+	      </property> 
+	      	      
+         <property>
+            <name>EmissionFilterUpperBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The upper bound of of the wavelength transmitted by the excitation filter.</definition>
+	      </property> 
+	      
+         <property>
+            <name>EmissionFilterRange</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The width of the transmitted wavelength range.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>EmissionFilterPassbandTransmission</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The transmission in the passband. Given in %.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>BeamsplitterType</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The type of beamsplitter used.</definition>
+	      </property>
+	      
+	      <property>
+            <name>BeamsplitterModel</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The beam splitter model name.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>BeamsplitterManufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The Manufacturer providing the beam splitter.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>BeamsplitterWavelength</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The wavelength at which the beam splitter separates the beams.</definition>
+	      </property> 
+	      
+	     
+      </section>
+
+</odML>

+ 64 - 0
v1.0/hardware/hardware.xml

@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!--        unspecified HardwareItem	 -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+     
+     <section>
+		<type>hardware</type>
+         <name>Hardware</name>
+         <definition>This is a generic hardware section meant to take information of items for which no specific terminology exists.</definition>
+                  
+          <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+         
+         <property>
+	         <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>person</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Type</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The type of amplifier. E.g. extracellular, intracellular amplifier etc.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      	      
+	    
+      </section>
+</odML>

+ 296 - 0
v1.0/hardware/iaq.xml

@@ -0,0 +1,296 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!-- Image Acquisition (IAQ) properties -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+     <section>
+		<type>hardware/iaq</type>
+         <name>ImageAcquisition</name>
+         <definition>Properties to define an Image acquisition device. This can be a framegrabber, a camera etc.</definition>
+	          
+         <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+         </property> 
+         
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+		   <property>
+            <name>Type</name>
+	         <value>Digital Camera
+				<type>string</type>
+	         </value>
+			 <value>Analogue Camera
+				<type>string</type>
+			 </value>
+			 <value>Framegrabber
+				<type>string</type>
+			 </value>
+            <definition> The kind of image acquisiton device.</definition>
+	      </property>
+		  
+		  <property>
+            <name>Mount</name>
+	         <value>C-Mount
+				<type>string</type>
+	         </value>
+			 <value>CS-Mount
+				<type>string</type>
+			 </value>
+            <definition> The lens mount (there are many more).</definition>
+	      </property>
+		  
+		  <property>
+            <name>Colorspace</name>
+	         <value>Monochrome
+				<type>string</type>
+	         </value>
+			 <value>Color
+				<type>string</type>
+			 </value>
+            <definition> The kind of image acquisiton device.</definition>
+	      </property>
+		  
+		  
+		   <property>
+            <name>DetektorType</name>
+	         <value>CMOS
+				<type>string</type>
+	         </value>
+			 <value>CCD
+				<type>string</type>
+			 </value>
+			 <value>2 CCD
+				<type>string</type>
+			 </value>
+			 <value>3 CCD
+				<type>string</type>
+			 </value>
+			 <value>Framegrabber</value>
+            <definition> The kind of image acquisiton device.</definition>
+	      </property>
+		
+		  <property>
+            <name>SensitivityRange</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The sensitivity range of the detektor (min - max).</definition>
+	      </property>
+		  
+		  <property>
+            <name>MinFramerate</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The minimal framerate of the image acquisition system (Camera, framegrabber, etc.).</definition>
+	      </property> 
+		  
+		  <property>
+            <name>MaxFramerate</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The maximum framerate of the image acquisition system (Camera, framegrabber, etc.).</definition>
+	      </property> 
+		  
+	       <property>
+            <name>Framerate</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The actual framerate of the image acquisition system (Camera, framegrabber, etc.).</definition>
+	      </property> 
+	      
+	      <property>
+            <name>SpatialRes</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The spatial resolution of the acquired images (width x height).</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Lens</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>This property can be used to specify which kind of optics have been used.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>ShutterSpeed</name>
+            <value>
+				<type>float</type>
+            </value>
+            <definition>The speed of the shutter, given in seconds or milliseconds.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Apperture</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The actual apperture (e.g. 5.6).</definition>
+	      </property> 
+	      
+	      <property>
+            <name>CCDGain</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The gain of a ccd chip.</definition>
+	      </property> 
+	
+	      <property>
+            <name>Depth</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The brightness resoltuion e.g. lower 8 bit.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>RoiPositionX</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The position of the region of interest on the CCD chip. Usually given in pixel describing the top left
+            corner relative to the chip origin (also the top left corner).</definition>
+	      </property> 
+	      
+	      <property>
+            <name>RoiPositionY</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The position of the region of interest on the CCD chip. Usually given in pixel describing the top left
+            corner relative to the chip origin (also the top left corner).</definition>
+	      </property> 
+	      
+	      <property>
+            <name>RoiWidth</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The width of the region of interest. Given in pixels.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>RoiHeight</name>
+	         <value>
+				<type>int</type>
+			</value>
+            <definition>The heigth of the region of interest. Given in pixels.</definition>
+         </property> 
+	      
+	      <property>
+            <name>PicRotation</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The rotation of the picture. (e.g. +180degrees).</definition>
+	      </property> 
+		  
+		  <property>
+            <name>Brightness</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The brightness adjustment.</definition>
+	      </property> 
+		  
+		  <property>
+            <name>Contrast</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The contrast adjustment.</definition>
+	      </property> 
+	      
+		  <property>
+            <name>Gamma</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The gamma value.</definition>
+	      </property> 
+		  
+		  <property>
+            <name>GammaFuntion</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The gamma calibration function.</definition>
+	      </property> 
+		  
+		   <property>
+            <name>PixelBinning</name>
+	         <value>
+				<type>string</type>
+			</value>
+            <definition>The type of pixel binning on the chip.</definition>
+	      </property> 
+		  
+		  <property>
+            <name>Subsampling</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The subsampling method used on the chip.</definition>
+	      </property> 
+		  
+		  <property>
+            <name>ColorTemperature</name>
+	         <value>
+				<type>int</type>
+	         </value>
+            <definition>The color temperature.</definition>
+	      </property>
+		  
+		  <property>
+            <name>ColorGain</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition></definition>
+	      </property> 
+		  
+      </section> 
+</odML>

+ 154 - 0
v1.0/hardware/light_source.xml

@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!--           LightSources             -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+    <section>
+		<type>hardware/light_source</type>
+        <name>Lightsource</name>
+	    <definition>This section contains keywords to describe the actual settings of a light source used for stimulation or excitation.</definition>
+	    	      
+         <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+         
+         <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+	       <property>
+            <name>Type</name>
+	         <value>LED
+				<type>string</type>
+	         </value>
+	         <value>Laser
+				<type>string</type>
+	         </value>
+	         <value>Mercury Arc
+				<type>string</type>
+	         </value>
+	         <value>Halogen Lamp
+				<type>string</type>
+	         </value>
+	         <value>Xenon Lamp
+				<type>string</type>
+	         </value>
+            <definition>The type of light source used.</definition>
+	      </property> 
+	   
+	      <property>
+            <name>PulseWidth</name>
+	         <value>
+				<type>string</type>
+				<unit>s</unit>
+			 </value>
+	         <parent>Type</parent>
+	         <dependencyValue>Laser</dependencyValue>
+            <definition>The width of the laser pulse.</definition>
+	      </property>
+	      
+	      <property>
+            <name>PulseRate</name>
+	         <value>
+				<type>float</type>
+				<unit>Hz</unit>
+			 </value>
+	         <dependency>Type</dependency>
+	         <dependencyValue>Laser</dependencyValue>
+            <definition>The frequency with which laser pulses are delivered.</definition>
+	      </property>
+	      
+      	<property>
+            <name>Wavelength</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The wavelength of the emitted light.</definition>
+	      </property>
+	      
+	      <property>
+            <name>WavelengthLowerBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The lower bound of the output spectrum.</definition>
+	      </property>
+	
+	      <property>
+            <name>WavelengthUpperBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The upper bound of the output spectrum.</definition>
+	      </property>
+	      
+	      <property>
+            <name>Intensity</name>
+	         <value>
+				<type>float</type>
+				<unit>W</unit>
+			 </value>
+            <definition>The output intensity of the light source in Watts.</definition>
+	      </property>
+	      
+	      <property>
+            <name>Intensity</name>
+	         <value>
+				<type>float</type>
+				<unit>cd/m^2</unit>
+			 </value>
+            <definition>The output intensity of the light source in candela per square meter.</definition>
+	      </property>
+	      
+	      <property>
+            <name>Intensity</name>
+	         <value>
+				<type>float</type>
+				<unit>lux</unit>
+			 </value>
+            <definition>The output intensity of the light source defined in lux.</definition>
+	      </property>
+	      
+	      
+	      
+      </section>
+
+</odML>

+ 65 - 0
v1.0/hardware/microscope.xml

@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!--        Microscope properties        -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+    <section>
+		<type>hardware/microscope</type>
+        <name>Microscope</name>
+        <definition>The Microscope section describes the properties of the used microscope.</definition>
+	     
+         <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property>
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Type</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The microcope type: widefield, two-photon, multi-photon, confocal, etc...</definition>
+	      </property> 
+	      
+         <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      
+	       
+      </section>
+
+</odML>

+ 111 - 0
v1.0/hardware/microscope_objective.xml

@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************** -->
+<!--           Microscope Objective                -->
+<!-- ********************************** -->
+	<section>
+		<type>hardware/microscope_objective</type>
+         <name>MicroscopeObjecive</name>
+         <definition>This section contains properties that describe the objective used in a microscope.</definition>
+	    	      
+          <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of this device.</definition>
+	      </property> 
+	      
+	      <property>
+	         <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property>
+	      
+	       <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The objective model name.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The Manufacturer providing the objective.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Type</name>
+            <value>dry
+				<type>string</type>
+            </value>
+	         <value>water immersion
+				<type>string</type>
+	         </value>
+	         <value>oil immersion
+				<type>string</type>
+	         </value>
+	         <definition>The type of objective used in a microscope. (e.g. water immersion, oil immersion, dry.)</definition>
+	      </property>
+	      
+	     <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The owner of this device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Magnification</name>
+	         <value>
+				<type>float</type>
+	         </value>
+	         <definition>The magnification of the objective.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>NumericalAperture</name>
+	         <value>
+				<type>float</type>
+	         </value>
+	         <definition>The numerical aperture (N.A.) of the objective.</definition>
+	      </property> 
+	   
+	   <property>
+            <name>TransmissionLowerBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The lower bound of transmission.</definition>
+	      </property>
+		  
+		  <property>
+            <name>TransmissionUpperBound</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The upper bound of transmission.</definition>
+	      </property>
+	   
+	     <property>
+            <name>TransmissionRange</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The transmission range (min - max).</definition>
+	      </property>
+      </section>
+
+</odML>

+ 212 - 0
v1.0/hardware/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 139 - 0
v1.0/hardware/scanner.xml

@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!--              Scanner               -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+    <section>
+		<type>hardware/scanner</type>
+         <name>Scanner</name>
+         <definition>The Scanner used to scan microscope images.</definition>
+	      	      
+         <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the FilterSet.</definition>
+	      </property> 
+	      
+         <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the FilterSet.</definition>
+	      </property> 
+	    
+	      <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The scanner model name.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The Manufacturer providing the scanner.</definition>
+	      </property> 
+	      
+         <property>
+            <name>Type</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The type of scanner used in a scanning microscope. (e.g. Galvanometer, electro-optic-deflector etc.)</definition>
+	      </property>
+	      
+	      
+	      <property>
+            <name>ImageWidth</name>
+	         <value>
+				<type>int</type>
+				<unit>pixel</unit>
+			 </value>
+            <definition>The width of the scanned image.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>ImageHeight</name>
+	         <value>
+				<type>int</type>
+				<unit>pixel</unit>
+			 </value>
+            <definition>The height of the scanned image.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>PixelSize</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The size of each pixel.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>DwellTime</name>
+	         <value>
+				<type>float</type>
+				<unit>&#181;m</unit>
+			 </value>
+            <definition></definition>
+	      </property> 
+	      
+	      <property>
+            <name>ScanRate</name>
+	         <value>
+				<type>float</type>
+				<unit>nm</unit>
+			 </value>
+            <definition>The size of each pixel.</definition>
+	      </property> 
+	      
+	       <property>
+            <name>ScanMode</name>
+	         <value>
+				<type>string</type>
+	         </value>
+	         <definition>The scanning mode e.g. line or xy.</definition>
+	      </property> 
+	      
+	       <property>
+            <name>StackZRange</name>
+	         <value>
+				<type>float</type>
+				<unit>&#181;m</unit>
+			 </value>
+            <definition>The depth scanned.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>StackZStepSize</name>
+	         <value>
+				<type>float</type>
+				<unit>&#181;m</unit>
+			 </value>
+            <definition>The step size with which the range is scanned.</definition>
+	      </property> 
+	      
+	    
+	      
+
+      </section>
+
+</odML>

+ 173 - 0
v1.0/hardware/stimulus_isolator.xml

@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************** -->
+<!--        Stimulus Isolator           -->
+<!-- ********************************** -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+    <section>
+		<type>hardware/stimulus_isolator</type>
+         <name>StimulusIsolator</name>
+	      <definition>Properties of a stimulus Isolator device.</definition>
+         
+         <property>
+            <name>SerialNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The device's serial number.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>InventoryNo</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The inventory number of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Model</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition>The model name of this hardware item.</definition>
+      	</property> 
+	      
+	      <property>
+            <name>Manufacturer</name>
+	         <value>
+				<type>string</type>
+	         </value>
+           <definition>The Manufacturer of this hardware item.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>Owner</name>
+	         <value>
+				<type>string</type>
+	         </value>
+            <definition> Who's the owner of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>InputRangeMinVoltage</name>
+	         <value>
+				<type>float</type>
+				<unit>V</unit>
+			 </value>
+            <definition>The minimal input voltage.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>InputRangeMaxVoltage</name>
+	         <value>
+				<type>float</type>
+				<unit>V</unit>
+			 </value>
+            <definition>The maximal input voltage.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>OutputRangeMinVolatge</name>
+	         <value>
+				<type>float</type>
+				<unit>V</unit>
+			 </value>
+            <definition>The minimal output voltage.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>OutputRangeMaxVoltage</name>
+	         <value>
+				<type>float</type>
+				<unit>V</unit>
+			 </value>
+            <definition>The maximal ouput voltage.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>OutputRangeMinCurrent</name>
+	         <value>
+				<type>float</type>
+				<unit>A</unit>
+			 </value>
+            <definition>The minimal output current.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>OutputRangeMaxCurrent</name>
+	         <value>
+				<type>float</type>
+				<unit>A</unit>
+			 </value>
+            <definition>The maximal ouput current.</definition>
+	      </property> 
+	      
+        <property>
+            <name>MaximumGain</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The maximum gain of the device.</definition>
+	      </property> 
+	      
+	      <property>
+            <name>MinimumGain</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The minimum gain of the device.</definition>
+	      </property> 
+	      
+	       <property>
+            <name>GainStepSize</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The size of the gain steps between minimum and maximum.</definition>
+	      </property> 
+	      
+	      <property>
+	         <name>OutputType</name>
+	         <value>Voltage
+				<type>string</type>
+	         </value>
+	         <value>Current
+				<type>string</type>
+	         </value>
+            <definition>The type of output of the stimulus isolator.</definition>
+	      </property>
+	      
+	      <property>
+	         <name>OutpuMode</name>
+	         <value>BipolarOn
+				<type>string</type>
+	         </value>
+	         <value>BipolarOff
+				<type>string</type>
+	         </value>
+            <definition>The polarity mode of the stimulus isolator.</definition>
+	      </property>
+	      
+	      <property>
+            <name>Gain</name>
+	         <value>
+				<type>float</type>
+	         </value>
+            <definition>The gain of the device.</definition>
+         </property> 
+      
+	      <property>
+            <name>GainDb</name>
+	         <value>
+				<type>float</type>
+				<unit>db</unit>
+			 </value>
+            <definition>The gain of the device given in db.</definition>
+         </property> 
+	      
+      </section>
+
+</odML>

+ 71 - 0
v1.0/odML.xsd

@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           targetNamespace="http://www.g-node.org/odml">
+  <!-- 1 -->
+  <!-- THE PROPERTY TYPE IS THE BUILDING BLOCK OF ALL odML METADATA. -->
+  <!-- PROPERTIES BASICALLY CONSIST OF name/value PAIRS. -->
+  <!-- -->
+  <!-- A: Value Subtype -->
+  <xs:element name ="value" type="xs:string">
+    <xs:complexType>
+      <xs:choice minOccurs="0" maxOccurs="unbounded">
+        <xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="uncertainty" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="unit" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="id" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="definition" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="defaultFileName" minOccurs="0" maxOccurs="1"/>
+      </xs:choice>
+    </xs:complexType>
+  </xs:element>
+  <!-- B: Property -->
+  <xs:element name ="property">
+    <xs:complexType>
+      <xs:choice minOccurs="0" maxOccurs="unbounded">
+        <!-- if there is a NAME there must also be a VALUE -->
+        <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
+        <xs:element ref="value" minOccurs="1" maxOccurs="unbounded"/>
+        <!-- all other elements are optional -->
+        <xs:element name="synonym" minOccurs="0" maxOccurs="unbounded"/>
+        <xs:element name="definition" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="mapping" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="dependency" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="dependencyValue" type="xs:string" minOccurs="0" maxOccurs="1"/>
+      </xs:choice>
+    </xs:complexType>
+  </xs:element>
+  <!-- 2 -->
+  <!-- SECTIONS ARE MEANT TO CONTAIN PROPERTIES THAT BELONG -->
+  <!-- LOGICALLY TOGETHER THESE MAY HAVE SUBSECTIONS -->
+  <xs:element name="section">
+    <xs:complexType mixed="true">
+      <xs:choice minOccurs="0" maxOccurs="unbounded">
+        <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
+        <xs:element name="type" type="xs:string" minOccurs="1" maxOccurs="1"/>
+        <xs:element name="id" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="definition" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="link" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="include" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="repository" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="mapping" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
+        <xs:element ref="section" minOccurs="0" maxOccurs="unbounded"/>
+      </xs:choice>
+    </xs:complexType>
+  </xs:element>
+  <!-- 3 -->
+  <!-- THE ROOT ELEMENT THAT CAN CONTAIN ALL THE INFORMATION THE USER WANTS TO PROVIDE -->
+  <!-- THE ROOT ELEMENT ITSELF CAN ONLY CONTAIN SECTIONS BUT NO PROPERTIES -->
+  <xs:element name="odML">
+    <xs:complexType mixed="true">
+      <xs:choice minOccurs="0" maxOccurs="unbounded">
+        <xs:element name="author" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="date" type="xs:date" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="version" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element name="repository" type="xs:string" minOccurs="0" maxOccurs="1"/>
+        <xs:element ref="section" minOccurs="1" maxOccurs="unbounded"/>
+      </xs:choice>
+    <xs:attribute name="version" type="xs:string"/>
+  </xs:complexType>
+ </xs:element>
+</xs:schema>

+ 327 - 0
v1.0/odMLTerminologies.xml

@@ -0,0 +1,327 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odMLTerminologies.xsl"?>
+<odML version="1"> 
+	<baseURL>http://www.g-node.org/odml/terminologies/v1.0/</baseURL>
+	<section>
+		<type>analysis/generic</type>
+		<name>Analysis</name>
+		
+		<section>
+			<type>analysis/psth</type>
+			<name>PSTH</name>
+		</section>
+	</section>
+		
+	<section>
+		<type>cell/generic</type>
+		<name>Cell</name>
+	</section>
+	
+	<section>
+		<type>dataset/generic</type>
+		<name>Dataset</name>
+	</section>
+	
+	
+	
+	<section>
+		<type>event/generic</type>
+		<name>Event</name>
+		
+		<section>
+			<type>event/eventList</type>
+			<name>EventList</name>
+		</section>
+	</section>
+  
+	<section>
+		<type>electrode/generic</type>
+		<name>Electrode</name>
+	</section>
+	
+	<section>
+		<type>experiment/generic</type>
+		<name>Experiment</name>
+		
+		<section>
+			<type>experiment/behavior</type>
+			<name>Behavior</name>
+		</section>
+		
+		<section>
+			<type>experiment/electrophysiology</type>
+			<name>Electrophysiology</name>
+		</section>
+		
+		<section>
+			<type>experiment/imaging</type>
+			<name>Imaging</name>
+		</section>
+		
+		<section>
+			<type>experiment/modeling</type>
+			<name>Modeling</name>		      
+		</section>
+   	
+		<section>
+			<type>experiment/pschophysics</type>
+			<name>Psychophysics</name>
+		</section>	
+	</section>
+    
+	<section>
+          <type>collection/hardwareProperties</type>
+		<name>HardwareProperties</name>
+		<definition>There are two hardware related sections i.e. the
+      "HardwareProperties" and the "HardwareSettings" section. While
+      the properties describe the static properties of the hardware
+      that do not change, the settings section describes the actual,
+      adjustable, parameters, of the hardware that may change with
+      each recording or dataset e.g. the sample rate of an
+      data acquisition board. In each of these sections there are
+      subsections for each device (or can be) that correspond to the
+      class of the device like data-acquisition, amplifier, etc. Some
+      properties are common for any type.</definition>
+		<section>
+			<type>hardware/generic</type>
+			<name>Hardware</name>
+		</section>
+		
+		<section>
+			<type>hardware/attenuator</type>
+			<name>Attenuator</name>
+		</section>
+		
+		<section>
+			<type>hardware/cameraObjective</type>
+			<name>CameraObjective</name>
+		</section>
+		
+		<section>
+			<type>hardware/daq</type>
+			<name>DataAcquisition</name>
+		</section>
+		
+		<section>
+			<type>hardware/eyetracker</type>
+			<name>Eyetracker</name>
+		</section>
+		
+		<section>
+			<type>hardware/filter</type>
+			<name>Filter</name>
+		</section>
+		
+		<section>
+			<type>hardware/filterSet</type>
+			<name>Filterset</name>
+		</section>
+		
+		<section>
+			<type>hardware/iaq</type>
+			<name>ImageAcquisition</name>
+		</section>
+		
+		<section>
+			<type>hardware/lightSource</type>
+			<name>Lightsource</name>
+		</section>
+		
+		<section>
+			<type>hardware/microscope</type>
+			<name>Microscope</name>
+		</section>
+		
+		<section>
+			<type>hardware/microscopeObjective</type>
+			<name>MicroscopeObjective</name>
+		</section>
+				
+		<section>
+			<type>hardware/scanner</type>
+			<name>Scanner</name>
+		</section>
+		
+		<section>
+			<type>hardware/stimulusIsolator</type>
+			<name>StimulusIsolator</name>
+		</section>
+	</section>
+	
+	<section>
+		<type>collection/hardwareSettings</type>
+                <name>HardwareSettings</name>
+		<definition>There are two hardware related sections i.e. the
+      "Hardwaredefinition" and the "HardwareSettings" section. While
+      the properties describe the static properties of the hardware
+      that do not change, the settings section describes the actual,
+      adjustable, parameters, of the hardware that may change with
+      each recording or dataset e.g. the sample rate of an
+      dataacquisition board. In each of these sections there are
+      subsections for each device (or can be) that correspond to the
+      class of the device like data-acquisition, amplifier, etc. Some
+      properties are common for any type.</definition>  
+      <section>
+			<type>hardware/generic</type>
+			<name>Hardware</name>
+		</section>
+		
+		<section>
+			<type>hardware/amplifier</type>
+			<name>Amplifier</name>
+		</section>
+		
+		<section>
+			<type>hardware/attenuator</type>
+			<name>Attenuator</name>
+		</section>
+		
+		<section>
+			<type>hardware/cameraObjective</type>
+			<name>CameraObjective</name>
+		</section>
+		
+		<section>
+			<type>hardware/daq</type>
+			<name>DataAcquisition</name>
+		</section>
+		
+		<section>
+			<type>hardware/eyetracker</type>
+			<name>Eyetracker</name>
+		</section>
+		
+		<section>
+			<type>hardware/filter</type>
+			<name>Filter</name>
+		</section>
+		
+		<section>
+			<type>hardware/filterSet</type>
+			<name>Filterset</name>
+		</section>
+		
+		<section>
+			<type>hardware/iaq</type>
+			<name>ImageAcquisition</name>
+		</section>
+		
+		<section>
+			<type>hardware/lightSource</type>
+			<name>Lightsource</name>
+		</section>
+		
+		<section>
+			<type>hardware/microscope</type>
+			<name>Microscope</name>
+		</section>
+		
+		<section>
+			<type>hardware/microscopeObjective</type>
+			<name>MicroscopeObjective</name>
+		</section>
+				
+		<section>
+			<type>hardware/scanner</type>
+			<name>Scanner</name>
+		</section>
+		
+		<section>
+			<type>hardware/stimulusIsolator</type>
+			<name>StimulusIsolator</name>
+		</section>
+	</section>
+			
+	<section>
+		<type>person/generic</type>
+		<name>Person</name>
+	</section>	
+	
+	<section>
+		<type>preparation/generic</type>
+		<name>Preparation</name>
+	</section>
+	
+	<section>
+		<type>recording/generic</type>
+		<name>Recording</name>
+	</section>
+	
+	<section>
+		<type>setup/generic</type>
+		<name>Setup</name>
+	</section>
+	
+	<section>
+		<type>stimulus/generic</type>
+		<name>Stimulus</name>
+        <definition>Some global definitions of the applied stimulus. This section is parent to various subsections that further specify the applied stimulus.</definition>
+        
+      	<section>
+			<type>stimulus/dc</type>
+			<name>DC</name>
+		</section>
+      
+		<section>
+			<type>stimulus/gabor</type>
+			<name>Gabor</name>
+		</section>
+		
+		<section>
+			<type>stimulus/grating</type>
+			<name>Grating</name>
+		</section>
+		
+		<section>
+			<type>stimulus/pulse</type>
+			<name>Pulse</name>
+		</section>
+		
+		<section>
+			<type>stimulus/movie</type>
+		   <name>Movie</name>
+		</section>
+		
+		<section>
+			<type>stimulus/ramp</type>
+			<name>Ramp</name>
+		</section>
+		
+		<section>
+			<type>stimulus/randomDot</type>
+			<name>RandomDot</name>
+		</section>
+		
+		<section>
+			<type>stimulus/sawtooth</type>
+			<name>Sawtooth</name>
+		</section>
+		
+		<section>
+			<type>stimulus/sinewave</type>
+			<name>Sinewave</name>
+		</section>
+		
+		<section>
+			<type>stimulus/squarewave</type>
+			<name>Squarewave</name>
+		</section>
+		
+		<section>
+			<type>stimulus/whitenoise</type>
+			<name>WhiteNoise</name>
+		</section>
+	</section>
+	
+	<section>
+		<type>subject/generic</type>
+		<name>Subject</name>
+	</section>
+   
+	<section>
+		<type>carmenMini/generic</type>
+		<name>CarmenMini</name>
+		<definition>This is a convenience section that lists the terms of the CARMEN MINI (Gibson et al. Nature Precedings, 2009 Version 0.6) and 
+      maps them to the odml "standard" terminologies.</definition>
+	</section>
+</odML>

+ 115 - 0
v1.0/odMLTerminologies.xsl

@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+  <html>
+      <style type="text/css">
+      <link href="../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../images/odMLIcon.png" />
+      body { margin:0; padding:0; height:1500px; } div { border:0px
+      solid #888; } 
+      #contentContainer {position:absolute; left:251px; top:1px; width:80%;
+      height:auto;}
+      </style>
+      <body>
+      <p><a href="index.html"><img src="../../images/odMLTitle.png" alt="" title="Home" height="128" width="707" border="0" /></a></p>
+   	<h1>odML - Terminologies</h1>
+   	<h3>How to use:</h3>
+   	<p>The terminologies (see below) generally define the names of properties. In some cases we also define "values". This is mainly the case if the 
+   	occurence of a certain property value requires more properties for further specification. One example for this would
+   	be the switching frequency on an amplifier used in an electrophysiological experiment. This property is only meaningful if the amplifier was used in 
+   	in a discontinuous operation mode.
+   	<ul>
+   	<li>Please understand these names as suggestions!</li>
+   	<li>Thus, if you find a property definition fitting your needs please use it.</li>
+   	<li>Otherwise simply create your own properties. </li>
+   	<li>These may not be recognized by other tools but your metadatum is stored!</li>
+   	<li>If you further find that the just created property is of general interest please provide a definition 
+   	and do not hesitate to send it to us. We would be happy to include it. </li>
+   	</ul>
+   	</p>
+   	<h3>So far defined terminologies</h3>
+   	<p>The following Terminologies contain definitions according to the seciton name. If you specify e.g. the 
+   	sample rate of an analog input device include it contained within the respective section into your odML - file.</p>
+   	<xsl:variable name="baseurl" select="baseURL"/>
+		<ol>
+			<xsl:if test="section">
+				<xsl:for-each select="section">
+				   <br/>
+					<xsl:call-template name="sectionTemplate">
+						<xsl:with-param name="url" select="$baseurl"/>
+					</xsl:call-template>
+				</xsl:for-each>
+			</xsl:if>       
+      </ol>
+   </body>
+  </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+	<xsl:param name="url"/> 
+	<!-- combine the link name -->
+	<xsl:variable name="linkName">
+	   <xsl:choose>
+		   <xsl:when test="baseURL">
+			   <xsl:value-of select="concat(baseURL,type,'.xml')"/>
+		   </xsl:when>
+		   <xsl:otherwise>
+			   <xsl:value-of select="concat($url,type,'.xml')"/> 
+         </xsl:otherwise>
+	   </xsl:choose>
+   </xsl:variable>
+	<!-- set new baseurl if specified within this section otherwise use the old one -->
+   <xsl:variable name="baseurl">
+	   <xsl:choose>
+		   <xsl:when test="baseURL">
+			   <xsl:value-of select ="baseURL"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- the anchor of this section -->
+	<xsl:variable name="anchor" select ="type"/>            
+	<!--   debug
+	<p>debug</p>
+	<p>link: <xsl:value-of select="$linkName"/></p>
+	<p>baseurl: <xsl:value-of select="$baseurl"/></p>
+	<p>anchor: <xsl:value-of select="$anchor"/></p> 
+	<p>debug</p>
+	-->
+   <!--create the list item -->
+	<li>
+	   <a name="{$anchor}"> </a>
+		
+		<xsl:choose>
+			<xsl:when test="type">
+				<a  href="{$linkName}"><xsl:value-of select="concat(name,' - [',type,']')"/></a><br/>
+			</xsl:when>
+			<xsl:otherwise>
+				<a  href="{$linkName}"><xsl:value-of select="name"/></a><br/> 
+			</xsl:otherwise>
+		</xsl:choose>
+		
+		
+		<xsl:if test ="definition">
+			<p><xsl:value-of select="definition"/></p>
+		</xsl:if>
+		
+		<ul> 
+			<xsl:for-each select="section"> 
+      		<xsl:call-template name="sectionTemplate">
+				   <xsl:with-param name="url" select="$baseurl"/>
+				</xsl:call-template> 
+         </xsl:for-each> 
+		</ul>
+		
+	</li>
+	
+</xsl:template>
+		
+</xsl:stylesheet>

+ 55 - 0
v1.0/odmlRepository.xsl

@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fn="http://www.w3.org/2005/02/xpath-functions" 
+                xmlns:odml="http://www.g-node.org/odml">
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+  <html>
+      <style type="text/css">
+      <link href="../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../images/odMLIcon.png" />
+      body { margin:0; padding:0; height:1500px; } div { border:0px
+      solid #888; } 
+      #contentContainer {position:absolute; left:251px; top:1px; width:80%;
+      height:auto;}
+      </style>
+      <body>
+      <p><a href="index.html"><img src="../../images/odMLTitle.png" alt="" title="Home" height="128" width="707" border="0" /></a></p>
+   	<h1>odML - Terminologies</h1>
+   	<ol>
+	       <xsl:if test="section">
+		  <xsl:for-each select="section"><br/>
+		    <xsl:call-template name="sectionTemplate"/>
+	          </xsl:for-each>
+	       </xsl:if>       
+        </ol>
+   </body>
+  </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+  	
+	<!--   debug
+	<p>debug</p>
+	<p>link: <xsl:value-of select="$linkName"/></p>
+	<p>baseurl: <xsl:value-of select="$baseurl"/></p>
+	<p>anchor: <xsl:value-of select="$anchor"/></p> 
+	<p>debug</p>
+	-->
+        <!--create the list item -->
+        <xsl:variable name="linkurl" select="include"/>
+	<li>
+		<a  href="{$linkurl}"><xsl:value-of select="concat(type,' - type, name: ',name)"/></a><br/>
+		
+		<ul> 
+		  <xsl:for-each select="section"> 
+      		    <xsl:call-template name="sectionTemplate"/>
+                  </xsl:for-each> 
+		</ul>
+	</li>
+	
+</xsl:template>
+		
+</xsl:stylesheet>

+ 212 - 0
v1.0/person/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 74 - 0
v1.0/person/person.xml

@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                     Person section                        -->
+<!-- ********************************************************* -->
+   <section>
+		<type>person</type>
+		<name>Person</name>
+      <definition>Information about a person. E.g. as Experimenter, Author, etc.</definition>
+
+      <property>
+         <name>FirstName</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>The  persons first Name (John).</definition>
+      </property>
+      
+      <property>
+         <name>LastName</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The persons last name (Doe).</definition>
+      </property> 
+      
+      <property>
+         <name>FullName</name>
+	      <value>
+			<type>person</type>
+	      </value>
+         <definition>The complete name of this person e.g. John
+         Doe.</definition>
+      </property>
+      
+      <property>
+         <name>Gender</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>Male or female?</definition>
+      </property> 
+      
+      <property>
+         <name>Birthday</name>
+	      <value>
+			<type>date</type>
+	      </value>
+         <definition> The birthday. YYYY-MM-dd</definition>
+      </property> 
+      
+      <property>
+         <name>Role</name>
+	      <value>Author
+			<type>string</type>
+	      </value>
+	      <value>Experimenter
+			<type>string</type>
+	      </value>
+	      <value>Principle Investigator
+			<type>string</type>
+	      </value>
+	      <value>Responsible Investigator
+			<type>string</type>
+	      </value>
+         <definition> The role of this person e.g. when describing
+         a project (Responsible investigator), or a recording
+         (Experimenter).</definition>
+      </property> 
+   
+   </section> 
+</odML>

+ 212 - 0
v1.0/preparation/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 153 - 0
v1.0/preparation/preparation.xml

@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"  xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                  Preparation  section                     -->
+<!-- ********************************************************* -->
+	<section>
+		<type>preparation</type>
+		<name>Preparation</name>
+		<definition>Description of the preparation procedure.</definition>
+      
+      <property>
+         <name>Description</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>A textual description of the preparation.</definition>
+      </property>
+              
+      <property>
+         <name>Date</name>
+	      <value>
+			<type>date</type>
+	      </value>
+         <definition>Actual preparation date.</definition>
+      </property>              
+              
+      <property>
+         <name>Type</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>In vivo or in vitro?</definition>
+      </property> 
+      
+	   <property>
+         <name>RingersSolution</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The Ringer solution used during preparation.</definition>
+      </property>
+      
+      <property>
+         <name>SlicingMethod</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>How was the brain sliced: Microtome etc.</definition>
+      </property>
+      
+      <property>
+         <name>SliceThickness</name>
+	      <value>
+			<type>string</type>
+			<unit>&#181;m</unit>
+		 </value>
+         <definition>The thickness of the slice.</definition>
+      </property> 
+      
+      <property>
+         <name>SliceOrientation</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The slice orientation: horizontal, sagital etc.</definition>
+      </property> 
+      
+      <property>
+         <name>BathSolution</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The solution the slice is bathed in.</definition>
+      </property>
+      
+      <property>
+         <name>SolutionFlowSpeed</name>
+	      <value>
+			<type>string</type>
+			<unit>ml/min</unit>	      
+		 </value>
+         <definition>The flow speed of the bath solution.</definition>
+      </property>
+      
+      <property>	
+         <name>BathTemperature</name>
+	      <value>
+			<type>float</type>
+	      </value>
+         <definition>The temperature of the bath solution.</definition>
+      </property>
+      
+      <property>
+         <name>Anaestesia</name>
+	      <value>
+			<type>boolean</type>
+	      </value>
+         <definition>Is the animal under anaesthesia (true) or
+         awake (false)?</definition>
+      </property> 
+      
+      <property>
+         <name>Anaesthetic</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The drug used for anaesthesia.</definition>
+      </property> 
+      
+      <property>
+         <name>AnaestheticDose</name>
+	      <value>
+			<type>float</type>
+	      </value>
+         <definition>The dose of the used anaesthetic.</definition>
+      </property> 
+      
+      <property>
+         <name>LocalAnaesthesia</name>
+	      <value>
+			<type>boolean</type>
+	      </value>
+         <definition>Was there some local anaesthesia applied (true or false).</definition>
+      </property> 
+      
+      <property>
+         <name>LocalAnaesthetic</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The drug that was used for local
+         anaesthesia.</definition>
+      </property> 
+      
+      <property>
+         <name>LocalAnaestheticDose</name>
+	      <value>
+			<type>float</type>
+	      </value>
+         <definition>The dose of the used local anaesthetic.</definition>
+      </property>
+      
+      <property>
+         <name>LocalAnaestheticLocation</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>Describes the place the local anaesthetic was applied.</definition>
+      </property>
+   </section>   
+</odML>

+ 212 - 0
v1.0/project/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 62 - 0
v1.0/project/project.xml

@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                     Project section                    				   -->
+<!-- ********************************************************* -->  
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	<section>
+		<type>project</type>
+		<name>Project</name>
+		<definition>Information about the project.</definition>
+
+		<property>
+			<name>Topic</name>
+			<value>test
+				<type>text</type> 
+			</value>
+			<definition>A descriptive text of the 
+         project topic.</definition>
+		</property>
+      
+		<property>
+			<name>Grant</name>
+			<value>
+				<type>string</type> 
+			</value>
+			<definition>The name or identifier of the grant funding this project.</definition>
+		</property> 
+      
+		<property>
+			<name>PrincipleInvestigator</name>
+			<value>
+				<type>person</type> 
+			</value>
+			<definition>The person responsible for this project.</definition>
+		</property>
+      
+		<property>
+			<name>Scientist</name>
+			<value>
+				<type>person</type> 
+			</value>
+			<definition>Additional involved person(s).</definition>
+		</property> 
+      
+		<property>
+			<name>Start</name>
+			<value>
+				<type>date</type> 
+			</value>	      
+			<definition>The day the project was begun.</definition>
+		</property> 
+      
+		<property>
+			<name>End</name>
+			<value>
+				<type>date</type> 
+			</value>
+			<definition>The date the project ended.</definition>
+		</property>      
+    </section> 
+</odML>

+ 212 - 0
v1.0/recording/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 88 - 0
v1.0/recording/recording.xml

@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+<!-- ********************************************************* -->
+<!--                    Recording section                      -->
+<!-- ********************************************************* --> 
+	<section>
+		<type>recording</type>
+		<name>Recording</name>
+		<definition>During a recording session in a Setup Datasets are
+      obtained from Cells and/or a Subject by using various stimuli (Stimulus section).</definition>
+                        
+      <property>
+         <name>Comment</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>Comments on the recording session.</definition>
+      </property>      
+      
+      <property>
+         <name>Experimenter</name>
+	      <value>
+			<type>person</type>
+	      </value>
+         <definition>The name of the person actually performing the recordings.</definition>
+      </property> 
+      
+      <property>
+         <name>ExperimenterID</name>
+	      <value>
+			<type>person</type>
+	      </value>
+         <definition>If registered in a database the primary key of the person that performed the experiments.</definition>
+      </property> 
+	  
+	  <property>
+         <name>Start</name>
+	      <value>
+			<type>datetime</type>
+	      </value>         
+         <definition>The date and time at which the recording started in  (YYYY-MM-DD hh:mm:ss format).</definition>
+      </property> 
+      
+      <property>
+         <name>End</name>
+	      <value>
+			<type>datetime</type>
+	      </value>
+         <definition>The date and time at which the recording ended in  (YYYY-MM-DD hh:mm:ss format).</definition>
+      </property> 
+	  
+      <property>
+         <name>StartDate</name>
+	      <value>
+			<type>date</type>
+	      </value>
+         <definition>The date the recording session was conducted (YYYY-MM-DD format).</definition>
+      </property> 
+      
+      <property>
+         <name>EndDate</name>
+	      <value>
+			<type>date</type>
+	      </value>
+         <definition>The date the recording session ended (YYYY-MM-DD
+         format).</definition>
+      </property> 
+      
+      <property>
+         <name>StartTime</name>
+	      <value>
+			<type>time</type>
+	      </value>
+         <definition>The time the recordings began (hh:mm:ss format).</definition>
+      </property> 
+      
+      <property>
+         <name>EndTime</name>
+	      <value>
+			<type>time</type>
+	      </value>
+         <definition>The time the recordings ended (hh:mm:ss format).</definition>
+      </property> 
+
+   </section> 
+</odML>

+ 212 - 0
v1.0/setup/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 76 - 0
v1.0/setup/setup.xml

@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <!-- ********************************************************* -->
+  <!--                      Setup section                        -->
+  <!-- ********************************************************* -->
+   <section>
+		<type>setup</type>
+		<name>Setup</name>
+		<definition>The experimental setup used in the recordings. By
+      using HardwareProperties as a subsection, a very detailed
+      description of the setup can be given.</definition>
+      
+      <property>
+         <name>Description</name>
+         <value>
+			<type>text</type>
+         </value>
+         <definition>A description of the setup.</definition>
+      </property>
+      
+      <property>
+         <name>Location</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>The location of the setup (e.g. room).</definition>
+      </property> 
+        
+      <property>
+         <name>Department</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>The department where the setup is
+         located.</definition>
+      </property> 
+      
+      <property>
+         <name>Creator</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>The person who built the setup.</definition>
+      </property> 
+      
+      <property>
+        <name>Maintainer</name>
+        <value>
+			<type>person</type>
+        </value>
+        <definition>The person who is responsible for the setup
+          maintanance.</definition>
+      </property> 
+      
+      <property>
+         <name>Config</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>An identifier of the used setup
+         configuration, e.g. if variations of the same setup are
+         used.</definition>
+      </property> 
+      
+      <property>
+         <name>ConfigID</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>The ID of a setup configuration stored e.g. in a database.</definition>
+      </property>
+
+   </section>
+</odML>

+ 103 - 0
v1.0/stimulus/dc.xml

@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                      DC stimulus                       -->
+<!-- ********************************************************* -->
+<odML version="1">   
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+		<section>
+			<type>stimulus/dc</type>
+			<name>DC</name>
+			<definition>Property definitions to describe a DC stimulus meaning a constant stimulus e.g. a constant illumination, current etc.</definition>
+      
+      
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, light etc.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+      
+      <property>
+	      <name>Intensity</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus intensity in absolute or relative terms.</definition>
+      </property> 
+      
+      <property>
+	      <name>IntensityOffset</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus intensity given as the offset relative to another stimulus.</definition>
+      </property> 
+           
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property>
+      
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constitutes the carrier.</definition>
+      </property>
+      
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This
+	      information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly presented.</definition>
+      </property> 
+      
+	 <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property> 
+    </section>
+</odML>

+ 96 - 0
v1.0/stimulus/gabor.xml

@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                      Gabor stimulus                       -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+    
+    <section>
+		<type>stimulus/gabor</type>
+		<name>Gabor</name>
+      <definition>Property definitions to describe Gabor stimuli.</definition>
+  
+         
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, light etc.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+      
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property>
+      
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+      
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This
+	      information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly presented.</definition>
+      </property> 
+      
+      <property>
+	      <name>Dimension</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The dimensionality of the gabor.</definition>
+      </property>
+	  
+	 <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+    </section>
+</odML>

+ 153 - 0
v1.0/stimulus/grating.xml

@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                      Grating stimulus                     -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+    
+	<section>
+		<type>stimulus/grating</type>
+		<name>Grating</name>
+		<definition>Properties to describe Grating stimuli.</definition>
+      
+      
+		<property>
+			<name>Modality</name>
+			<value>
+				<type>string</type>
+			</value>
+			<definition>The stimulus modality like acoustic, haptic, visual etc.</definition>
+		</property>
+      
+      <property>
+	      <name>Type</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The type of grating used. Commonly either Sinewave or Squarewave gratings are used.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+      
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was	presented.</definition>
+      </property>
+      
+      <property>
+         <name>Contrast</name>
+	     <value>
+			<type>float</type>
+		 </value>
+         <definition>The contrast of the grating stimulus. </definition>
+      </property>
+      
+      <property>
+         <name>Intensity</name>
+	     <value>
+			<type>float</type>
+	     </value>
+         <definition>The mean intensity of the grating stimulus. </definition>
+      </property>
+      
+      <property>
+         <name>GratingType</name>
+	     <value>
+			<type>string</type>
+	     </value>
+         <definition>The type of  grating, i.e. 'sinewave' or 'sqaurewave'. </definition>
+      </property>
+      
+      <property>
+         <name>SpatialWavelength</name>
+	     <value>
+			<type>float</type>
+	     </value>
+         <definition>The spatial wavelength of the  grating. </definition>
+      </property>
+      
+      <property>
+         <name>SpatialFrequency</name>
+	     <value>
+			<type>float</type>
+	     </value>
+         <definition>the spatial frequency of the grating.</definition>
+      </property>
+       
+	   <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+      
+       <property>
+         <name>Orientation</name>
+	     <value>
+			<unit>°</unit>
+			<type>float</type>
+		 </value>
+		 <definition>The orientation of the grating in degrees.</definition>
+      </property>
+      
+      <property>
+         <name>DriftingVelocity</name>
+	     <value>
+			<unit>°/s</unit>
+			<type>float</type>
+		 </value>
+         <definition>In case of a constantly drifting grating, the velocity </definition>
+      </property>
+      
+	  <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+      
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly	presented.</definition>
+      </property>
+    </section>
+</odML>

+ 116 - 0
v1.0/stimulus/movie.xml

@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                   movie stimulus                    -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+    <section>
+		<type>stimulus/movie</type>
+		<name>Movie</name>
+		<definition>Properties to describe a movie (or image sequence) stimulus.</definition>
+      
+      
+      <property>
+	      <name>Modality</name>
+	      <value>visual
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, visual etc.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+     
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property> 
+      
+      <property>
+      	<name>FrameRate</name>
+	      <value>
+			<type>float</type>
+			<unit>Hz</unit>
+		 </value>
+	      <definition>The framerate with which the movie was presented.</definition>
+      </property>
+
+      <property>
+      	<name>SpatialResolution</name>
+	      <value>
+			<type>2-tupel</type>
+			<unit>pixel</unit>
+		 </value>
+	      <definition>The image resolution e.g. (640;480) pixel.</definition>
+      </property>
+      
+      <property>
+	      <name>ColorSpace</name>
+	      <value>monochrome
+			<type>string</type>
+	      </value>
+	      <value>color
+			<type>string</type>
+	      </value>
+	      <definition>Defines whether the movie is a monochrome, black and white, or a color movie.</definition>
+      </property>
+      
+      <property>
+	      <name>ColorDepth</name>
+	      <value>
+			<type>int</type>
+			<unit>bit</unit>
+		 </value>
+	      <definition>The color resolution in bit.</definition>
+      </property>
+      
+      <property>
+      	<name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly	presented.</definition>
+      </property>
+    <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+    </section>
+</odML>

+ 212 - 0
v1.0/stimulus/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odml">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odmlIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odmlIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odml - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 95 - 0
v1.0/stimulus/pulse.xml

@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                      pulse stimulus                       -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+   
+	<section>
+		<type>stimulus/pulse</type>
+		<name>Pulse</name>
+		<definition></definition>
+      
+    
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, light etc.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+      
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property>
+      
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+      
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output	channel, a monitor screen, the same loudspeaker, etc.). This
+	      information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly presented.</definition>
+      </property>
+     
+      <property>
+	      <name>IntensityOffset</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The "background" onto which the pulse is added.</definition>
+      </property>
+	 <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+   </section>
+</odML>

+ 130 - 0
v1.0/stimulus/ramp.xml

@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                      Ramp stimulus                       -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+    <section>
+		<type>stimulus/ramp</type>
+		<name>Ramp</name>
+		<definition>A ramp stimulus may either linearly increase or decrease in amplitude. Starting from a certain start amplitude and reaching with a certain slope the destination amplitude.</definition>
+      
+   
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, light etc.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+      
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property>
+      
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+      
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This 
+	      information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly presented.</definition>
+      </property> 
+      
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output	channel, a monitor screen, the same loudspeaker, etc.). This information can be used to explicitely express that several 
+	      stimuli (that share the same OutputChannel) are jointly presented.</definition>
+      </property>
+      
+      <property>
+   	   <name>StartAmplitude</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The start amplitude of the ramp.</definition>
+      </property> 
+      
+      <property>
+	      <name>EndAmplitude</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The ending amplitude.</definition>
+      </property> 
+      
+      <property>
+	      <name>Slope</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The slopewith which the ramp ascends respectively descends.</definition>
+      </property> 
+     
+      <property>
+	      <name>RampStartTime</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The time the ramp started with respect to the beginning of this ramp stimulus.</definition>
+      </property>
+	  
+	  <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+    </section>
+
+</odML>

+ 137 - 0
v1.0/stimulus/random_dot.xml

@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                 Random dot stimulus                       -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+    <section>
+		<type>stimulus/random_dot</type>
+      <name>RandomDot</name>
+      <definition>Properties to describe a random dot stimulus.</definition>
+      
+      
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, light etc.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+      
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property>
+      
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+     
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This 
+	      information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly presented.</definition>
+      </property>
+     
+      <property>
+	      <name>DotCount</name>
+	      <value>
+			<type>int</type>
+	      </value>
+	      <definition>The number of random dots placed on the screen.</definition>
+      </property>
+         
+     <property>
+	      <name>DotHorizontalExtent</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The width of a single dot given in &#176;.</definition>
+      </property>
+     
+     <property>
+	      <name>DotVerticalExtent</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The height of a single dot in &#176;.</definition>
+      </property>
+      
+      <property>
+	      <name>DotPixelHeight</name>
+	      <value>
+			<type>int</type>
+	      </value>
+	      <definition>The height of a single dot in pixel.</definition>
+      </property>
+      
+       <property>
+	      <name>DotPixelWidth</name>
+	      <value>
+			<type>int</type>
+	      </value>
+	      <definition>The width of a single dot given in pixel.</definition>
+      </property>
+	   
+	   <property>
+	      <name>DotSize</name>
+	      <value>
+			<type>2-tuple</type>	
+	      </value>
+	      <definition>The size of a single dot specified as 2-tuple (width;height).</definition>
+      </property>
+      
+	 <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+	  
+    </section>
+</odML>

+ 87 - 0
v1.0/stimulus/sawtooth.xml

@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                      Sawtooth stimulus                    -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+    
+    <section>
+		<type>stimulus/sawtooth</type>
+		<name>Sawtooth</name>
+		<definition>Sawtooth Properties.</definition>
+      
+            
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, visual, electrical etc.</definition>
+      </property>
+    
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+    
+      <property>
+	      <name>TemporalOffset</name>
+         <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property>
+    
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+    
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly presented.</definition>
+      </property>
+	  
+	 <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+    </section>
+</odML>

+ 121 - 0
v1.0/stimulus/sine_wave.xml

@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                      Sinewave stimulus                    -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+	<section>
+		<type>stimulus/sine_wave</type>
+		<name>Sinewave</name>
+		<definition>Properties to describe a sinewave stimulus.</definition>
+    
+      
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>	
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, light etc.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+      
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property>
+      
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+      
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly	presented.</definition>
+      </property> 
+      
+      <property>
+	      <name>Frequency</name>
+	      <value>
+			<type>float</type>
+			<unit>Hz</unit>
+	      </value>
+	      <definition>The frequency of the sinwave stimulation.</definition>
+      </property> 
+      
+      <property>
+	      <name>Phase</name>
+	      <value>
+			<type>float</type>
+			<unit>Hz</unit>
+	      </value>
+	      <definition>Phase shift of the sinewave.</definition>
+      </property>
+     
+     <property>
+	      <name>Amplitude</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>Amplitude of the sinewave modulation.</definition>
+      </property> 
+      
+      <property>
+	      <name>MeanIntensity</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The mean intensity of the stimulus.</definition>
+      </property>
+	  
+	 <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+    </section>
+</odML>

+ 127 - 0
v1.0/stimulus/square_wave.xml

@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"  xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                   square wave stimulus                    -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+    
+    <section>
+		<type>stimulus/square_wave</type>
+      <name>Squarewave</name>
+      <definition>A squarewave stimulus was presented. Squarewaves modulate with a certain frequency about the intensity offset. </definition>
+            
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, visual etc.</definition>
+      </property>
+      
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+     
+      <property>
+	      <name>TemporalOffset</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property> 
+      
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+      
+      <property>
+      	<name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly	presented.</definition>
+      </property>
+     
+      <property>
+	      <name>Frequency</name>
+	      <value>
+			<type>float</type>
+			<unit>Hz</unit>
+	      </value>
+	      <definition>The frequency of the square wave modulation.</definition>
+      </property>
+     
+      <property>
+	      <name>DutyCycle</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The part of the cylce spend in the up state. E.g. 0.5 if up and down state each take half of the time.</definition>
+      </property>
+     
+      <property>
+	      <name>Amplitude</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The modulation amplitude (i.e. the difference between up and downstate.)</definition>
+      </property>
+     
+      <property>
+	      <name>IntensityOffset</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The mean intensity of the stimulus.</definition>
+      </property>
+     
+      <property>
+	      <name>StartAmplitude</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The amlitude with which the squarewave stimulus started. This may assume either intensity offset - or + amplitude/2.</definition>
+      </property>
+	  
+	 <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+    </section>
+</odML>

+ 157 - 0
v1.0/stimulus/stimulus.xml

@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"  xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <!-- ********************************************************* -->
+  <!--                  stimulation section                      -->
+  <!-- ********************************************************* -->
+	<section>
+		<type>stimulus</type>
+		<name>Stimulus</name>
+		<definition>General description of an applied stimulus. This
+      section is basis of various related sections that specify
+      more specific stimuli.</definition>
+      
+    
+      <property>
+        <name>Description</name>
+         <value>
+		      <type>text</type>
+	      </value>
+        <definition>A textual description of the stimulus.</definition>
+      </property>  
+   
+      <property>
+        <name>Comment</name>
+	      <value>
+		      <type>text</type>
+	      </value>
+        <definition>A comment on this specific stimulus.</definition>
+      </property>  
+    
+      <property>
+         <name>Author</name>
+         <value>
+			<type>person</type>
+         </value>
+         <definition>Who is the author of this stimulus.</definition>
+      </property>
+    
+      <property>
+         <name>Duration</name>
+         <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+         <definition>The duration of the stimulus.</definition>
+      </property> 
+    
+	 <property>
+         <name>StartTime</name>
+         <value>
+			<type>time</type>
+         </value>
+         <definition>The time the stimulus started.</definition>
+      </property> 
+	
+      <property>
+         <name>EndTime</name>
+         <value>
+			<type>time</type>
+         </value>
+         <definition>The time the stimulus ended.</definition>
+      </property> 
+    
+      <property>
+         <name>Intensity</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>like the current in case of electrical stimulation.</definition>
+      </property>
+      
+      <property>
+         <name>Location</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>Describes the site of the stimulus application.</definition>
+      </property> 
+    
+      <property>
+         <name>Modality</name>
+         <value>
+			<type>string</type>
+         </value>
+         <definition>Visual, acoustic, haptic, electrical, etc. stimulation.</definition>
+      </property> 
+       
+	   <property>
+         <name>Repetitions</name>
+         <value>
+			<type>int</type>
+         </value>
+         <definition>The number of repetitions of the described stimulation.</definition>
+      </property> 
+	  
+	  <property>
+         <name>InterstimulusInterval</name>
+         <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+         <definition>The time between two subsequent stimulations.</definition>
+      </property> 
+    
+      <property>
+         <name>StimulusFile</name>
+	      <value>
+			<type>binary</type>
+	      </value>
+         <definition> The stimulus file used. Using it will blow
+         up the the size of the metadatafile and we recommend to
+         rather define the URL of underlying stimulus
+         file.</definition>
+      </property> 
+     
+      <property>
+         <name>StimulusFileURL</name>
+	      <value>
+			<type>URL</type>
+	      </value>
+         <definition>The URL of a an applied stimulus file. This
+         is the recommended alternative to explicitely including the
+         actual stimulus via StimulusFile.</definition>
+      </property>  
+      
+      <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>	      
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>
+    </section>
+</odML>

+ 70 - 0
v1.0/stimulus/stimulusTypes.xml

@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+
+<odML version="1"> 
+   <section>
+      <name>DC</name>
+      <type>stimulus/dc</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+		
+	<section>
+	   <name>Gabor</name>
+	   <type>stimulus/gabor</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+	
+	<section>
+	   <name>Grating</name>
+	   <type>stimulus/grating</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+	
+	<section>
+	   <name>Pulse</name>
+	   <type>stimulus/pulse</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+		
+	<section>
+	   <name>Movie</name>
+	   <type>stimulus/movie</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+		
+	<section>
+	   <name>Ramp</name>
+	   <type>stimulus/ramp</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+		
+	<section>
+	   <name>RandomDot</name>
+	   <type>stimulus/randomdot</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+		
+	<section>
+	   <name>Sawtooth</name>
+	   <type>stimulus/sawtooth</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+		
+	<section>
+      <name>Sinewave</name>
+      <type>stimulus/sinewave</type>
+      <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+		
+	<section>
+	   <name>Squarewave</name>
+	   <type>stimulus/squarewave</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+	
+	<section>
+	   <name>WhiteNoise</name>
+	   <type>stimulus/whitenoise</type>
+		<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	</section>
+</odML>

+ 133 - 0
v1.0/stimulus/white_noise.xml

@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"  xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                   White Noise stimulus                    -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+	
+    <section>
+		<type>stimulus/white_noise</type>
+		<name>WhiteNoise</name>
+		<definition>Property definitions to describe a white noise stimulus.</definition>
+      
+          
+      <property>
+	      <name>Modality</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The stimulus modality like acoustic, haptic, light etc.</definition>
+      </property>
+     
+      <property>
+	      <name>Duration</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The duration of the stimulus in seconds.</definition>
+      </property>
+      
+      <property>
+	      <name>OffsetTime</name>
+	      <value>
+			<type>float</type>
+			<unit>s</unit>
+		 </value>
+	      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was presented.</definition>
+      </property>
+      
+      <property>
+	      <name>Function</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
+      </property>
+      
+      <property>
+	      <name>OutputChannel</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker, etc.). This 
+	      information can be used to explicitely express that several stimuli (that share the same OutputChannel) are jointly presented.</definition>
+      </property>
+      
+      <property>
+	      <name>Mean</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The mean intensity of the white noise stimulus.</definition>
+      </property>
+      
+      <property>
+	      <name>Variance</name>
+	      <value>
+			<type>float</type>
+	      </value>
+      	<definition>The variance of the white noise stimulus.</definition> 
+      </property>
+      
+      <property>
+	      <name>LowerCutoffFrequency</name>
+	      <value>
+			<type>float</type>
+			<unit>Hz</unit>
+	      </value>
+	      <definition>The low frequency cutoff of the highpass filter with which the stimulus was filtered. (Lowest frequency may also be
+	      limited by the stimulus duration)</definition>
+      </property>
+      
+      <property>
+	      <name>UpperCutoffFrequency</name>
+	      <value>
+			<type>float</type>
+			<unit>Hz</unit>
+	      </value>
+	      <definition>The upper frequency cutoff of lowpass filter with which the stimulus was filtered. (Upper cutoff may also be
+	      defined by the nyquist frequency, respective the sample rate.)</definition>
+      </property>
+      
+      <property>
+	      <name>Filter</name>
+	      <value>
+			<type>string</type>
+	      </value>
+	      <definition>The filter method applied to limit the frequeny content of the stimulus.</definition>
+      </property>
+      
+	   <property>
+	      <name>Position</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+	      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position refers to the top-left corner of the object or its bounding box.</definition>
+      </property>
+      
+	   <property>
+         <name>PositionReference</name>
+	      <value>top-left
+			<type>string</type>
+	      </value>
+	      <value>center
+			<type>string</type>
+	      </value>
+	      <value>bottom-right
+			<type>string</type>
+	      </value>
+         <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the bounding box). Use this property for other definitions.</definition>
+      </property>  
+	  
+	  <property>
+         <name>SpatialExtent</name>
+	      <value>
+			<type>2-tuple</type>
+	      </value>
+         <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
+      </property>  
+      
+   </section>
+</odML>

+ 212 - 0
v1.0/subject/odmlTerms.xsl

@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
+
+<!-- This stylesheet is for viewing odml-terminologies in a web browser -->
+<!-- Please note: only those elements will be displayed terminology related -->
+<!-- e.g. uncertainty, id, and valueComments will not be shown -->
+<!-- For viewing real metadata files use the odml.xsl stylesheet -->
+<!-- ************************************************  -->
+<!--                   root template                   -->
+<xsl:template match="odML">
+   <!-- if there is a base url definition read it and later pass it to the sections template -->
+   <xsl:variable name="repository" select="repository"/>
+   <html>
+      <link href="../../../images/odMLIcon.ico" rel="shortcut icon" csoptsettings="AQAAAD142mNgYNBomeIwObe4IIeBgYEvyTDuaAoPw3IFiwOcndS8HR1NjO0NDPTNdIzzEzOByni+A8EQNoAAPMPEQ4=" livesrc="../../../images/odMLIcon.png" />
+      <style type="text/css">
+      body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
+
+      #navigationContainer { left:20px; width:80%;} 
+
+      #contentContainer { left:20px; width:80%;}
+      </style>
+      
+      
+      <body>
+         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
+         <div id="navigationContainer">     
+            <p>
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Document info</h2>
+            <b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/>
+            <b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/>
+            <b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/>
+            <b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/>
+            </p>
+   
+         
+            
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+
+            <h2>Structure</h2>
+	         <font  size ="-1" >
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+			         <li>
+					      <xsl:call-template name="sectionTemplate">
+						      <xsl:with-param name="navigation">1</xsl:with-param>
+							   <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+							    <xsl:with-param name="url" select="$repository"/>
+						   </xsl:call-template>
+					   </li>
+               </xsl:for-each>
+            </xsl:if></font>
+         </div>
+         
+         <div id="contentContainer">
+            <hr style="color:yellow; background-color:#336699; height:4px; margin-right:0; text-align:right; border:1px dashed black;"/>
+            <h2>Content</h2>
+            <!-- apply the section template  -->
+	         <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation">0</xsl:with-param>
+                     <xsl:with-param name="anchorBase">Sec</xsl:with-param>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>
+               </xsl:for-each>
+            </xsl:if>
+         </div>
+      </body>
+   </html> 
+</xsl:template>
+
+<!-- ************************************************  -->
+<!--              section template.                    -->
+<xsl:template name="sectionTemplate" match="section">
+   <xsl:param name="navigation"/>   
+   <xsl:param name="anchorBase"/>
+   <xsl:param name="url"/>
+   <xsl:variable name="anchorName" select="concat($anchorBase,position())"/>
+   <!-- set new repository if specified within this section otherwise use the old one -->
+   <xsl:variable name="repository">
+	   <xsl:choose>
+		   <xsl:when test="repository">
+			   <xsl:value-of select ="repository"/>        
+   		</xsl:when>
+	   	<xsl:otherwise>
+			   <xsl:value-of select ="$url"/>
+         </xsl:otherwise>
+	   </xsl:choose>
+	</xsl:variable>
+	<!-- print out the content -->
+   <xsl:choose>
+      <!--  fill the navigation container if this is the task (navigation param = 1) -->
+      <xsl:when test="$navigation = 1">
+         <!-- create a link to the anchor in the content container  -->
+         <ol style="compact"><font size="normal"><a href="#{$anchorName}">
+	          <xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font>
+            <!--  recursive call if there are subsections  -->
+            <xsl:if test="section">
+               <xsl:for-each select="section">
+                  <xsl:call-template name="sectionTemplate">
+                     <xsl:with-param name="navigation" select="$navigation"/>
+                     <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+                     <xsl:with-param name="url" select="$repository"/>
+                  </xsl:call-template>      
+               </xsl:for-each>
+            </xsl:if> 
+         </ol>
+      </xsl:when>
+      <!--  otherwise use template to display the content (navigation !=1) -->
+      <xsl:otherwise>
+       
+	 <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+         <p>
+            <b>Type: </b><xsl:value-of select="type"/><br/>
+            <b>Id: </b><xsl:if test="id"><xsl:value-of select="id"/></xsl:if><br/>
+         <xsl:choose>
+            <xsl:when test ="repository">
+               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+            </xsl:when>
+            <xsl:otherwise>
+               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+            </xsl:otherwise>
+         </xsl:choose>
+            <b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/>
+            <b>Include:</b> <xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/>
+            <b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/>
+         
+<!--
+         <xsl:for-each select="synonym">
+		      <p><b>Synonyms:</b> <xsl:value-of select="."/></p>
+	      </xsl:for-each>
+-->
+         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+		 </p>
+	      <!--  Check if there are any properties  -->
+         <xsl:if test="property">
+            <table border="1" rules="rows" width="100%"><font size="-1">
+               <tr bgcolor="#336699">
+                  <th><font size="+1" color="white"><b>Name</b></font></th>
+                  <th><font size="+1" color="white"><b>Value</b></font></th>
+                  <th><font size="+1" color="white"><b>Unit</b></font></th>
+                  <th><font size="+1" color="white"><b>Type</b></font></th>
+		            <th><font size="+1" color="white"><b>Definition</b></font></th>
+		            <th><font size="+1" color="white"><b>Synonym</b></font></th>
+		            <th><font size="+1" color="white"><b>Mapping</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency</b></font></th>
+                  <th><font size="+1" color="white"><b>Dependency Value</b></font></th>	
+               </tr>
+               <xsl:for-each select="property">
+                  <xsl:variable name="anchor">
+                     <xsl:value-of select ="name"/>
+                  </xsl:variable>
+                  <tr>
+                     <td width="15%"><a name="{$anchor}"/>
+                        <p><xsl:value-of select="name"/></p>
+                     </td>
+                     <td width="10%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="text()"/><br/></p>
+                        </xsl:for-each>      
+                     </td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="unit"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+                     <td width="5%">
+                        <xsl:for-each select="value">
+                           <p><xsl:value-of select="type"/><br/></p>
+                        </xsl:for-each>      
+							</td>
+							<td width="22.5%"><p><xsl:value-of select="definition"/></p></td> 
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="synonym">
+					               <xsl:value-of select="."/><br/>
+				               </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="10%">
+			               <p>
+				               <xsl:for-each select="mapping">
+				                  <xsl:variable name="mapping" select="."/>
+	                           <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
+					            </xsl:for-each>
+			               </p>
+                     </td>
+		               <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                     <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                  </tr>
+               </xsl:for-each></font>
+            </table>
+         </xsl:if>  
+         <a href="#top"><tiny>top</tiny></a>
+         <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+         <!--  recursive call if there are subsections  -->
+         <xsl:if test="section">
+            <xsl:for-each select="section">
+               <xsl:call-template name="sectionTemplate">
+                  <xsl:with-param name="navigation" select="$navigation"/>
+                  <xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/> 
+			         <xsl:with-param name="url" select="$repository"/>
+               </xsl:call-template>      
+            </xsl:for-each>
+         </xsl:if> 
+      </xsl:otherwise>
+   </xsl:choose> 
+</xsl:template>
+	
+</xsl:stylesheet>

+ 154 - 0
v1.0/subject/subject.xml

@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"  xmlns:odml="http://www.g-node.org/odml"?>
+<!-- ********************************************************* -->
+<!--                     Subject section                       -->
+<!-- ********************************************************* -->
+<odML version="1">
+	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+
+	<section>
+		<type>subject</type>
+		<name>Subject</name>
+		<definition>The investigated experimental subject (animal or person).
+      May contain the Cell and Preparation sections as subsections.</definition>
+
+      <property>
+         <name>Comment</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>A general comment on a specific
+         subject. </definition>
+      </property>
+      
+      <property>
+         <name>Species</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The scientific name of the species e.g. Apis
+         mellifera, Homo sapiens.</definition>
+      </property> 
+      
+      <property>
+         <name>Genus</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The Genus of the studied
+         subject.</definition>
+      </property>
+      
+      <property>
+         <name>TrivialName</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The trivial name of the species like
+         Honeybee, Human.</definition>
+      </property> 
+      
+      <property>
+         <name>Gender</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>Male or female?</definition>
+      </property> 
+      
+      <property>
+         <name>Birthday</name>
+	      <value>
+			<type>date</type>
+	      </value>	
+         <definition> The birthday. Age can be inferred from the
+         date of recording.</definition>
+      </property> 
+      
+      <property>
+         <name>Age</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The age of the subject since birth. E.g. P19,
+         or 5 days.</definition>
+      </property> 
+      
+      <property>
+         <name>Strain</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The strain the subject was taken from. E.g. a
+         specific genetic variation etc.</definition>
+      </property>
+      
+      <property>
+         <name>CellLine</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>.</definition>
+      </property>
+      
+      <property>
+         <name>Population</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The population this subject is offspring
+         of. This may be the bee hive, the ant colony,
+         etc.</definition>
+      </property>
+      
+      <property>
+         <name>Label</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>If the subject has been labled in a specific
+         way. The lable can be described here.</definition>
+      </property>
+      
+      <property>
+         <name>HealthStatus</name>
+	      <value>
+			<type>string</type>
+	      </value>	      
+         <definition>Information about the health status of this
+         subject.</definition>
+      </property>
+      
+      <property>
+         <name>DevelopmentalStage</name>
+	      <value>
+			<type>string</type>
+	      </value>
+         <definition>The developemtal stage of the subject. E.g. "embroyonal", "adult", "larval" etc.</definition>
+      </property>
+      
+      <property>
+         <name>ConactInformation</name>
+	      <value>
+			<type>text</type>
+	      </value>
+         <definition>How to get in contact with this subject.</definition>
+      </property>
+      
+      <property>
+	      <name>Size</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The size of the subject. This value may be used context dependent. Size could be length for a fish, heigth for a human subject, or shoulder height for a horse etc...</definition>
+      </property>
+      
+      <property>
+	      <name>Weight</name>
+	      <value>
+			<type>float</type>
+	      </value>
+	      <definition>The weigth of this subject.</definition>
+      </property>
+</section> 
+</odML>

+ 298 - 0
v1.0/terminologies.xml

@@ -0,0 +1,298 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml-stylesheet type="text/xsl" href="odmlRepository.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1"> 
+	<section>
+	   <type>analysis</type>
+	   <name>Analysis</name>
+	   <include>http://portal.g-node.org/odml/terminologies/v1.0/analysis/analysis.xml</include>
+	</section>
+	 
+    <section>
+	   <type>analysis/psth</type>
+	   <name>PSTH</name>
+           <include>http://portal.g-node.org/odml/terminologies/v1.0/analysis/psth.xml</include>
+	</section>
+         
+    <section>
+           <type>analysis/power_spectrum</type>
+           <name>PowerSpectrum</name>
+           <include>http://portal.g-node.org/odml/terminologies/v1.0/analysis/power_spectrum.xml</include>
+	</section>
+         
+	<section>
+	   <type>cell</type>
+	   <name>Cell</name>
+           <include>http://portal.g-node.org/odml/terminologies/v1.0/cell/cell.xml</include>
+	</section>
+	
+    <section>
+          <type>dataset</type>
+          <name>Dataset</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/dataset/dataset.xml</include>
+    </section>
+
+    <section>
+          <type>electrode/generic</type>
+          <name>Electrode</name>
+    </section>
+
+    <section>
+       <type>event</type>
+          <name>Event</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/event/event.xml</include>
+    </section>
+
+    <section>
+          <type>event_list</type>
+          <name>EventList</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/collection/event_list.xml</include>
+	</section>
+
+    <section>
+          <type>experiment</type>
+          <name>Experiment</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/experiment.xml</include>
+    </section>
+        
+    <section>
+	  <type>experiment/behavior</type>
+	  <name>Behavior</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/behavior.xml</include>
+	</section>
+
+    <section>
+	   <type>experiment/electrophysiology</type>
+	   <name>Electrophysiology</name>
+           <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/electrophysiology.xml</include>
+	</section>
+	
+	<section>
+	   <type>experiment/imaging</type>
+	   <name>Imaging</name>
+           <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/imaging.xml</include>
+	</section>
+		
+	<section>
+	   <type>experiment/modeling</type>
+	   <name>Modeling</name>		      
+           <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/modeling.xml</include>
+	</section>
+   	
+	<section>
+	   <type>experiment/pschophysics</type>
+	   <name>Psychophysics</name>
+           <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/psychophysics.xml</include>
+	</section>	
+	
+
+	<section>
+        <type>hardware_properties</type>
+		<name>HardwareProperties</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/collection/hardware_properties.xml</include>
+    </section>
+          
+    <section>
+        <type>hardware_settings</type>
+        <name>HardwareSettings</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/collection/hardware_settings.xml</include>
+    </section>
+        
+    <section>
+		<type>hardware</type>
+		<name>Hardware</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/hardware.xml</include>
+     </section>  
+	
+    <section>
+       <type>hardware/amplifier</type>
+       <name>Amplifier</name>
+       <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/amplifier.xml</include>
+    </section>
+         
+    <section>
+		<type>hardware/attenuator</type>
+	    <name>Attenuator</name>
+		<include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/attenuator.xml</include>
+     </section>
+		
+     <section>
+        <type>hardware/cameraObjective</type>
+        <name>CameraObjective</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/attenuator.xml</include>
+	 </section>
+		
+	<section>
+	  <type>hardware/daq</type>
+	  <name>DataAcquisition</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/daq.xml</include>
+	</section>
+		
+	<section>
+	  <type>hardware/eyetracker</type>
+	  <name>Eyetracker</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/eyetracker.xml</include>
+	</section>
+		
+	<section>
+	  <type>hardware/filter</type>
+	  <name>Filter</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/filter.xml</include>
+	</section>
+		
+	<section>
+	  <type>hardware/filter_set</type>
+	  <name>Filterset</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/filter_set.xml</include>
+	</section>
+		
+	<section>
+	  <type>hardware/iaq</type>
+	  <name>ImageAcquisition</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/iaq.xml</include>
+	</section>
+		
+	<section>
+	  <type>hardware/light_source</type>
+	  <name>Lightsource</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/light_source.xml</include>
+	</section>
+		
+	<section>
+	  <type>hardware/microscope</type>
+	  <name>Microscope</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/microscope.xml</include>
+	</section>
+		
+	<section>
+          <type>hardware/microscope_objective</type>
+	  <name>MicroscopeObjective</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/microscope_objective.xml</include>
+	</section>
+				
+	<section>
+	  <type>hardware/scanner</type>
+	  <name>Scanner</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/scanner.xml</include>
+	</section>
+		
+	<section>
+	  <type>hardware/stimulus_isolator</type>
+	  <name>StimulusIsolator</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/stimulus_isolator.xml</include>
+	</section>
+     
+      
+      <section>
+        <type>person</type>
+	<name>Person</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/person/person.xml</include>
+      </section>	
+	
+      <section>
+        <type>preparation</type>
+	<name>Preparation</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/preparation/preparation.xml</include>
+      </section>
+	
+      <section>
+        <type>project</type>
+        <name>Project</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/project/project.xml</include>
+      </section>
+      
+      <section>
+        <type>recording</type>
+	<name>Recording</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/recording/recording.xml</include>
+      </section>
+	
+      <section>
+        <type>setup</type>
+	<name>Setup</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/setup/setup.xml</include>
+      </section>
+	
+      <section>
+        <type>stimulus</type>
+	<name>Stimulus</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/stimulus.xml</include>
+      </section>
+      
+      <section>
+          <type>stimulus/dc</type>
+	  <name>DC</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/dc.xml</include>
+        </section>
+      
+	<section>
+	  <type>stimulus/gabor</type>
+	  <name>Gabor</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/gabor.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/grating</type>
+	  <name>Grating</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/grating.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/pulse</type>
+	  <name>Pulse</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/pulse.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/movie</type>
+	  <name>Movie</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/movie.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/ramp</type>
+	  <name>Ramp</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/ramp.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/random_dot</type>
+	  <name>RandomDot</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/random_dot.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/sawtooth</type>
+	  <name>Sawtooth</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/sawtooth.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/sine_wave</type>
+	  <name>Sinewave</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/sine_wave.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/square_wave</type>
+	  <name>Squarewave</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/square_wave.xml</include>
+	</section>
+		
+	<section>
+	  <type>stimulus/white_noise</type>
+	  <name>Whitenoise</name>
+          <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/white_noise.xml</include>
+	</section>
+	
+      <section>
+	<type>subject</type>
+	<name>Subject</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml</include>
+      </section>
+   
+      <section>
+	<type>carmen_mini</type>
+	<name>CarmenMini</name>
+        <include>http://portal.g-node.org/odml/terminologies/v1.0/carmenMini/carmen_mini.xml</include>
+      </section>
+</odML>