Browse Source

Merge pull request #6 from mpsonntag/mergeBranch

Moving to v1.1
Jan Grewe 6 years ago
parent
commit
6bd9f68c0d
100 changed files with 9784 additions and 7374 deletions
  1. 2 1
      .gitignore
  2. 178 163
      v1.0/analysis/analysis.xml
  3. 67 63
      v1.0/analysis/odmlTerms.xsl
  4. 89 86
      v1.0/analysis/power_spectrum.xml
  5. 206 195
      v1.0/analysis/psth.xml
  6. 483 166
      v1.0/blackrock/blackrock.xml
  7. 67 63
      v1.0/blackrock/odmlTerms.xsl
  8. 280 204
      v1.0/carmenMini/carmen_mini.xml
  9. 67 63
      v1.0/carmenMini/odmlTerms.xsl
  10. 156 159
      v1.0/cell/cell.xml
  11. 67 63
      v1.0/cell/odmlTerms.xsl
  12. 28 28
      v1.0/collection/event_list.xml
  13. 11 10
      v1.0/collection/hardware_properties.xml
  14. 10 9
      v1.0/collection/hardware_settings.xml
  15. 67 63
      v1.0/collection/odmlTerms.xsl
  16. 39 45
      v1.0/dataset/dataset.xml
  17. 67 63
      v1.0/dataset/odmlTerms.xsl
  18. 57 57
      v1.0/electrode/electrode.xml
  19. 67 63
      v1.0/electrode/odmlTerms.xsl
  20. 42 42
      v1.0/environment/environment.xml
  21. 67 63
      v1.0/environment/odmlTerms.xsl
  22. 29 30
      v1.0/event/event.xml
  23. 67 63
      v1.0/event/odmlTerms.xsl
  24. 19 16
      v1.0/experiment/behavior.xml
  25. 58 57
      v1.0/experiment/electrophysiology.xml
  26. 76 76
      v1.0/experiment/experiment.xml
  27. 33 32
      v1.0/experiment/imaging.xml
  28. 20 19
      v1.0/experiment/modeling.xml
  29. 67 63
      v1.0/experiment/odmlTerms.xsl
  30. 72 68
      v1.0/experiment/psychophysics.xml
  31. 159 156
      v1.0/hardware/amplifier.xml
  32. 103 100
      v1.0/hardware/attenuator.xml
  33. 153 153
      v1.0/hardware/camera_objective.xml
  34. 188 189
      v1.0/hardware/daq.xml
  35. 127 127
      v1.0/hardware/eyetracker.xml
  36. 119 120
      v1.0/hardware/filter.xml
  37. 189 191
      v1.0/hardware/filter_set.xml
  38. 77 72
      v1.0/hardware/hardware.xml
  39. 301 299
      v1.0/hardware/iaq.xml
  40. 50 49
      v1.0/hardware/light_source.xml
  41. 66 67
      v1.0/hardware/microscope.xml
  42. 33 34
      v1.0/hardware/microscope_objective.xml
  43. 67 63
      v1.0/hardware/odmlTerms.xsl
  44. 138 138
      v1.0/hardware/scanner.xml
  45. 174 175
      v1.0/hardware/stimulus_isolator.xml
  46. 11 7
      v1.0/license/license.xml
  47. 167 169
      v1.0/license/odmlTerms.xsl
  48. 33 29
      v1.0/model/lif.xml
  49. 7 6
      v1.0/model/multi_compartment.xml
  50. 67 63
      v1.0/model/odmlTerms.xsl
  51. 7 6
      v1.0/model/pif.xml
  52. 7 6
      v1.0/model/single_compartment.xml
  53. 315 310
      v1.0/odMLTerminologies.xml
  54. 102 105
      v1.0/odMLTerminologies.xsl
  55. 40 40
      v1.0/odml.xsl
  56. 42 42
      v1.0/odmlRepository.xsl
  57. 67 63
      v1.0/odmlTerms.xsl
  58. 67 63
      v1.0/person/odmlTerms.xsl
  59. 105 105
      v1.0/person/person.xml
  60. 67 63
      v1.0/preparation/odmlTerms.xsl
  61. 150 151
      v1.0/preparation/preparation.xml
  62. 67 63
      v1.0/project/odmlTerms.xsl
  63. 59 58
      v1.0/project/project.xml
  64. 67 63
      v1.0/protocol/odmlTerms.xsl
  65. 20 20
      v1.0/protocol/protocol.xml
  66. 167 169
      v1.0/questionnaire/odmlTerms.xsl
  67. 5 4
      v1.0/questionnaire/question.xml
  68. 17 17
      v1.0/questionnaire/questionnaire.xml
  69. 67 63
      v1.0/recording/odmlTerms.xsl
  70. 93 92
      v1.0/recording/recording.xml
  71. 165 165
      v1.0/response/odmlTerms.xsl
  72. 48 48
      v1.0/response/response.xml
  73. 67 63
      v1.0/setup/odmlTerms.xsl
  74. 67 70
      v1.0/setup/setup.xml
  75. 67 63
      v1.0/software/odmlTerms.xsl
  76. 99 97
      v1.0/software/software.xml
  77. 49 38
      v1.0/stimulus/dc.xml
  78. 39 30
      v1.0/stimulus/gabor.xml
  79. 56 45
      v1.0/stimulus/grating.xml
  80. 46 36
      v1.0/stimulus/movie.xml
  81. 67 63
      v1.0/stimulus/odmlTerms.xsl
  82. 99 89
      v1.0/stimulus/pulse.xml
  83. 54 43
      v1.0/stimulus/ramp.xml
  84. 48 40
      v1.0/stimulus/random_dot.xml
  85. 35 26
      v1.0/stimulus/sawtooth.xml
  86. 49 39
      v1.0/stimulus/sine_wave.xml
  87. 57 40
      v1.0/stimulus/square_wave.xml
  88. 154 151
      v1.0/stimulus/stimulus.xml
  89. 65 66
      v1.0/stimulus/stimulusTypes.xml
  90. 57 48
      v1.0/stimulus/white_noise.xml
  91. 67 63
      v1.0/subject/odmlTerms.xsl
  92. 143 148
      v1.0/subject/subject.xml
  93. 125 100
      v1.0/terminologies.xml
  94. 146 0
      v1.1/analysis/analysis.xml
  95. 199 0
      v1.1/analysis/odmlTerms.xsl
  96. 136 0
      v1.1/analysis/power_spectrum.xml
  97. 153 0
      v1.1/analysis/psth.xml
  98. 910 0
      v1.1/blackrock/blackrock.xml
  99. 199 0
      v1.1/blackrock/odmlTerms.xsl
  100. 0 0
      v1.1/carmenMini/carmen_mini.xml

+ 2 - 1
.gitignore

@@ -1 +1,2 @@
-*~
+*~
+.idea/

+ 178 - 163
v1.0/analysis/analysis.xml

@@ -1,167 +1,182 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-<!-- ********************************************************* -->
-<!--                     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> 
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                     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 will blow 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>

+ 67 - 63
v1.0/analysis/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 89 - 86
v1.0/analysis/power_spectrum.xml

@@ -5,197 +5,200 @@
   <version>1.0</version>
   <date>2011-01-21</date>
   <!-- ********************************************************* -->
-  <!--                     Analysis section                       -->
+  <!--                     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>
+        <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>
+        <type>date</type>
       </value>
       <definition>The date of analysis.</definition>
     </property>
-    
+
     <property>
       <name>Description</name>
       <value>
-	<type>text</type>
+        <type>text</type>
       </value>
       <definition>A general description of the analysis.</definition>
     </property>
-    
+
     <property>
       <name>SegmentLength</name>
       <value>
-	<type>int</type>
+        <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>
+        <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>
-	<definition>The overlap between consecutive data segments. Given in percent of the SegmentLength.</definition>
+        <unit>%</unit>
+        <type>float</type>
+        <definition>The overlap between consecutive data segments. Given in percent of the SegmentLength.</definition>
       </value>
       <value>
-	<type>int</type>
-	<definition>The overlap between consecutive data segments given in samples.</definition>
+        <type>int</type>
+        <definition>The overlap between consecutive data segments given in samples.</definition>
       </value>
       <definition>The overlap between consecutive data segments.</definition>
     </property>
-        
+
     <property>
       <name>Method</name>
       <value>
-	<type>string</type>
+        <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>
+        <type>string</type>
       </value>
       <definition>The command used to execute the analysis including the command line parameter.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Comment</name>
       <value>
-	<type>text</type>
+        <type>text</type>
       </value>
       <definition>Specific comments on this analysis.</definition>
     </property>
-    
+
     <property>
       <name>Code</name>
       <value>
-	<type>binary</type>
-	<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>
+        <type>binary</type>
+        <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>
       </value>
       <value>
-	<type>URL</type>
-	<definition>The URL of the applied piece of program code to actually do the analysis.</definition>
+        <type>URL</type>
+        <definition>The URL of the applied piece of program code to actually do the analysis.</definition>
       </value>
-      <definition>
-	The program code used to analyze the data.
-      </definition>
-    </property> 
-    
+      <definition>The program code used to analyze the data.</definition>
+    </property>
+
     <property>
       <name>CodeRevision</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
-      <definition> If the analysis code is under version control the revision number can be specified using this property.</definition>
-    </property> 
+      <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>URL</type>
-	<definition>The URL of the used configuration file used to run the analysis.</definition>
+        <type>URL</type>
+        <definition>The URL of the used configuration file used to run the analysis.</definition>
       </value>
       <value>
-	<type>binary</type>
-	<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>
+        <type>binary</type>
+        <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>
       </value>
-      <definition> 
-	The configurations used to analyse the data.
-      </definition>
-    </property>  
+      <definition>The configurations used to analyse the data.</definition>
+    </property>
 
     <property>
       <name>DatasetFile</name>
       <value>
-	<type>binary</type>
-	<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>
+        <type>binary</type>
+        <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>
       </value>
       <value>
-	<type>URL</type>
-	<definition>The URL of a analysed datasetFile.</definition>
+        <type>URL</type>
+        <definition>The URL of a analysed datasetFile.</definition>
       </value>
-      <definition>
-	The analyzed dataset.
-      </definition>
-    </property> 
+      <definition>The analyzed dataset.</definition>
+    </property>
 
     <property>
       <name>ResultFile</name>
       <value>
-	<type>binary</type>
-	<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>
+        <type>binary</type>
+        <definition>
+          The results of this analysis 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 the
+          results file.
+        </definition>
       </value>
       <value>
-	<type>URL</type>
-	<definition>The URL of a results file.</definition>
+        <type>URL</type>
+        <definition>The URL of a results file.</definition>
       </value>
-      <definition>
-	A file containing the results of this analysis.
-      </definition>
-    </property> 
-    
+      <definition>A file containing the results of this analysis.</definition>
+    </property>
+
     <property>
       <name>ResultFigure</name>
       <value>
-	<type>binary</type>
-      <definition>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>
+        <type>binary</type>
+        <definition>
+          This property is meant to store 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>
       </value>
       <value>
-	<type>URL</type>
-	<definition>The url of the results figure.</definition>
+        <type>URL</type>
+        <definition>The url of the results figure.</definition>
       </value>
       <definition>A figure showing the results.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>PaperDOI</name>
       <value>
-	<type>text</type>
+        <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>
+
     <property>
       <name>PaperURL</name>
       <value>
-	<type>URL</type>
+        <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> 
+      <definition>If the results of this analysis have been published the URL of the document can be given here
+      </definition>
+    </property>
+
+  </section>
 </odML>

+ 206 - 195
v1.0/analysis/psth.xml

@@ -1,199 +1,210 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-<!-- ********************************************************* -->
-<!--                     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>
-			   <definition>Estimation of the firing rate by using the inverse of the interspike interval.</definition>
-	      </value>
-	      <value>
-	         sliding window
-			   <type>string</type>
-			   <definition>The window function was slid over the data at recording resolution.</definition>
-	      </value>
-	      <value>
-	         discrete window
-			   <type>string</type>
-			   <definition>Spikes were averaged within the window, window discretely displaced by the window width.</definition>
-	      </value>
-	      <definition>The method used for creating the PSTH.</definition>
-      </property>
-      
-      <property>
-         <name>WindowType</name>
-	      <value>
-	         rectangular
-			   <type>string</type>
-			   <definition>A recangular kernel was used.</definition>
-	      </value>
-	      <value>
-	         gaussian
-			   <type>string</type>
-			   <definition>A gaussian kernel was used.</definition>
-	      </value>
-	      <value>
-	         alpha
-			   <type>string</type>
-			   <definition>A alpha function was used as window function.</definition>
-	      </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> 
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                     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>
+        <definition>Estimation of the firing rate by using the inverse of the interspike interval.</definition>
+      </value>
+      <value>
+        sliding window
+        <type>string</type>
+        <definition>The window function was slid over the data at recording resolution.</definition>
+      </value>
+      <value>
+        discrete window
+        <type>string</type>
+        <definition>Spikes were averaged within the window, window discretely displaced by the window width.
+        </definition>
+      </value>
+      <definition>The method used for creating the PSTH.</definition>
+    </property>
+
+    <property>
+      <name>WindowType</name>
+      <value>
+        rectangular
+        <type>string</type>
+        <definition>A recangular kernel was used.</definition>
+      </value>
+      <value>
+        gaussian
+        <type>string</type>
+        <definition>A gaussian kernel was used.</definition>
+      </value>
+      <value>
+        alpha
+        <type>string</type>
+        <definition>A alpha function was used as window function.</definition>
+      </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 store 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>

File diff suppressed because it is too large
+ 483 - 166
v1.0/blackrock/blackrock.xml


+ 67 - 63
v1.0/blackrock/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 280 - 204
v1.0/carmenMini/carmen_mini.xml

@@ -1,67 +1,73 @@
 <?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                    				   -->
-<!-- ********************************************************* -->  
+<!--                     Mini section                          -->
+<!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</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>
-		
+    <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>carmen_mini/contact_and_context</type>
       <name>ContactAndContext</name>
-      			
+
       <property>
         <name>DateAndTime</name>
-	<value>
-	 <type>datetime</type>
-	</value>
-	<definition>The date and time of work initiation 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>
+        <value>
+          <type>datetime</type>
+        </value>
+        <definition>The date and time of work initiation 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>
-      
+        <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 responsibility 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 affiliation 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>
+        <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>
+
       <property>
         <name>ElectrophysiologyType</name>
-	<value>
+        <value>
           <type>string</type>
         </value>
-        <definition>The type of electrophysiology recording reported as 'extra cellular'
-or 'intra cellular'.</definition>
+        <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>carmen_mini/study_subject</type>
       <name>StudySubject</name>
@@ -70,499 +76,569 @@ or 'intra cellular'.</definition>
       <property>
         <name>Genus</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
-        <definition>The genus classification of the study subject accoring to the NCBI taxonomy calssification.</definition>
+        <definition>The genus classification of the study subject according to the NCBI taxonomy classification.
+        </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> 
+          <type>string</type>
         </value>
-        <definition>The species classification of the study subject accoring to the NCBI taxonomy calssification.</definition>
+        <definition>The species classification of the study subject according to the NCBI taxonomy classification.
+        </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> 
+          <type>string</type>
         </value>
-        <definition>The strain, genetic variation classification of the study subject, if appropriate. Note this is not the cell line.</definition>
+        <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> 
+          <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> 
+          <type>string</type>
         </value>
-        <definition>The genotype of the study stubject. Genetics characteristics include polymorphisms, disease alleles and haplotypes.</definition>
+        <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> 
+          <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> 
+          <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>
+        <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> 
+          <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> 
+          <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> 
+          <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>
+        <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>
+
       <property>
         <name>DevelopmentalStage</name>
         <value>
-          <type>string</type> 
+          <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>
+        <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> 
+          <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>
+
       <property>
         <name>SubjectIdentifier</name>
         <value>
-          <type>string</type> 
+          <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> 
+          <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>
+        <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>
+
       <property>
         <name>SubjectIdentifierValue</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
-        <definition>The unique string which corresponds to the identifier type. TODO! How does this relate to the Identifier ?</definition>
+        <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>
 
       <property>
         <name>AssociatedSubjectDetails</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
-        <definition>The organisation (e.g vendor) or individual repsonsible for the subject.</definition>
+        <definition>The organisation (e.g vendor) or individual responsible for the subject.</definition>
         <mapping>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml#subject:Comment</mapping>
-      </property>  
-      
+      </property>
+
       <property>
         <name>PreparationProtocol</name>
         <value>
-          <type>string</type> 
+          <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> 
+        <definition>The surgical procedure or the preparation protocol implemented 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> 
+          <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>
+        <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>carmen_mini/recording_location</type>
       <name>RecordingLocation</name>
-      
+
       <property>
         <name>LocationStructure</name>
         <value>
-          <type>string</type> 
+          <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>
+        <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>
+
       <property>
         <name>BrainArea</name>
         <value>
-          <type>string</type> 
+          <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>
+        <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> 
+          <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>
+        <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> 
+          <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>
+        <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> 
+          <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>
+        <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> 
+          <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>
+        <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> 
+          <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>
+        <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 recordings or image files which also confirm the location can be referenced
+          here.
+        </definition>
       </property>
     </section>
-    
+
     <section>
       <type>carmen_mini/task</type>
       <name>Task</name>
-      
+
       <property>
         <name>Protocol</name>
         <value>
-          <type>string</type> 
+          <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>
+        <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> 
+          <type>string</type>
         </value>
         <definition>The sensory conditions during the task protocol.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>Equipment</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
         <definition>The Model Name, Model Number and Manufacturer for equipment used in the task protocol.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>Recording</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
         <definition>If the task is recorded state how and what data types are being recorded.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
     </section>
-    
+
     <section>
       <type>carmen_mini/stimulus</type>
       <name>Stimulus</name>
-      
+
       <property>
         <name>Protocol</name>
         <value>
-          <type>string</type> 
+          <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> 
+          <type>string</type>
         </value>
         <definition>The sensory conditions during the stimulus protocol.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>Solutions</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
-        <definition>Description of the solutions used in terms of name, components with concentrations,(if appropriate).</definition>
-<!--         <mapping>?</mapping> -->
+        <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> 
+          <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> -->
+        <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> 
+          <type>string</type>
         </value>
         <definition>If the stimulus is recorded state how and what data types are being recorded.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
     </section>
-    
+
     <section>
       <type>carmen_mini/behavioural_event</type>
       <name>BehaviouralEvent</name>
-      
+
       <property>
         <name>Event</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
         <definition>A description of the behavioural event observed.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>Equipment</name>
         <value>
-          <type>string</type> 
+          <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> -->
+        <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> 
+          <type>string</type>
         </value>
-        <definition>The type of recording of the behavioural event, the file format and the format encoding.</definition>
-<!--         <mapping>?</mapping> -->
+        <definition>The type of recording of the behavioural event, the file format and the format encoding.
+        </definition>
+        <!-- <mapping>?</mapping> -->
       </property>
     </section>
-    
+
     <section>
       <type>carmen_mini/recording</type>
       <name>Recording</name>
-      
+
       <property>
         <name>Protocol</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
         <definition>A description of the recording protocol.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>Conditions</name>
         <value>
-          <type>string</type> 
+          <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> -->
+        <definition>The subject conditions during the recording. Invivo or invitro preparation If invivo was it
+          anesthetised or awake? If awake what was the stimulus condition.
+        </definition>
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>ContainingDevice</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
-        <definition>Containing device temperature of the subject or sample (for example, a bath): Include temperature if appropriate.</definition>
-<!--         <mapping>?</mapping> -->
+        <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> 
+          <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>
+        <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> 
+          <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>
+        <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> 
+          <type>string</type>
         </value>
-        <definition>The type of electrode and the Model Name, Model Number and Manufacturer for specialised equipment.</definition>
-<!--         <mapping>?</mapping> -->
+        <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> 
+          <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>
+        <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> 
+          <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> 
+          <type>string</type>
         </value>
         <definition>The Model Name, Model Number and Manufacturer of the amplifier.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>Filter</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
         <definition>The Model Name, Model Number and Manufacturer of the filter.</definition>
-<!--         <mapping>?</mapping> -->
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>FilterSettings</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
         <definition>The settings or the parameters of the filter.</definition>
-        <mapping>?</mapping>
+        <!-- <mapping>?</mapping> -->
       </property>
-      
+
       <property>
         <name>Recorder</name>
         <value>
-          <type>string</type> 
+          <type>string</type>
         </value>
         <definition>The Model Name, Model Number and Manufacturer of the recorder.</definition>
-        <mapping>?</mapping>
+        <!-- <mapping>?</mapping> -->
       </property>
     </section>
-    
+
     <section>
       <type>carmen_mini/timeseries_data</type>
       <name>TimeSeriesData</name>
-      
+
       <property>
         <name>DataFormat</name>
         <value>
-          <type>string</type> 
+          <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>
+        <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> 
+          <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> 
+          <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>
+        <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> 
+
+  </section>
 </odML>

+ 67 - 63
v1.0/carmenMini/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 156 - 159
v1.0/cell/cell.xml

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

+ 67 - 63
v1.0/cell/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

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

@@ -2,32 +2,32 @@
 <?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
 <odML version="1">
   <version>1.0</version>
-        <date>2011-01-21</date>
-<!-- ********************************************************* -->
-<!--                   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> 
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                   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>

+ 11 - 10
v1.0/collection/hardware_properties.xml

@@ -1,27 +1,28 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
 <!-- ********************************************************* -->
 <!--                       hardware properties                 -->
 <!-- ********************************************************* -->
-   <section>
-	<type>collection/hardware_properties</type>
-	<name>HardwareProperties</name>
-      <definition>Fixed properties of hardware components used in the
+  <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
+      recording or dataset. For example, the animal_keeping 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>
+      type.
+    </definition>
+  </section>
 </odML>

+ 10 - 9
v1.0/collection/hardware_settings.xml

@@ -1,12 +1,12 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-<!-- ********************************************************* -->
-<!--                       hardware settings                   -->
-<!-- ********************************************************* -->
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                       hardware settings                   -->
+  <!-- ********************************************************* -->
   <section>
     <type>collection/hardware_settings</type>
     <name>HardwareSettings</name>
@@ -17,10 +17,11 @@
       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
+      or dataset. For example, the animal_keeping 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> 
+      properties are common for any type.
+    </definition>
+  </section>
 </odML>

+ 67 - 63
v1.0/collection/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 39 - 45
v1.0/dataset/dataset.xml

@@ -11,107 +11,101 @@
     <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 siblings are Stimulus,
-    HardwareSettings, and Experiment.</definition>
+      Datasets are obtained during a Recording and may belong to
+      different Experiments. Related sections that can be used as
+      subsections, parent sections, or siblings are Stimulus,
+      HardwareSettings, and Experiment.
+    </definition>
 
     <property>
       <name>Start</name>
       <value>
-	<type>datetime</type>
+        <type>datetime</type>
       </value>
-      <definition>The point in time the recording of this dataset was
-      started.</definition>
-    </property> 
+      <definition>The point in time the recording of this dataset was started.</definition>
+    </property>
 
     <property>
       <name>End</name>
       <value>
-	<type>datetime</type>
+        <type>datetime</type>
       </value>
-      <definition>The point in time the recording of this dataset was
-      ended.</definition>
+      <definition>The point in time the recording of this dataset was ended.</definition>
     </property>
-    
+
     <property>
       <name>StartDate</name>
       <value>
-	<type>date</type>
+        <type>date</type>
       </value>
-      <definition>The date recording of this dataset was
-      started.</definition>
-    </property> 
+      <definition>The date recording of this dataset was started.</definition>
+    </property>
 
     <property>
       <name>EndDate</name>
       <value>
-	<type>date</type>
+        <type>date</type>
       </value>
-      <definition>The date the recording of this dataset was
-      ended.</definition>
+      <definition>The date the recording of this dataset was ended.</definition>
     </property>
 
     <property>
       <name>StartTime</name>
       <value>
-	<type>time</type>
+        <type>time</type>
       </value>
       <definition>The local time recording was started.</definition>
-    </property> 
+    </property>
 
     <property>
       <name>EndTime</name>
       <value>
-	<type>time</type>
+        <type>time</type>
       </value>
       <definition>The local time recording was ended.</definition>
-    </property> 
+    </property>
 
     <property>
       <name>Comment</name>
       <value>
-	<type>text</type>
+        <type>text</type>
       </value>
-      <definition>A comment about the dataset (common to all files
-      belonging to this dataset).</definition>
+      <definition>A comment about the dataset (common to all files belonging to this dataset).</definition>
     </property>
 
     <property>
       <name>File</name>
       <value>
-	<type>binary</type>
-	<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>
+        <type>binary</type>
+        <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>
       </value>
       <value>
-	<type>URL</type>
-	<definition>The URL of a data file.</definition>
+        <type>URL</type>
+        <definition>The URL of a data file.</definition>
       </value>
-      <definition> Data of this dataset.</definition>
-    </property> 
+      <definition>Data of this dataset.</definition>
+    </property>
 
     <property>
       <name>Quality</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
-      <definition>A rough indication of the overall quality of
-      the dataset. E.g. poor, fair, or good.</definition>
-    </property> 
+      <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>
+        <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> 
+      <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>

+ 67 - 63
v1.0/dataset/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

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

@@ -7,167 +7,167 @@
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2014-04-01</date>
+
   <section>
     <type>electrode</type>
-    <name>Electrode</name>   
+    <name>Electrode</name>
     <definition>Properties to describe an electrode.</definition>
 
     <property>
       <name>Type</name>
       <value>sharp
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>patch
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>injection
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>extracellular
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>multibarrel
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>multi-electrode-array
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>tetrode
-      <type>string</type>
+        <type>string</type>
       </value>
       <definition>The type of electrode.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Usage</name>
       <value>Ground
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>Reference
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>Channel
-      <type>string</type>
+        <type>string</type>
       </value>
       <definition>Usage of electrode.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Material</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The Material the electrodes are made of e.g. glass. tungsten, steel ...</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>GlassType</name>
       <value>
-	<type>string</type>
+        <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>
+
     <property>
       <name>GlassSpecification</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>Inner and outer diameter, with or without filament.</definition>
       <dependency>Material</dependency>
       <dependencyValue>Glass</dependencyValue>
-    </property>  
-    
+    </property>
+
     <property>
       <name>FirePolish</name>
       <value>
-	<type>boolean</type>
+        <type>boolean</type>
       </value>
       <definition>Specifies whether or not the electrodes were fire polished.</definition>
       <dependency>Material</dependency>
       <dependencyValue>Glass</dependencyValue>
-    </property>  
-    
+    </property>
+
     <property>
       <name>Puller</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The Puller used to make the electrodes.</definition>
       <dependency>Material</dependency>
       <dependencyValue>Glass</dependencyValue>
-    </property>  
-    
+    </property>
+
     <property>
       <name>PullParameter</name>
       <value>
-	<type>string</type>
+        <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>
+
     <property>
       <name>ShapeParameters</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The shape parameters of the electrode.</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>Manufacturer</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The manufacturer of the electrodes if e.g. ordered from a company.</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>TipSize</name>
       <value>
-	<type>float</type>
-	<unit>&#956;m</unit>
+        <type>float</type>
+        <unit>&#956;m</unit>
       </value>
       <definition>The tip size.</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>Coating</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The coating used to insulate the electrodes.</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>Impedance</name>
       <value>
-	<type>float</type>
-	<unit>M&#937;</unit>
+        <type>float</type>
+        <unit>M&#937;</unit>
       </value>
       <definition>Electrode impedance.</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>ElectrodeCount</name>
       <value>
-	<type>int</type>
+        <type>int</type>
       </value>
       <definition>Number of electrodes in a multi-electrode-array.</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>Description</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition></definition>
-    </property>  
-    
-  </section>
+    </property>
 
+  </section>
 </odML>

+ 67 - 63
v1.0/electrode/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 42 - 42
v1.0/environment/environment.xml

@@ -1,49 +1,49 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"  xmlns:odml="http://www.g-node.org/odml"?>
 <!-- ********************************************************* -->
-<!--                     Environment section                       -->
+<!--                     Environment section                   -->
 <!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2014-04-01</date>
-	<section>
-		<type>environment</type>
-		<name>Environment </name>
-		<definition>The environment conditions for the experiment.</definition>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2014-04-01</date>
 
-      <property>
-         <name>Weather</name>
-	      <value>
-			<type>string</type>
-	      </value>
-         <definition></definition>
-      </property>
-      
-      <property>
-         <name>RoomTemperature</name>
-	      <value>
-			<type>string</type>
-	      </value>
-         <definition></definition>
-      </property> 
-      
-      <property>
-         <name>AirHumidity</name>
-	      <value>
-			<type>float</type>
-	      </value>
-         <definition>The air humidity in %..</definition>
-      </property>
-      
-      <property>
-         <name>Description</name>
-	      <value>
-			<type>string</type>
-	      </value>
-         <definition></definition>
-      </property> 
-      
-      
-</section> 
+  <section>
+    <type>environment</type>
+    <name>Environment</name>
+    <definition>The environment conditions for the experiment.</definition>
+
+    <property>
+      <name>Weather</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition></definition>
+    </property>
+
+    <property>
+      <name>RoomTemperature</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition></definition>
+    </property>
+
+    <property>
+      <name>AirHumidity</name>
+      <value>
+        <type>float</type>
+      </value>
+      <definition>The air humidity in %..</definition>
+    </property>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition></definition>
+    </property>
+
+  </section>
 </odML>

+ 67 - 63
v1.0/environment/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 29 - 30
v1.0/event/event.xml

@@ -1,34 +1,33 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-<!-- ********************************************************* -->
-<!--                   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> 
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                   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>

+ 67 - 63
v1.0/event/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 19 - 16
v1.0/experiment/behavior.xml

@@ -1,56 +1,59 @@
 <?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			                       -->
-<!-- ********************************************************* -->  
+<!--                     Behavioral experiment                 -->
+<!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
-  <date>2011-01-21</date>	
-  
+  <date>2011-01-21</date>
+
   <section>
     <type>experiment/bahavior</type>
     <name>Behavior</name>
     <definition>Properties for describing an behavioural experiment.</definition>
-    
+
     <property>
       <name>Paradigm</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
-      <definition>The paradigm used in the experiment, e.g. Learning, navigation, etc... </definition>
+      <definition>The paradigm used in the experiment, e.g. Learning, navigation, etc...</definition>
     </property>
-    
+
     <property>
       <name>Environment</name>
       <value>
-        <type>string</type> 
+        <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>
+      <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> 
+        <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> 
+        <type>text</type>
       </value>
       <definition>A definition of the conducted experiment.</definition>
     </property>
-    
+
     <property>
       <name>Protocol</name>
       <value>
-        <type>text</type> 
+        <type>text</type>
       </value>
       <definition>A description of the task protocol undertaken by the subject.</definition>
     </property>
+
   </section>
 </odML>

+ 58 - 57
v1.0/experiment/electrophysiology.xml

@@ -1,62 +1,63 @@
 <?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                   			   -->
-<!-- ********************************************************* -->  
+<!--                       Electrophysiology                   -->
+<!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>	
-	<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>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <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>

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

@@ -1,81 +1,81 @@
 <?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                    				   -->
-<!-- ********************************************************* -->  
+<!--                     Experiment section                    -->
+<!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	<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>DataDOI</name>
-	      <value>
-			<type>string</type> 
-	      </value>
-         <definition>A unique Digital object identifier of data.</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> 
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <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>DataDOI</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A unique Digital object identifier of data.</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>

+ 33 - 32
v1.0/experiment/imaging.xml

@@ -1,37 +1,38 @@
 <?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			                       -->
-<!-- ********************************************************* --> 
+<!--                     Imaging experiment                    -->
+<!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>	
-	<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>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <section>
+    <type>experiment/imaging</type>
+    <name>Imaging</name>
+    <definition>Properties for describing an imaging experiment ranging from conventional light microscopy 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>

+ 20 - 19
v1.0/experiment/modeling.xml

@@ -1,24 +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"?>
 <!-- ********************************************************* -->
-<!--                     		Simulation	  	 			                       -->
-<!-- ********************************************************* --> 
+<!--                         Simulation                        -->
+<!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	<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>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <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: mathematical, phenomenological, biophysical etc..</definition>
+    </property>
+
+  </section>
 </odML>

+ 67 - 63
v1.0/experiment/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

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

@@ -1,73 +1,77 @@
 <?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	                       -->
-<!-- ********************************************************* --> 
+<!--                     Psychophysics Experiment              -->
+<!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	
-	<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>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <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>

+ 159 - 156
v1.0/hardware/amplifier.xml

@@ -1,163 +1,166 @@
 <?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         		 -->
+<!--        Amplifier                   -->
 <!-- ********************************** -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date> 
-     <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>
-				<definition>Passive measurement in Bridge -Mode.</definition>
-            </value>
-            <value>CC
-				<type>string</type>
-				<definition>Current Clamp measurement.</definition>
-            </value>
-            <value>VC
-				<type>string</type>
-	            <definition>Voltage Clamp measurement.</definition>
-			</value>
-	         <value>VCcCC
-				<type>string</type>
-	            <definition>Voltage Clamp controlled Current Clamp measurement.</definition>
-	         </value>
-            <value>Dynamic Clamp
-				<type>string</type>
-	            <definition>Dynamic Clamp measurement.</definition>
-            </value>
-            <definition>The amplifier mode. Measurement in Voltage clamp controlled current clamp -mode.</definition>
-         </property> 
-         
-	      <property>
-            <name>OperationMode</name>
-	         <value>Bridged
-				<type>string</type>
-	            <definition>Passive measurement in Bridge -Mode.</definition>
-	         </value>
-	         <value>Discontinuous
-				<type>string</type>
-	            <definition>Measurement in Discontinuous (switched) -Mode.</definition>
-	         </value>
-            <definition>The amplifier mode.</definition>
-	      </property>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
 
-	      <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>	 
-	     <property>
-	         <name>SampleRate</name>
-	         <value>
-				<type>float</type>
-	         </value>
-            <definition>The sampling rate of the device.</definition>
-	      </property> 
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
-            
-      </section>
+  <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>
+        <definition>Passive measurement in Bridge -Mode.</definition>
+      </value>
+      <value>CC
+        <type>string</type>
+        <definition>Current Clamp measurement.</definition>
+      </value>
+      <value>VC
+        <type>string</type>
+        <definition>Voltage Clamp measurement.</definition>
+      </value>
+      <value>VCcCC
+        <type>string</type>
+        <definition>Voltage Clamp controlled Current Clamp measurement.</definition>
+      </value>
+      <value>Dynamic Clamp
+        <type>string</type>
+        <definition>Dynamic Clamp measurement.</definition>
+      </value>
+      <definition>The amplifier mode. Measurement in Voltage clamp controlled current clamp -mode.</definition>
+    </property>
+
+    <property>
+      <name>OperationMode</name>
+      <value>Bridged
+        <type>string</type>
+        <definition>Passive measurement in Bridge -Mode.</definition>
+      </value>
+      <value>Discontinuous
+        <type>string</type>
+        <definition>Measurement in Discontinuous (switched) -Mode.</definition>
+      </value>
+      <definition>The amplifier mode.</definition>
+    </property>
+
+    <property>
+      <name>SwitchingFrequency</name>
+      <value>
+        <type>float</type>
+        <unit>Hz</unit>
+      </value>
+      <dependency>OperationMode</dependency>
+      <dependencyValue>Discontinuous</dependencyValue>
+      <definition>The amplifier switching frequency. This property is only meaningful in Discontinuous operation modes.
+      </definition>
+    </property>
+
+    <property>
+      <name>DutyCycle</name>
+      <value>
+        <type>float</type>
+      </value>
+      <dependency>OperationMode</dependency>
+      <dependencyValue>Discontinuous</dependencyValue>
+      <definition>The amplifier duty cycle if in discontinuous 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>
+    <property>
+      <name>SampleRate</name>
+      <value>
+        <type>float</type>
+      </value>
+      <definition>The sampling rate of the device.</definition>
+    </property>
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 103 - 100
v1.0/hardware/attenuator.xml

@@ -1,104 +1,107 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
- <!-- ********************************** -->
-      <!--        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> 
-	      
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
-	      
-      </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************** -->
+  <!--        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 independent 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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

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

@@ -1,160 +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"?>
 <!-- ********************************** -->
-<!--           Camera Objective         		 -->
+<!--           Camera Objective         -->
 <!-- ********************************** -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-     <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>
-
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
-	 
-	  </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
 
+  <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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 188 - 189
v1.0/hardware/daq.xml

@@ -1,193 +1,192 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
- <!-- ********************************** -->
-      <!-- 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> 
-
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
-
-   </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************** -->
+  <!-- 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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

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

@@ -1,133 +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"?>
-<odML version="1"> 
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	<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>
+<odML version="1">
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
 
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
+  <section>
+    <type>hardware/eyetracker</type>
+    <name>Eyetracker</name>
+    <definition>Properties of an eyetracker.</definition>
 
-   </section>
+    <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 detector 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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 119 - 120
v1.0/hardware/filter.xml

@@ -1,125 +1,124 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-		<!-- ********************************** -->
-      <!--        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> 
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************** -->
+  <!--        Filter properties           -->
+  <!-- ********************************** -->
+  <section>
+    <type>hardware/filter</type>
+    <name>Filter</name>
+    <definition>Properties a filter modul for analog signal conditioning.</definition>
 
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
-	      
-	      
-      </section>
+    <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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 189 - 191
v1.0/hardware/filter_set.xml

@@ -1,196 +1,194 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	 <!-- ********************************** -->
-      <!--     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> 
-	      
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
-	     
-      </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************** -->
+  <!--     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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 77 - 72
v1.0/hardware/hardware.xml

@@ -1,78 +1,83 @@
 <?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	 -->
+<!--        unspecified HardwareItem    -->
 <!-- ********************************** -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-     
-     <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> 
-               <property>
-	         <name>SampleRate</name>
-	         <value>
-				<type>float</type>
-	         </value>
-            <definition>The sampling rate of the device.</definition>
-	      </property> 
-              <property>
-                <name>Description</name>
-                <value>
-                  <type>string</type>
-                </value>
-                <definition>A description of this hardware item.</definition>
-	      </property>
-      </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <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>
+
+    <property>
+      <name>SampleRate</name>
+      <value>
+        <type>float</type>
+      </value>
+      <definition>The sampling rate of the device.</definition>
+    </property>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 301 - 299
v1.0/hardware/iaq.xml

@@ -4,303 +4,305 @@
 <!-- Image Acquisition (IAQ) properties -->
 <!-- ********************************** -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-     <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> 
-		  
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
-		  
-      </section> 
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <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 acquisition 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 acquisition 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 acquisition device.</definition>
+    </property>
+
+    <property>
+      <name>SensitivityRange</name>
+      <value>
+        <type>float</type>
+        <unit>nm</unit>
+      </value>
+      <definition>The sensitivity range of the detector (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 resolution 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 height 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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 50 - 49
v1.0/hardware/light_source.xml

@@ -7,117 +7,119 @@
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
-  
+
   <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>
-    
+    <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>
+        <type>string</type>
       </value>
       <definition>The device's serial number.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>InventoryNo</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The inventory number of the device.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Model</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The model name of this hardware item.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Manufacturer</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The Manufacturer of this hardware item.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Owner</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
-      <definition> Who's the owner of the device.</definition>
-    </property> 
-    
+      <definition>Who's the owner of the device.</definition>
+    </property>
+
     <property>
       <name>Type</name>
       <value>LED
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>Laser
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>Mercury Arc
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>Halogen Lamp
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>Xenon Lamp
-      <type>string</type>
+        <type>string</type>
       </value>
       <definition>The type of light source used.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>PulseWidth</name>
       <value>
-	<type>string</type>
-	<unit>s</unit>
+        <type>string</type>
+        <unit>s</unit>
       </value>
       <dependency>Type</dependency>
       <dependencyValue>Laser</dependencyValue>
       <definition>The width of the laser pulse.</definition>
     </property>
-    
+
     <property>
       <name>PulseRate</name>
       <value>
-	<type>float</type>
-	<unit>Hz</unit>
+        <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>
+        <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>
+        <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>
+        <type>float</type>
+        <unit>nm</unit>
       </value>
       <definition>The upper bound of the output spectrum.</definition>
     </property>
@@ -125,20 +127,20 @@
     <property>
       <name>Intensity</name>
       <value>
-	<type>float</type>
-	<unit>W</unit>
+        <type>float</type>
+        <unit>W</unit>
       </value>
       <value>
-	<type>float</type>
-	<unit>cd/m^2</unit>
+        <type>float</type>
+        <unit>cd/m^2</unit>
       </value>
       <value>
-	<type>float</type>
-	<unit>lux</unit>
+        <type>float</type>
+        <unit>lux</unit>
       </value>
       <definition>The output intensity of the light source.</definition>
     </property>
-    
+
     <property>
       <name>Description</name>
       <value>
@@ -146,7 +148,6 @@
       </value>
       <definition>A description of this hardware item.</definition>
     </property>
-    
-  </section>
 
+  </section>
 </odML>

+ 66 - 67
v1.0/hardware/microscope.xml

@@ -1,74 +1,73 @@
 <?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        -->
+<!--        Microscope properties       -->
 <!-- ********************************** -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	
-    <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> 
-	      
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
- 
-      </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
 
+  <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 microscope 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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 33 - 34
v1.0/hardware/microscope_objective.xml

@@ -5,102 +5,102 @@
   <version>1.0</version>
   <date>2011-01-21</date>
   <!-- ********************************** -->
-  <!--           Microscope Objective                -->
+  <!--           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>
+        <type>string</type>
       </value>
       <definition>The inventory number of the device.</definition>
     </property>
-    
+
     <property>
       <name>Model</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The objective model name.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Manufacturer</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The Manufacturer providing the objective.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Type</name>
       <value>dry
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>water immersion
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>oil immersion
-      <type>string</type>
+        <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>
+        <type>string</type>
       </value>
       <definition>The owner of this device.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Magnification</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The magnification of the objective.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>NumericalAperture</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The numerical aperture (N.A.) of the objective.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>TransmissionLowerBound</name>
       <value>
-	<type>float</type>
-	<unit>nm</unit>
+        <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>
+        <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>
+        <type>float</type>
+        <unit>nm</unit>
       </value>
       <definition>The transmission range (min - max).</definition>
     </property>
-    
+
     <property>
       <name>Description</name>
       <value>
@@ -108,7 +108,6 @@
       </value>
       <definition>A description of this hardware item.</definition>
     </property>
-    
-  </section>
 
+  </section>
 </odML>

+ 67 - 63
v1.0/hardware/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

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

@@ -4,143 +4,143 @@
 <!--              Scanner               -->
 <!-- ********************************** -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	
-    <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> 
-
-         <property>
-            <name>Description</name>
-            <value>
-               <type>string</type>
-            </value>
-            <definition>A description of this hardware item.</definition>
-	      </property>
-
-      </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
 
+  <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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 174 - 175
v1.0/hardware/stimulus_isolator.xml

@@ -4,180 +4,179 @@
 <!--        Stimulus Isolator           -->
 <!-- ********************************** -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	
-    <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> 
-         
-         <property>
-           <name>Description</name>
-           <value>
-              <type>string</type>
-           </value>
-           <definition>A description of this hardware item.</definition>
-	      </property>
-
-      </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
 
+  <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 output 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>
+
+    <property>
+      <name>Description</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>A description of this hardware item.</definition>
+    </property>
+
+  </section>
 </odML>

+ 11 - 7
v1.0/license/license.xml

@@ -5,40 +5,44 @@
   <version>1.0</version>
   <date>2017-09-28</date>
   <!-- ********************************************************* -->
-  <!--                  License  section                     -->
+  <!--                  License  section                         -->
   <!-- ********************************************************* -->
   <section>
     <type>License</type>
     <name>License</name>
     <definition>Description of the license for data / software.</definition>
+
     <property>
       <name>Name</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>A name of the license.</definition>
     </property>
+
     <property>
       <name>Type</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>A type of the license.</definition>
     </property>
+
     <property>
       <name>LicenseURL</name>
       <value>
-	<type>URL</type>
+        <type>URL</type>
       </value>
       <definition>URL of the license.</definition>
-    </property>	
+    </property>
+
     <property>
       <name>Description</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>A textual description of the license.</definition>
     </property>
 
-  </section>   
+  </section>
 </odML>

+ 167 - 169
v1.0/license/odmlTerms.xsl

@@ -1,201 +1,199 @@
 <?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: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" />
+  <!-- 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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-      #navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-      #contentContainer { 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>
+        <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;"/>
+          </p>
 
-            <h2>Structure</h2>
-	         <font  size ="-1" >
+          <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:for-each select="section">
+                <li>
                   <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: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>
-               </xsl:for-each>
+                </li>
+              </xsl:for-each>
             </xsl:if>
-         </div>
+          </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>
+    </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>
+  <!-- ************************************************  -->
+  <!--              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>
+        <!-- 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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+        <p>
+          <b>Type: </b><xsl:value-of select="type"/><br/>
+          <xsl:choose>
             <xsl:when test ="repository">
-               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+              <b>Repository: </b><xsl:value-of select="repository"/><br/>
             </xsl:when>
             <xsl:otherwise>
-               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+              <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/>
-         
-<!--
--->
-         <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>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="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: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/>
+        </p>
+
+        <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+
+        <!--  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>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="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:choose>
+  </xsl:template>
 </xsl:stylesheet>

+ 33 - 29
v1.0/model/lif.xml

@@ -1,12 +1,13 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
 <!-- ********************************************************* -->
-<!--         Leaky integrate and fire	  	 	       -->
-<!-- ********************************************************* --> 
+<!--                  Leaky integrate and fire                 -->
+<!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
+
   <section>
     <type>model/lif</type>
     <name>Leaky integrate and fire</name>
@@ -15,7 +16,7 @@
     <property>
       <name>Author</name>
       <value>
-        <type>person</type> 
+        <type>person</type>
       </value>
       <definition>The author of this model.</definition>
     </property>
@@ -23,7 +24,7 @@
     <property>
       <name>Date</name>
       <value>
-        <type>date</type> 
+        <type>date</type>
       </value>
       <definition>The simulation date.</definition>
     </property>
@@ -31,7 +32,7 @@
     <property>
       <name>Program</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
       <definition>The program name.</definition>
     </property>
@@ -39,7 +40,7 @@
     <property>
       <name>ProgramVersion</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
       <definition>The program version name.</definition>
     </property>
@@ -47,7 +48,7 @@
     <property>
       <name>Description</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
       <definition>A descriptive text.</definition>
     </property>
@@ -56,15 +57,16 @@
     <property>
       <name>RestingPotential</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>V</unit>
       </value>
       <definition>The resting voltage.</definition>
     </property>
+
     <property>
       <name>ResetPotential</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>V</unit>
       </value>
       <definition>The potential to which the neuron's potential is set after a spike.</definition>
@@ -73,16 +75,16 @@
     <property>
       <name>Resistance</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>Ohm</unit>
       </value>
-      <definition>The membrane restisance.</definition>
+      <definition>The membrane resistance.</definition>
     </property>
 
     <property>
       <name>Capacitance</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>F</unit>
       </value>
       <definition>The membrane restisance.</definition>
@@ -91,7 +93,7 @@
     <property>
       <name>MembraneTimeConstant</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>s</unit>
       </value>
       <definition>The membrane time constant.</definition>
@@ -100,7 +102,7 @@
     <property>
       <name>BiasCurrent</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>A</unit>
       </value>
       <definition>The offset current.</definition>
@@ -109,7 +111,7 @@
     <property>
       <name>Timestep</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>s</unit>
       </value>
       <definition>The duration of a time step in the simulation.</definition>
@@ -118,7 +120,7 @@
     <property>
       <name>VoltageEquation</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
       <definition>The equation to calculate the membrane voltage.</definition>
     </property>
@@ -127,16 +129,18 @@
     <property>
       <name>AdaptationIncrement</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>A</unit>
       </value>
-      <definition>When an adaptation current is implemented the amount about which the adaptation is increased when a spike is fired.</definition>
+      <definition>When an adaptation current is implemented the amount about which the adaptation is increased when a
+        spike is fired.
+      </definition>
     </property>
 
     <property>
       <name>AdaptationTimeConstant</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>s</unit>
       </value>
       <definition>The time constant with which the adaptation current returns back to zero.</definition>
@@ -145,16 +149,16 @@
     <property>
       <name>AdaptationEquation</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
-      <definition>The equation to calculate the adaptation currrent.</definition>
+      <definition>The equation to calculate the adaptation current.</definition>
     </property>
 
     <!--     Noise  -->
     <property>
       <name>NoiseAmplitude</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>A</unit>
       </value>
       <definition>The amount of noise added.</definition>
@@ -163,7 +167,7 @@
     <property>
       <name>NoiseType</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
       <definition>The type of noise. For example Gaussian, Ohrnstein-Uhlenbeck etc.</definition>
     </property>
@@ -171,7 +175,7 @@
     <property>
       <name>NoiseCorrelation</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>s</unit>
       </value>
       <definition>The correlation time constant used e.g. with OU noise.</definition>
@@ -181,7 +185,7 @@
     <property>
       <name>Threshold</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>V</unit>
       </value>
       <definition>The firing threshold.</definition>
@@ -190,7 +194,7 @@
     <property>
       <name>ThresholdIncrement</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>V</unit>
       </value>
       <definition>The voltage about which the threshold is increased once a spike has been fired.</definition>
@@ -199,16 +203,16 @@
     <property>
       <name>ThresholdTimeConstant</name>
       <value>
-        <type>float</type> 
+        <type>float</type>
         <unit>s</unit>
       </value>
-      <definition>The time ocnstant with which the threshold returns back to baseline.</definition>
+      <definition>The time constant with which the threshold returns back to baseline.</definition>
     </property>
 
     <property>
       <name>ThresholdEquation</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
       <definition>The equation to calculate the threshold.</definition>
     </property>

+ 7 - 6
v1.0/model/multi_compartment.xml

@@ -1,24 +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"?>
 <!-- ********************************************************* -->
-<!--            multi compartmental model 	  	       -->
-<!-- ********************************************************* --> 
+<!--            multi compartmental model                      -->
+<!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-10-14</date>
+
   <section>
     <type>model/multi_comparment</type>
     <name>Multi compartment model</name>
     <definition>Properties to describe a biophysical model that consists of a number of compartments.</definition>
-    
-    
+
     <property>
       <name>SimulationType</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
-      <definition>The type of simulation: mathmatical, phenomenological, biophysical etc..</definition>
+      <definition>The type of simulation: mathematical, phenomenological, biophysical etc..</definition>
     </property>
+
   </section>
 </odML> 

+ 67 - 63
v1.0/model/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 7 - 6
v1.0/model/pif.xml

@@ -1,24 +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"?>
 <!-- ********************************************************* -->
-<!--            perfect integrate and fire	  	       -->
-<!-- ********************************************************* --> 
+<!--            perfect integrate and fire                     -->
+<!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-10-14</date>
+
   <section>
     <type>model/pif</type>
     <name>perfect Integrate and Fire</name>
     <definition>Properties to describe a perfect integrate and fire model.</definition>
-    
-    
+
     <property>
       <name>SimulationType</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
-      <definition>The type of simulation: mathmatical, phenomenological, biophysical etc..</definition>
+      <definition>The type of simulation: mathematical, phenomenological, biophysical etc..</definition>
     </property>
+
   </section>
 </odML> 

+ 7 - 6
v1.0/model/single_compartment.xml

@@ -1,24 +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"?>
 <!-- ********************************************************* -->
-<!--            single-compartmental model 	  	       -->
-<!-- ********************************************************* --> 
+<!--            single-compartmental model                     -->
+<!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-10-14</date>
+
   <section>
     <type>model/single_comparment</type>
     <name>Single compartment model</name>
     <definition>Properties to describe a biophysical model that consists of a single compartment.</definition>
-    
-    
+
     <property>
       <name>SimulationType</name>
       <value>
-        <type>string</type> 
+        <type>string</type>
       </value>
-      <definition>The type of simulation: mathmatical, phenomenological, biophysical etc..</definition>
+      <definition>The type of simulation: mathematical, phenomenological, biophysical etc..</definition>
     </property>
+
   </section>
 </odML> 

+ 315 - 310
v1.0/odMLTerminologies.xml

@@ -1,327 +1,332 @@
 <?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
+<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
+      each recording or dataset e.g. the animal_keeping 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
+      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
+      each recording or dataset e.g. the animal_keeping 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>
+      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>

+ 102 - 105
v1.0/odMLTerminologies.xsl

@@ -1,115 +1,112 @@
 <?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>
+                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" />
+      <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; } 
+      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>
+        <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 occurrence 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 section 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>
-		
+  <!-- ************************************************  -->
+  <!--              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>

+ 40 - 40
v1.0/odml.xsl

@@ -1,6 +1,6 @@
 <?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">
+                xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:odml="http://www.g-node.org/odml">
   <!-- ************************************************  -->
   <!--                   root template                   -->
   <xsl:template match="odML">
@@ -8,12 +8,12 @@
     <html>
       <style type="text/css">
         body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; } 
-	
+
         #navigationContainer { left:10%; width:95%;} 
 
         #contentContainer { left:10%; width:95%;}
       </style>
-      
+
       <body>
         <a name="top" style="color:#336699"><h1>odML - Metadata</h1></a>
         <div id="navigationContainer">     
@@ -29,26 +29,25 @@
           <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" >
+          <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>
+                <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>
-          
-	  <xsl:if test="section">
+
+          <xsl:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -73,11 +72,11 @@
     <!-- set new baseurl 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:when test="repository">
+          <xsl:value-of select ="repository"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select ="$url"/>
         </xsl:otherwise>
       </xsl:choose>
     </xsl:variable>
@@ -86,8 +85,10 @@
       <!--  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>
+        <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">
@@ -102,8 +103,7 @@
       </xsl:when>
       <!--  otherwise use template to display the content (navigation !=1) -->
       <xsl:otherwise>
-	
-	<a name="{$anchorName}"><h3>Section: <xsl:value-of select="name"/> </h3></a>
+        <a name="{$anchorName}"><h3>Section: <xsl:value-of select="name"/> </h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -131,11 +131,11 @@
               <th><font size="+1" color="white"><b>value reference</b></font></th>
               <th><font size="+1" color="white"><b>Type</b></font></th>
               <th><font size="+1" color="white"><b>Comment</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>
-		  -->
-                  <th><font size="+1" color="white"><b>Definition</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>
+              -->
+              <th><font size="+1" color="white"><b>Definition</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -154,31 +154,31 @@
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="uncertainty"/><br/></p>
                   </xsl:for-each>      
-		</td>
-		<td width="5%">
+                </td>
+                <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
                   </xsl:for-each>      
-		</td>
-		<td width="5%">
+                </td>
+                <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="reference"/><br/></p>
                   </xsl:for-each>      
-		</td>
+                </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%">
+                </td>
+                <td width="22.5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="comment"/><br/></p>
                   </xsl:for-each>      
-		</td>
-		<!--
-		    <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
-                    <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
-		-->
+                </td>
+                <!--
+                  <td width="5%"><p><xsl:value-of select="dependency"/></p></td>
+                  <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
+                -->
                 <td width="22.5%"><p><xsl:value-of select="definition"/></p></td>   
               </tr>
             </xsl:for-each></font>

+ 42 - 42
v1.0/odmlRepository.xsl

@@ -2,54 +2,54 @@
 <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>
+  <!-- ************************************************  -->
+  <!--                   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" />
+      <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; } 
+      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>       
+        <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>
+      </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>
 
-<!-- ************************************************  -->
-<!--              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>

+ 67 - 63
v1.0/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 67 - 63
v1.0/person/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

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

@@ -1,110 +1,110 @@
 <?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>
-        <version>1.0</version>
-        <date>2014-04-01</date>
-<!-- ********************************************************* -->
-<!--                     Person section                        -->
-<!-- ********************************************************* -->
-   <section>
-		<type>person</type>
-		<name>Person</name>
-      <definition>Information about a person. E.g. as Experimenter, Author, etc.</definition>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2014-04-01</date>
+  <!-- ********************************************************* -->
+  <!--                     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>
-         <value>Subject
-			<type>string</type>
-	      </value>
-         <definition> The role of this person e.g. when describing
-         a project (Responsible investigator), or a recording
-         (Experimenter).</definition>
-      </property> 
-   
-   <property>
-         <name>Email</name>
-	      <value>
-			<type>string</type>
-	      </value>
-         <definition> Person's e-mail.</definition>
-      </property> 
-      
-      <property>
-         <name>PhoneNumber</name>
-	      <value>
-			<type>string</type>
-	      </value>
-         <definition> Person's phone number.</definition>
-      </property> 
-      
-      <property>
-         <name>Laterality</name>
-	      <value>
-			<type>string</type>
-	      </value>
-         <definition>Handedness - the dominand hand of the subject</definition>
-      </property> 
-      
-        <property>
-         <name>Education level</name>
-	      <value>
-			<type>string</type>
-	      </value>
-         <definition>Highest archived education level of the person.</definition>
-      </property>
-   </section> 
+    <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>
+      <value>Subject
+        <type>string</type>
+      </value>
+      <definition>The role of this person e.g. when describing a project (Responsible investigator), or a recording
+        (Experimenter).
+      </definition>
+    </property>
+
+    <property>
+      <name>Email</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>Person's e-mail.</definition>
+    </property>
+
+    <property>
+      <name>PhoneNumber</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>Person's phone number.</definition>
+    </property>
+
+    <property>
+      <name>Laterality</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>Handedness - the dominant hand of the subject</definition>
+    </property>
+
+    <property>
+      <name>Education level</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>Highest archived education level of the person.</definition>
+    </property>
+
+  </section>
 </odML>

+ 67 - 63
v1.0/preparation/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 150 - 151
v1.0/preparation/preparation.xml

@@ -1,155 +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"?>
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-<!-- ********************************************************* -->
-<!--                  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>   
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                  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, sagittal 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>

+ 67 - 63
v1.0/project/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 59 - 58
v1.0/project/project.xml

@@ -1,64 +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"?>
 <!-- ********************************************************* -->
-<!--                     Project section                    				   -->
-<!-- ********************************************************* -->  
+<!--                     Project section                       -->
+<!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	<section>
-		<type>project</type>
-		<name>Project</name>
-		<definition>Information about the project.</definition>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <section>
+    <type>project</type>
+    <name>Project</name>
+    <definition>Information about the project.</definition>
+
+    <property>
+      <name>Topic</name>
+      <value>
+        <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>
 
-		<property>
-			<name>Topic</name>
-			<value>
-				<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> 
+  </section>
 </odML>

+ 67 - 63
v1.0/protocol/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 20 - 20
v1.0/protocol/protocol.xml

@@ -5,7 +5,7 @@
   <version>1.1</version>
   <date>2014-03-01</date>
   <!-- ********************************************************* -->
-  <!--                     Protocol section                        -->
+  <!--                     Protocol section                      -->
   <!-- ********************************************************* -->
   <section>
     <type>protocol</type>
@@ -15,7 +15,7 @@
     <property>
       <name>Name</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The protocol name.</definition>
     </property>
@@ -23,50 +23,50 @@
     <property>
       <name>Description</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>Description of the experiment</definition>
     </property>
-    
+
     <property>
       <name>Author</name>
       <value>
-	<type>person</type>
+        <type>person</type>
       </value>
       <definition>The person, who created this protocol.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>ProtocolFile</name>
       <value>
-	<type>binary</type>
+        <type>binary</type>
       </value>
       <definition>Protocol File</definition>
     </property>
-    
+
     <property>
       <name>ProtocolFileURL</name>
       <value>
-	<type>URL</type>
+        <type>URL</type>
       </value>
       <definition>URL for protocol file</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Duration</name>
       <value>
-	<type>time</type>
+        <type>time</type>
       </value>
       <definition>Duration of the protocol.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Version</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
-      <definition> Version of the protocol</definition>
-    </property> 
-    
-  </section> 
+      <definition>Version of the protocol</definition>
+    </property>
+
+  </section>
 </odML>

+ 167 - 169
v1.0/questionnaire/odmlTerms.xsl

@@ -1,201 +1,199 @@
 <?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: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" />
+  <!-- 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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-      #navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-      #contentContainer { 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>
+        <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;"/>
+          </p>
 
-            <h2>Structure</h2>
-	         <font  size ="-1" >
+          <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:for-each select="section">
+                <li>
                   <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: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>
-               </xsl:for-each>
+                </li>
+              </xsl:for-each>
             </xsl:if>
-         </div>
+          </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>
+    </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>
+  <!-- ************************************************  -->
+  <!--              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>
+        <!-- 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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+        <p>
+          <b>Type: </b><xsl:value-of select="type"/><br/>
+          <xsl:choose>
             <xsl:when test ="repository">
-               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+              <b>Repository: </b><xsl:value-of select="repository"/><br/>
             </xsl:when>
             <xsl:otherwise>
-               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+              <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/>
-         
-<!--
--->
-         <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>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="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: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/>
+        </p>
+
+        <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+
+        <!--  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>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="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:choose>
+  </xsl:template>
 </xsl:stylesheet>

+ 5 - 4
v1.0/questionnaire/question.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
 <!-- ********************************************************* -->
-<!--                  Question section        	               -->
+<!--                  Question section                         -->
 <!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
@@ -15,7 +15,7 @@
     <property>
       <name>Label</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>A label of the questionnaire.</definition>
     </property>
@@ -23,7 +23,7 @@
     <property>
       <name>Question</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>Text of the question.</definition>
     </property>
@@ -31,9 +31,10 @@
     <property>
       <name>Answer</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>Answer for a question.</definition>
     </property>
+
   </section>
 </odML>

+ 17 - 17
v1.0/questionnaire/questionnaire.xml

@@ -5,53 +5,53 @@
   <version>1.0</version>
   <date>2017-09-28</date>
   <!-- ********************************************************* -->
-  <!--                  Questionnaire  section                     -->
+  <!--                  Questionnaire  section                   -->
   <!-- ********************************************************* -->
   <section>
     <type>questionnaire</type>
     <name>questionnaire</name>
     <definition>Description of the questionnaire.</definition>
-    
+
     <property>
       <name>Version</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>A version of the questionnaire.</definition>
     </property>
-    
+
     <property>
       <name>Label</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>A label of the questionnaire.</definition>
-    </property>              
-    
+    </property>
+
     <property>
       <name>Question</name>
       <value>
-	<type>question</type>
+        <type>question</type>
       </value>
       <definition>Question of the questionnaire.</definition>
-    </property> 
-    
-    
+    </property>
+
+
     <property>
       <name>File</name>
       <value>
-	<type>File</type>
+        <type>File</type>
       </value>
       <definition>The binary file with questionnaire.</definition>
     </property>
-    
+
     <property>
       <name>FileURL</name>
       <value>
-	<type>URL</type>
+        <type>URL</type>
       </value>
       <definition>URL for questionnaire file.</definition>
-    </property> 
-    
-  </section>   
+    </property>
+
+  </section>
 </odML>

+ 67 - 63
v1.0/recording/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 93 - 92
v1.0/recording/recording.xml

@@ -1,97 +1,98 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-<!-- ********************************************************* -->
-<!--                    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> 
-	   <property>
-         <name>Type</name>
-	      <value>
-			<type>string</type>
-	      </value>
-         <definition>The type of recording (EEG, Eyetracker,Motion data).</definition>
-      </property> 
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                    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>
 
-   </section> 
+    <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>
+
+    <property>
+      <name>Type</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>The type of recording (EEG, Eyetracker,Motion data).</definition>
+    </property>
+
+  </section>
 </odML>

+ 165 - 165
v1.0/response/odmlTerms.xsl

@@ -1,199 +1,199 @@
 <?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: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" />
+  <!-- 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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-      #navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-      #contentContainer { 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>
+        <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;"/>
+          </p>
 
-            <h2>Structure</h2>
-	         <font  size ="-1" >
+          <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:for-each select="section">
+                <li>
                   <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: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>
-               </xsl:for-each>
+                </li>
+              </xsl:for-each>
             </xsl:if>
-         </div>
+          </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>
+    </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>
+  <!-- ************************************************  -->
+  <!--              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>
+        <!-- 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/>
-            <xsl:choose>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
+        <p>
+          <b>Type: </b><xsl:value-of select="type"/><br/>
+          <xsl:choose>
             <xsl:when test ="repository">
-               <b>Repository: </b><xsl:value-of select="repository"/><br/>
+              <b>Repository: </b><xsl:value-of select="repository"/><br/>
             </xsl:when>
             <xsl:otherwise>
-               <b>Repository: </b><xsl:value-of select="$repository"/><br/>
+              <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/>
-         </p>
+          </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/>
+        </p>
 
-         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+        <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	      <!--  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>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="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> 
+        <!--  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>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="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:choose>
+  </xsl:template>
 </xsl:stylesheet>

+ 48 - 48
v1.0/response/response.xml

@@ -5,122 +5,122 @@
   <date>2011-01-21</date>
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <!-- ********************************************************* -->
-  <!--                  Response section                      -->
+  <!--                  Response section                         -->
   <!-- ********************************************************* -->
   <section>
     <type>Response</type>
     <name>Response</name>
-    <definition>General description of an recieved response (on stimulus).</definition>
-    
+    <definition>General description of an received response (on stimulus).</definition>
+
     <property>
       <name>Description</name>
       <value>
-	<type>text</type>
+        <type>text</type>
       </value>
       <definition>A textual description of the response.</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>Comment</name>
       <value>
-	<type>text</type>
+        <type>text</type>
       </value>
       <definition>A comment on this specific response.</definition>
-    </property>  
-    
+    </property>
+
     <property>
       <name>Author</name>
       <value>
-	<type>person</type>
+        <type>person</type>
       </value>
       <definition>Who is the author of this response.</definition>
     </property>
-    
+
     <property>
       <name>Duration</name>
       <value>
-	<type>float</type>
-	<unit>s</unit>
+        <type>float</type>
+        <unit>s</unit>
       </value>
       <definition>The duration of the response.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>StartTime</name>
       <value>
-	<type>time</type>
+        <type>time</type>
       </value>
       <definition>The time the response started.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>EndTime</name>
       <value>
-	<type>time</type>
+        <type>time</type>
       </value>
       <definition>The time the response ended.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Intensity</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>like the current in case of electrical stimulation.</definition>
     </property>
-    
+
     <property>
       <name>Location</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>Describes the site of the response application.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Modality</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>Visual, acoustic, haptic, electrical, etc. response.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Repetitions</name>
       <value>
-	<type>int</type>
+        <type>int</type>
       </value>
       <definition>The number of repetitions of the described response.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>InterstimulusInterval</name>
       <value>
-	<type>float</type>
-	<unit>s</unit>
+        <type>float</type>
+        <unit>s</unit>
       </value>
       <definition>The time between two subsequent response.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>ResponseFile</name>
       <value>
-	<type>binary</type>
+        <type>binary</type>
       </value>
-      <definition> The response file recived. Using it will blow
-      up the the size of the metadatafile and we recommend to
-      rather define the URL of underlying response
-      file.</definition>
-    </property> 
-    
+      <definition>The response file received. Using it will blow up the the size of the metadatafile and we recommend to
+        rather define the URL of underlying response file.
+      </definition>
+    </property>
+
     <property>
       <name>ResponseFileURL</name>
       <value>
-	<type>URL</type>
+        <type>URL</type>
       </value>
-      <definition>The URL of a an recievedresponse file. This
-      is the recommended alternative to explicitely including the
-      actual response via ResponseFile.</definition>
-    </property>  
+      <definition>The URL of a an recieved response file. This is the recommended alternative to explicitly including
+        the actual response via ResponseFile.
+      </definition>
+    </property>
+
   </section>
 </odML>

+ 67 - 63
v1.0/setup/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 67 - 70
v1.0/setup/setup.xml

@@ -1,78 +1,75 @@
 <?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>
-        <version>1.0</version>
-        <date>2011-01-21</date>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
   <!-- ********************************************************* -->
   <!--                      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>
+    <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>
 
-   </section>
+    <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 maintenance.</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>

+ 67 - 63
v1.0/software/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 99 - 97
v1.0/software/software.xml

@@ -1,103 +1,105 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
 <!-- ********************************** -->
-<!--        Software	 -->
+<!--                Software            -->
 <!-- ********************************** -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2014-03-02</date>
-     
-     <section>
-		<type>software</type>
-         <name>Software</name>
-         <definition>This is a software section .</definition>
-                  
-          <property>
-            <name>Name</name>
-	         <value>
-				<type>string</type>
-	         </value>
-            <definition>The software's name.</definition>
-	      </property> 
-         
-         <property>
-	         <name>Owner</name>
-	         <value>
-				<type>string</type>
-	         </value>
-            <definition>The owner of the software.</definition>
-	      </property> 
-	      
-	      <property>
-            <name>Developer</name>
-	         <value>
-				<type>string</type>
-	         </value>
-            <definition>The developer or the developers firm.</definition>
-	      </property> 
-	      
-	      <property>
-            <name>Version</name>
-	         <value>
-				<type>string</type>
-	         </value>
-            <definition>Version of the software.</definition>
-	      </property> 
-	      
-	      <property>
-            <name>Licence</name>
-	         <value>
-				<type>string</type>
-	         </value>
-            <definition>License type</definition>
-	      </property> 
-	      
-	      <property>
-            <name>LicenceStart</name>
-	         <value>
-				<type>date</type>
-	         </value>
-            <definition>The start date of time limited licence.</definition>
-	      </property> 
-              
-              <property>
-            <name>LicenceExpiration</name>
-	         <value>
-				<type>date</type>
-	         </value>
-            <definition>The end date of time limited licence.</definition>
-	      </property>
-        
-        <property>
-            <name>LicenceDuration</name>
-	         <value>
-				<type>string</type>
-	         </value>
-            <definition>Duration of the licece for the software.</definition>
-	      </property>  
-        
-        <property>
-            <name>LicenceCount</name>
-	         <value>
-				<type>int</type>
-	         </value>
-            <definition>Number of the software's licence.</definition>
-	      </property>  
-        
-        <property>
-            <name>Distribution</name>
-	         <value>
-				<type>string</type>
-	         </value>
-            <definition>Distribution type</definition>
-	      </property>  
-        <property>
-            <name>Decsription</name>
-	         <value>
-				<type>string</type>
-	         </value>
-            <definition>The descrisption of the software.</definition>
-	      </property>  
-      </section>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2014-03-02</date>
+
+  <section>
+    <type>software</type>
+    <name>Software</name>
+    <definition>This is a software section .</definition>
+
+    <property>
+      <name>Name</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>The software's name.</definition>
+    </property>
+
+    <property>
+      <name>Owner</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>The owner of the software.</definition>
+    </property>
+
+    <property>
+      <name>Developer</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>The developer or the developers firm.</definition>
+    </property>
+
+    <property>
+      <name>Version</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>Version of the software.</definition>
+    </property>
+
+    <property>
+      <name>Licence</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>License type</definition>
+    </property>
+
+    <property>
+      <name>LicenceStart</name>
+      <value>
+        <type>date</type>
+      </value>
+      <definition>The start date of time limited licence.</definition>
+    </property>
+
+    <property>
+      <name>LicenceExpiration</name>
+      <value>
+        <type>date</type>
+      </value>
+      <definition>The end date of time limited licence.</definition>
+    </property>
+
+    <property>
+      <name>LicenceDuration</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>Duration of the licece for the software.</definition>
+    </property>
+
+    <property>
+      <name>LicenceCount</name>
+      <value>
+        <type>int</type>
+      </value>
+      <definition>Number of the software's licence.</definition>
+    </property>
+
+    <property>
+      <name>Distribution</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>Distribution type</definition>
+    </property>
+
+    <property>
+      <name>Decsription</name>
+      <value>
+        <type>string</type>
+      </value>
+      <definition>The description of the software.</definition>
+    </property>
+
+  </section>
 </odML>

+ 49 - 38
v1.0/stimulus/dc.xml

@@ -1,105 +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"?>
 <!-- ********************************************************* -->
-<!--                      DC stimulus                       -->
+<!--                      DC stimulus                          -->
 <!-- ********************************************************* -->
-<odML version="1">   
+<odML version="1">
   <version>1.0</version>
   <date>2011-01-21</date>
   <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>
-    
+    <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>
+        <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>
+        <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>
+        <type>string</type>
       </value>
       <definition>The stimulus intensity in absolute or relative terms.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>IntensityOffset</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The stimulus intensity given as the offset relative to another stimulus.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>TemporalOffset</name>
       <value>
-	<type>float</type>
-	<unit>s</unit>
+        <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>
+      <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>
+        <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>
+        <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> 
-    
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly express that several stimuli (that share the same
+        OutputChannel) are jointly presented.
+      </definition>
+    </property>
+
     <property>
       <name>Position</name>
       <value>
-	<type>2-tuple</type>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
-    </property> 
+    </property>
+
   </section>
 </odML>

+ 39 - 30
v1.0/stimulus/gabor.xml

@@ -7,91 +7,100 @@
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
+
   <section>
     <type>stimulus/gabor</type>
     <name>Gabor</name>
     <definition>Property definitions to describe Gabor stimuli.</definition>
-    
-    
+
     <property>
       <name>Modality</name>
       <value>
-	<type>string</type>
+        <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>
+        <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>
+        <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>
+      <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>
+        <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>
+        <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> 
-    
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly express that several stimuli (that share the same
+        OutputChannel) are jointly presented.
+      </definition>
+    </property>
+
     <property>
       <name>Dimension</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The dimensionality of the gabor.</definition>
     </property>
-    
+
     <property>
       <name>Position</name>
       <value>
-	<type>2-tuple</type>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
     </property>
+
   </section>
 </odML>

+ 56 - 45
v1.0/stimulus/grating.xml

@@ -7,6 +7,7 @@
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
+
   <section>
     <type>stimulus/grating</type>
     <name>Grating</name>
@@ -15,137 +16,147 @@
     <property>
       <name>Modality</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
       <definition>The stimulus modality like acoustic, haptic, visual etc.</definition>
     </property>
-    
+
     <property>
       <name>Type</name>
       <value>
-	<type>string</type>
+        <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>
+        <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>
+        <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>
+      <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>
+        <type>float</type>
       </value>
-      <definition>The contrast of the grating stimulus. </definition>
+      <definition>The contrast of the grating stimulus.</definition>
     </property>
-    
+
     <property>
       <name>Intensity</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
-      <definition>The mean intensity of the grating stimulus. </definition>
+      <definition>The mean intensity of the grating stimulus.</definition>
     </property>
-    
+
     <property>
       <name>GratingType</name>
       <value>
-	<type>string</type>
+        <type>string</type>
       </value>
-      <definition>The type of  grating, i.e. 'sinewave' or 'squarewave'. </definition>
+      <definition>The type of grating, i.e. 'sinewave' or 'squarewave'.</definition>
     </property>
-    
+
     <property>
       <name>SpatialWavelength</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
-      <definition>The spatial wavelength of the grating. </definition>
+      <definition>The spatial wavelength of the grating.</definition>
     </property>
-    
+
     <property>
       <name>SpatialFrequency</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>the spatial frequency of the grating.</definition>
     </property>
-    
+
     <property>
       <name>SpatialExtent</name>
       <value>
-	<type>2-tuple</type>
+        <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>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The orientation of the grating in degrees.</definition>
     </property>
-    
+
     <property>
       <name>DriftingVelocity</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
-      <definition>In case of a constantly drifting grating, the velocity </definition>
+      <definition>In case of a constantly drifting grating, the velocity</definition>
     </property>
-    
+
     <property>
       <name>Position</name>
       <value>
-	<type>2-tuple</type>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <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>
+        <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>
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly express that several stimuli (that share the same
+        OutputChannel) are jointly presented.
+      </definition>
     </property>
+
   </section>
 </odML>

+ 46 - 36
v1.0/stimulus/movie.xml

@@ -1,49 +1,51 @@
 <?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                    -->
+<!--                   movie stimulus                          -->
 <!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
+
   <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>
+        <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>
+        <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>
+        <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> 
-    
+      <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>
+        <type>float</type>
+        <unit>Hz</unit>
       </value>
       <definition>The framerate with which the movie was presented.</definition>
     </property>
@@ -51,68 +53,76 @@
     <property>
       <name>SpatialResolution</name>
       <value>
-	<type>2-tuple</type>
-	<unit>pixel</unit>
+        <type>2-tuple</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>
+        <type>string</type>
       </value>
       <value>color
-      <type>string</type>
+        <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>
+        <type>int</type>
+        <unit>bit</unit>
       </value>
       <definition>The color resolution in bit.</definition>
     </property>
-    
+
     <property>
       <name>OutputChannel</name>
       <value>
-	<type>string</type>
+        <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>
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly express that several stimuli (that share the same
+        OutputChannel) are jointly presented.
+      </definition>
     </property>
 
     <property>
       <name>Position</name>
       <value>
-	<type>2-tuple</type>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
     </property>
+
   </section>
 </odML>

+ 67 - 63
v1.0/stimulus/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 99 - 89
v1.0/stimulus/pulse.xml

@@ -4,93 +4,103 @@
 <!--                      pulse stimulus                       -->
 <!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	<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>
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <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 explicitly 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>

+ 54 - 43
v1.0/stimulus/ramp.xml

@@ -1,122 +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"?>
 <!-- ********************************************************* -->
-<!--                      Ramp stimulus                       -->
+<!--                      Ramp stimulus                        -->
 <!-- ********************************************************* -->
 <odML version="1">
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
+
   <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>
-    
+    <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>
+        <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>
+        <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>
+        <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>
+      <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>
+        <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>
+        <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> 
-        
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly express that several stimuli (that share the same
+        OutputChannel) are jointly presented.
+      </definition>
+    </property>
+
     <property>
       <name>StartAmplitude</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The start amplitude of the ramp.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>EndAmplitude</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The ending amplitude.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Slope</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
-      <definition>The slopewith which the ramp ascends respectively descends.</definition>
-    </property> 
-    
+      <definition>The slope with which the ramp ascends respectively descends.</definition>
+    </property>
+
     <property>
       <name>RampStartTime</name>
       <value>
-	<type>float</type>
-	<unit>s</unit>
+        <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>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
     </property>
-  </section>
 
+  </section>
 </odML>

+ 48 - 40
v1.0/stimulus/random_dot.xml

@@ -7,132 +7,140 @@
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
+
   <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>
+        <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>
+        <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>
+        <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>
+      <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>
+        <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>
+        <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>
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly express that several stimuli (that share the same
+        OutputChannel) are jointly presented.
+      </definition>
     </property>
-    
+
     <property>
       <name>DotCount</name>
       <value>
-	<type>int</type>
+        <type>int</type>
       </value>
       <definition>The number of random dots placed on the screen.</definition>
     </property>
-    
+
     <property>
       <name>DotHorizontalExtent</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The width of a single dot given in &#176;.</definition>
     </property>
-    
+
     <property>
       <name>DotVerticalExtent</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The height of a single dot in &#176;.</definition>
     </property>
-    
+
     <property>
       <name>DotPixelHeight</name>
       <value>
-	<type>int</type>
+        <type>int</type>
       </value>
       <definition>The height of a single dot in pixel.</definition>
     </property>
-    
+
     <property>
       <name>DotPixelWidth</name>
       <value>
-	<type>int</type>
+        <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>	
+        <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>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
     </property>
-    
+
   </section>
 </odML>

+ 35 - 26
v1.0/stimulus/sawtooth.xml

@@ -11,78 +11,87 @@
     <type>stimulus/sawtooth</type>
     <name>Sawtooth</name>
     <definition>Sawtooth Properties.</definition>
-    
-    
+
     <property>
       <name>Modality</name>
       <value>
-	<type>string</type>
+        <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>
+        <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>
+        <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>
+      <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>
+        <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>
+        <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>
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly express that several stimuli (that share the same
+        OutputChannel) are jointly presented.
+      </definition>
     </property>
-    
+
     <property>
       <name>Position</name>
       <value>
-	<type>2-tuple</type>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
     </property>
+
   </section>
 </odML>

+ 49 - 39
v1.0/stimulus/sine_wave.xml

@@ -7,116 +7,126 @@
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
+
   <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>	
+        <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>
+        <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>
+        <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>
+      <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>
+        <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>
+        <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> 
-    
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly 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>
+        <type>float</type>
+        <unit>Hz</unit>
       </value>
       <definition>The frequency of the sinwave stimulation.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>Phase</name>
       <value>
-	<type>float</type>
-	<unit>Hz</unit>
+        <type>float</type>
+        <unit>Hz</unit>
       </value>
       <definition>Phase shift of the sinewave.</definition>
     </property>
-    
+
     <property>
       <name>Amplitude</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>Amplitude of the sinewave modulation.</definition>
-    </property> 
-    
+    </property>
+
     <property>
       <name>MeanIntensity</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The mean intensity of the stimulus.</definition>
     </property>
-    
+
     <property>
       <name>Position</name>
       <value>
-	<type>2-tuple</type>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
     </property>
+
   </section>
 </odML>

+ 57 - 40
v1.0/stimulus/square_wave.xml

@@ -7,122 +7,139 @@
   <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
   <version>1.0</version>
   <date>2011-01-21</date>
+
   <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>
-    
+    <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>
+        <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>
+        <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>
+        <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> 
-    
+      <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>
+        <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>
+        <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>
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly 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>
+        <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>
+        <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>
+      <definition>The part of the cycle 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>
+        <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>
+        <type>float</type>
       </value>
       <definition>The mean intensity of the stimulus.</definition>
     </property>
-    
+
     <property>
       <name>StartAmplitude</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
-      <definition>The amlitude with which the squarewave stimulus started. This may assume either intensity offset - or + amplitude/2.</definition>
+      <definition>The amplitude 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>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
     </property>
+
   </section>
 </odML>

+ 154 - 151
v1.0/stimulus/stimulus.xml

@@ -2,158 +2,161 @@
 <?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"  xmlns:odml="http://www.g-node.org/odml"?>
 <odML version="1">
   <version>1.0</version>
-        <date>2011-01-21</date>
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <date>2011-01-21</date>
+  <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>
+  <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>

+ 65 - 66
v1.0/stimulus/stimulusTypes.xml

@@ -1,70 +1,69 @@
 <?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>
 
-<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>
+  <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>

+ 57 - 48
v1.0/stimulus/white_noise.xml

@@ -7,129 +7,138 @@
   <version>1.0</version>
   <date>2011-01-21</date>
   <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>
+        <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>
+        <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>
+        <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>
+      <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>
+        <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>
+        <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>
+      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
+        etc.). This information can be used to explicitly express that several stimuli (that share the same
+        OutputChannel) are jointly presented.
+      </definition>
     </property>
-    
+
     <property>
       <name>Mean</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
       <definition>The mean intensity of the white noise stimulus.</definition>
     </property>
-    
+
     <property>
       <name>Variance</name>
       <value>
-	<type>float</type>
+        <type>float</type>
       </value>
-      <definition>The variance of the white noise stimulus.</definition> 
+      <definition>The variance of the white noise stimulus.</definition>
     </property>
-    
+
     <property>
       <name>LowerCutoffFrequency</name>
       <value>
-	<type>float</type>
-	<unit>Hz</unit>
+        <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>
+      <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>
+        <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>
+      <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>
+        <type>string</type>
       </value>
-      <definition>The filter method applied to limit the frequeny content of the stimulus.</definition>
+      <definition>The filter method applied to limit the frequency content of the stimulus.</definition>
     </property>
-    
+
     <property>
       <name>Position</name>
       <value>
-	<type>2-tuple</type>
+        <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>
+      <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>
+        <type>string</type>
       </value>
       <value>center
-      <type>string</type>
+        <type>string</type>
       </value>
       <value>bottom-right
-      <type>string</type>
+        <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>  
-    
+      <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>
+        <type>2-tuple</type>
       </value>
       <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
-    </property>  
-    
+    </property>
+
   </section>
 </odML>

+ 67 - 63
v1.0/subject/odmlTerms.xsl

@@ -1,6 +1,6 @@
 <?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: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 -->
@@ -12,18 +12,20 @@
     <!-- 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" />
+      <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; } 
+        body { margin-left:2%; margin-top:10px; padding:0;} div { border:0px solid #888; }
 
-	#navigationContainer { left:20px; width:80%;} 
+        #navigationContainer { left:20px; width:80%;}
 
-	#contentContainer { 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">     
+        <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>
@@ -32,29 +34,30 @@
             <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>
+          <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:if test="section">
             <xsl:for-each select="section">
               <xsl:call-template name="sectionTemplate">
                 <xsl:with-param name="navigation">0</xsl:with-param>
@@ -65,34 +68,36 @@
           </xsl:if>
         </div>
       </body>
-    </html> 
+    </html>
   </xsl:template>
 
   <!-- ************************************************  -->
   <!--              section template.                    -->
   <xsl:template name="sectionTemplate" match="section">
-    <xsl:param name="navigation"/>   
+    <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: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>
+        <!-- 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">
@@ -100,15 +105,14 @@
                 <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:call-template>
             </xsl:for-each>
-          </xsl:if> 
+          </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>
+        <a name="{$anchorName}"><h3> <xsl:value-of select="name"/> Section</h3></a>
         <p>
           <b>Type: </b><xsl:value-of select="type"/><br/>
           <xsl:choose>
@@ -126,7 +130,7 @@
 
         <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
 
-	<!--  Check if there are any properties  -->
+        <!--  Check if there are any properties  -->
         <xsl:if test="property">
           <table border="1" rules="rows" width="100%"><font size="-1">
             <tr bgcolor="#336699">
@@ -134,10 +138,10 @@
               <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>Mapping</b></font></th>
+              <th><font size="+1" color="white"><b>Definition</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>	
+              <th><font size="+1" color="white"><b>Dependency Value</b></font></th>
             </tr>
             <xsl:for-each select="property">
               <xsl:variable name="anchor">
@@ -145,51 +149,51 @@
               </xsl:variable>
               <tr>
                 <td width="15%"><a name="{$anchor}"/>
-                <p><xsl:value-of select="name"/></p>
+                  <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>      
+                  </xsl:for-each>
                 </td>
                 <td width="5%">
                   <xsl:for-each select="value">
                     <p><xsl:value-of select="unit"/><br/></p>
-                  </xsl:for-each>      
-		</td>
+                  </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="mapping">
-		      <xsl:variable name="mapping" select="."/>
-	              <p><a href="{$mapping}"><small><xsl:value-of select="."/></small></a></p>
-		    </xsl:for-each>
-		  </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="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="dependency"/></p></td>
                 <td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td>
               </tr>
             </xsl:for-each></font>
           </table>
-        </xsl:if>  
+        </xsl:if>
         <a href="#top"><tiny>top</tiny></a>
-        <hr style="background-color:#336699; height:1px; margin-right:0; text-align:right;"/>  
+        <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:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/>
+              <xsl:with-param name="url" select="$repository"/>
+            </xsl:call-template>
           </xsl:for-each>
-        </xsl:if> 
+        </xsl:if>
       </xsl:otherwise>
-    </xsl:choose> 
+    </xsl:choose>
   </xsl:template>
 </xsl:stylesheet>

+ 143 - 148
v1.0/subject/subject.xml

@@ -4,152 +4,147 @@
 <!--                     Subject section                       -->
 <!-- ********************************************************* -->
 <odML version="1">
-	<repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
-        <version>1.0</version>
-        <date>2011-01-21</date>
-	<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> 
+  <repository>http://portal.g-node.org/odml/terminologies/v1.0/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+
+  <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 labeled in a specific way. The label 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 developmental stage of the subject. E.g. "embryonal", "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,
+        height 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>

+ 125 - 100
v1.0/terminologies.xml

@@ -1,39 +1,44 @@
 <?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"> 
+<odML version="1">
   <section>
     <type>analysis</type>
     <name>Analysis</name>
     <definition>Sections of the Analysis type can be used to describe analyses.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/analysis/analysis.xml</include>
   </section>
-  
+
   <section>
     <type>analysis/psth</type>
     <name>PSTH</name>
     <definition>An Analysis-type section to describe a PSTH.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/analysis/psth.xml</include>
   </section>
-  
+
   <section>
     <type>analysis/power_spectrum</type>
     <name>PowerSpectrum</name>
     <definition>Properties of this section define the way a power spectrum was calculated.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/analysis/power_spectrum.xml</include>
   </section>
-  
+
   <section>
     <type>cell</type>
     <name>Cell</name>
-    <definition>Specification of the recorded cell. A cell definition should be a subsection of the <a href="../subject/subject.xml">Subject</a> section.</definition>
+    <definition>Specification of the recorded cell. A cell definition should be a subsection of the
+      <a href="../subject/subject.xml">Subject</a>
+      section.
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/cell/cell.xml</include>
   </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 siblings are Stimulus, HardwareSettings, and Experiment.</definition>
+    <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 siblings are
+      Stimulus, HardwareSettings, and Experiment.
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/dataset/dataset.xml</include>
   </section>
 
@@ -54,27 +59,29 @@
   <section>
     <type>event</type>
     <name>Event</name>
-    <definition>Section for short annotations that are taken during an experiment to describe certain events.</definition>
+    <definition>Section for short annotations that are taken during an experiment to describe certain events.
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/event/event.xml</include>
   </section>
 
   <section>
     <type>event_list</type>
-    <name>EventList</name><definition>Section for grouping short annotations that are taken during
-    an experiment, preparation etc...</definition>
+    <name>EventList</name>
+    <definition>Section for grouping short annotations that are taken during
+      an experiment, preparation etc...
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/collection/event_list.xml</include>
   </section>
 
   <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>
+    <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>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/experiment.xml</include>
   </section>
-  
+
   <section>
     <type>experiment/behavior</type>
     <name>Behavior</name>
@@ -84,119 +91,126 @@
 
   <section>
     <type>experiment/electrophysiology</type>
-    <name>Electrophysiology</name> 
+    <name>Electrophysiology</name>
     <definition>Properties for describing an electrophysiological experiment.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/electrophysiology.xml</include>
   </section>
-  
+
   <section>
     <type>experiment/imaging</type>
     <name>Imaging</name>
-    <definition>Properties for describing an imaging experiment ranging from conventional light microscpoy to fMRI.</definition>
+    <definition>Properties for describing an imaging experiment ranging from conventional light microscpoy to fMRI.
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/imaging.xml</include>
   </section>
-  
 
   <section>
     <type>experiment/pschophysics</type>
     <name>Psychophysics</name>
     <definition>Properties for describing an psychophysical experiment.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/experiment/psychophysics.xml</include>
-  </section>	
-  
+  </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>
     <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>
+      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>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/collection/hardware_settings.xml</include>
   </section>
-  
+
   <section>
     <type>hardware</type>
     <name>Hardware</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>
+      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>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/hardware.xml</include>
-  </section>  
-  
+  </section>
+
   <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>
+    <definition>The amplifier section defines elements that can be used to describe amplifier properties and settings.
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/amplifier.xml</include>
   </section>
-  
+
   <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>
+    <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>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/attenuator.xml</include>
   </section>
-  
+
   <section>
     <type>hardware/camera_objective</type>
     <name>CameraObjective</name>
     <definition>This section contains properties that describe a camera objective.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/attenuator.xml</include>
   </section>
-  
+
   <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>
+    <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>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/daq.xml</include>
   </section>
-  
+
   <section>
     <type>hardware/eyetracker</type>
     <name>Eyetracker</name>
     <definition>Properties of an eyetracker.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/eyetracker.xml</include>
   </section>
-  
+
   <section>
     <type>hardware/filter</type>
     <name>Filter</name>
     <definition>Properties a filter modul for analog signal conditioning.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/filter.xml</include>
   </section>
-  
+
   <section>
     <type>hardware/filter_set</type>
     <name>Filterset</name>
     <definition>The FilterSet or also FilterCube used in a microscope.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/filter_set.xml</include>
   </section>
-  
+
   <section>
     <type>hardware/iaq</type>
     <name>ImageAcquisition</name>
@@ -210,49 +224,49 @@
     <definition>The Microscope section describes the properties of the used microscope.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/microscope.xml</include>
   </section>
-  
+
   <section>
     <type>hardware/microscope_objective</type>
     <name>MicroscopeObjective</name>
     <definition>This section contains properties that describe the objective used in a microscope.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/microscope_objective.xml</include>
   </section>
-  
+
   <section>
     <type>hardware/scanner</type>
     <name>Scanner</name>
     <definition>The Scanner used to scan microscope images.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/scanner.xml</include>
   </section>
-  
+
   <section>
     <type>hardware/stimulus_isolator</type>
     <name>StimulusIsolator</name>
     <definition>Properties of a stimulus Isolator device.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/hardware/stimulus_isolator.xml</include>
   </section>
-  
+
   <section>
     <type>model/lif</type>
     <name>Leaky integrate and fire</name>
     <definition>Section to describe a leaky integrate and fire neuron model.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/model/lif.xml</include>
   </section>
-  
+
   <section>
     <type>model/pif</type>
     <name>perfect integrate and fire</name>
     <definition>Section to describe a perfect integrate and fire model.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/model/pif.xml</include>
   </section>
-  
+
   <section>
     <type>model/multi_compartment</type>
     <name>Multi compartment model</name>
     <definition>Section to describe a biophysical model that consists of a number of compartments.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/model/multi_compartment.xml</include>
   </section>
-  
+
   <section>
     <type>model/single_compartment</type>
     <name>One compartment model</name>
@@ -280,7 +294,7 @@
     <definition>Description of a question if a questionnaire.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/questionnaire/question.xml</include>
   </section>
-  
+
   <section>
     <type>person</type>
     <name>Person</name>
@@ -294,7 +308,7 @@
     <definition>Description of the preparation procedure.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/preparation/preparation.xml</include>
   </section>
-  
+
   <section>
     <type>project</type>
     <name>Project</name>
@@ -308,128 +322,139 @@
     <definition>Information about the experimental protocol.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/protocol/protocol.xml</include>
   </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>
+    <definition>During a recording session in a Setup Datasets are obtained from Cells and/or a Subject by using various
+      stimuli (Stimulus section).
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/recording/recording.xml</include>
   </section>
 
   <section>
     <type>response</type>
     <name>Response</name>
-    <definition>General description of an recieved response (on stimulus).</definition>
+    <definition>General description of an received response (on stimulus).</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/response/response.xml</include>
   </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>
+    <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>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/setup/setup.xml</include>
   </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>
+    <definition>General description of an applied stimulus. This section is basis of various related sections that
+      specify more specific stimuli.
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/stimulus.xml</include>
   </section>
-  
+
   <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>
+    <definition>Property definitions to describe a DC stimulus meaning a constant stimulus e.g. a constant illumination,
+      current etc.
+    </definition>
     <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>
     <definition>Property definitions to describe Gabor stimuli.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/grating.xml</include>
   </section>
-  
+
   <section>
     <type>stimulus/pulse</type>
     <name>Pulse</name>
-    <definition>Properties to describe a simple pulse stimulus that starts from and returns to a certain baseline.</definition>
+    <definition>Properties to describe a simple pulse stimulus that starts from and returns to a certain baseline.
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/pulse.xml</include>
   </section>
-  
+
   <section>
     <type>stimulus/movie</type>
     <name>Movie</name>
     <definition>Properties to describe a movie (or image sequence) stimulus.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/movie.xml</include>
   </section>
-  
+
   <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>
+    <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>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/ramp.xml</include>
   </section>
-  
+
   <section>
     <type>stimulus/random_dot</type>
     <name>RandomDot</name>
     <definition>Properties to describe a random dot stimulus.</definition>
     <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>
     <definition>Sawtooth Properties.</definition>
     <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>
-    <definition>A squarewave stimulus was presented. Squarewaves modulate with a certain frequency about the intensity offset. </definition>
+    <definition>A squarewave stimulus was presented. Squarewaves modulate with a certain frequency about the intensity
+      offset.
+    </definition>
     <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>
     <definition>Property definitions to describe a white noise stimulus.</definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/stimulus/white_noise.xml</include>
   </section>
-  
+
   <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>
+      May contain the Cell and Preparation sections as subsections.
+    </definition>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/subject/subject.xml</include>
   </section>
-  
+
   <section>
     <type>carmen_mini</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>
+    <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>
     <include>http://portal.g-node.org/odml/terminologies/v1.0/carmenMini/carmen_mini.xml</include>
   </section>
+
 </odML>

+ 146 - 0
v1.1/analysis/analysis.xml

@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1.1">
+  <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                     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>
+      <type>person</type>
+      <definition>The name of the person who did the analysis, e.g. 'John Doe' or 'Doe, John'</definition>
+    </property>
+
+    <property>
+      <name>Date</name>
+      <type>date</type>
+      <definition>The date of analysis.</definition>
+    </property>
+
+    <property>
+      <name>Description</name>
+      <type>text</type>
+      <definition>A general description of the analysis.</definition>
+    </property>
+
+    <property>
+      <name>Method</name>
+      <type>string</type>
+      <definition>The name of a method used in this analysis. E.g. "power spectrum".</definition>
+    </property>
+
+    <property>
+      <name>CommandlineCall</name>
+      <type>string</type>
+      <definition>The command used to execute the analysis including the command line parameter.</definition>
+    </property>
+
+    <property>
+      <name>Comment</name>
+      <type>text</type>
+      <definition>Specific comments on this analysis.</definition>
+    </property>
+
+    <property>
+      <name>CodeFile</name>
+      <type>binary</type>
+      <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>
+      <type>URL</type>
+      <definition>The URL of the applied piece of program code to actually do the analysis.</definition>
+    </property>
+
+    <property>
+      <name>CodeRevision</name>
+      <type>string</type>
+      <definition>If the analysis code is under version control the revision number can be specified using this
+        property.
+      </definition>
+    </property>
+
+    <property>
+      <name>ConfigFile</name>
+      <type>binary</type>
+      <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>
+      <type>URL</type>
+      <definition>The URL of the used configuration file used to run the analysis.</definition>
+    </property>
+
+    <property>
+      <name>DatasetFile</name>
+      <type>binary</type>
+      <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>
+      <type>URL</type>
+      <definition>The URL of a analysed datasetFile.</definition>
+    </property>
+
+    <property>
+      <name>ResultFile</name>
+      <type>binary</type>
+      <definition>
+        The results of this analysis 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 the results
+        file.
+      </definition>
+    </property>
+
+    <property>
+      <name>ResultFileURL</name>
+      <type>URL</type>
+      <definition>The URL of a results file.</definition>
+    </property>
+
+    <property>
+      <name>ResultFigure</name>
+      <type>binary</type>
+      <definition>
+        A figure showing the results. This property is meant to store 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>
+      <type>text</type>
+      <definition>If the results of this analysis have been published one can store the doi of the paper.</definition>
+    </property>
+
+    <property>
+      <name>PaperURL</name>
+      <type>URL</type>
+      <definition>If the results of this analysis have been published the URL of the document can be given here
+      </definition>
+    </property>
+
+  </section>
+</odML>

+ 199 - 0
v1.1/analysis/odmlTerms.xsl

@@ -0,0 +1,199 @@
+<?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/>
+          <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/>
+        </p>
+
+        <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+
+        <!--  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>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="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>

+ 136 - 0
v1.1/analysis/power_spectrum.xml

@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1.1">
+  <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                     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>
+      <type>person</type>
+      <definition>The name of the person who did the analysis, e.g. 'John Doe' or 'Doe, John'</definition>
+    </property>
+
+    <property>
+      <name>Date</name>
+      <type>date</type>
+      <definition>The date of analysis.</definition>
+    </property>
+
+    <property>
+      <name>Description</name>
+      <type>text</type>
+      <definition>A general description of the analysis.</definition>
+    </property>
+
+    <property>
+      <name>SegmentLength</name>
+      <type>int</type>
+      <definition>The length of the analysed data stretches. Given in samples.</definition>
+    </property>
+
+    <property>
+      <name>WindowFunction</name>
+      <type>string</type>
+      <definition>The type of window used. E.g. Hamming, Hanning, etc.</definition>
+    </property>
+
+    <property>
+      <name>Overlap</name>
+      <unit>%</unit>
+      <type>float</type>
+      <definition>The overlap between consecutive data segments. Given in percent of the SegmentLength.</definition>
+    </property>
+
+    <property>
+      <name>Method</name>
+      <type>string</type>
+      <definition>The name of a method used in this analysis. E.g. "power spectrum".</definition>
+    </property>
+
+    <property>
+      <name>CommandlineCall</name>
+      <type>string</type>
+      <definition>The command used to execute the analysis including the command line parameter.</definition>
+    </property>
+
+    <property>
+      <name>Comment</name>
+      <type>text</type>
+      <definition>Specific comments on this analysis.</definition>
+    </property>
+
+    <property>
+      <name>Code</name>
+      <type>binary</type>
+      <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>CodeRevision</name>
+      <type>string</type>
+      <definition>If the analysis code is under version control the revision number can be specified using this
+        property.
+      </definition>
+    </property>
+
+    <property>
+      <name>ConfigFile</name>
+      <type>URL</type>
+      <definition>The URL of the used configuration file used to run the analysis.</definition>
+    </property>
+
+    <property>
+      <name>DatasetFile</name>
+      <type>binary</type>
+      <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>ResultFile</name>
+      <type>binary</type>
+      <definition>
+        A file containing the results of this analysis. The results of this analysis 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
+        the results file.
+      </definition>
+    </property>
+
+    <property>
+      <name>ResultFigure</name>
+      <type>binary</type>
+      <definition>
+        This property is meant to store 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>
+      <type>text</type>
+      <definition>If the results of this analysis have been published one can store the doi of the paper.</definition>
+    </property>
+
+    <property>
+      <name>PaperURL</name>
+      <type>URL</type>
+      <definition>If the results of this analysis have been published the URL of the document can be given here
+      </definition>
+    </property>
+
+  </section>
+</odML>

+ 153 - 0
v1.1/analysis/psth.xml

@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"?>
+<odML version="1.1">
+  <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+  <version>1.0</version>
+  <date>2011-01-21</date>
+  <!-- ********************************************************* -->
+  <!--                     PSTH section                          -->
+  <!-- ********************************************************* -->
+  <section>
+    <type>analysis/psth</type>
+    <name>PSTH</name>
+    <definition>An Analysis-type section to describe an PSTH.</definition>
+
+    <property>
+      <name>Author</name>
+      <type>person</type>
+      <definition>The name of the person who did the analysis, e.g. 'John Doe' or 'Doe, John'</definition>
+    </property>
+
+    <property>
+      <name>Date</name>
+      <type>date</type>
+      <definition>The date of analysis.</definition>
+    </property>
+
+    <property>
+      <name>Description</name>
+      <type>text</type>
+      <definition>A general description of the analysis.</definition>
+    </property>
+
+    <property>
+      <name>Method</name>
+      <type>string</type>
+      <value>[instantaneous spike rate, sliding window, discrete window]</value>
+      <definition>The method used for creating the PSTH. instantaneous spike rate; Estimation of the firing rate by
+        using the inverse of the interspike interval.; sliding window: The window function was slid over the data at
+        recording resolution.; discrete window: Spikes were averaged within the window, window discretely displaced by
+        the window width.
+      </definition>
+    </property>
+
+    <property>
+      <name>WindowType</name>
+      <type>string</type>
+      <value>[rectangular, gaussian, alpha]</value>
+      <definition>The kind of windowing function used to cerate the PSTH.</definition>
+    </property>
+
+    <property>
+      <name>CommandlineCall</name>
+      <type>string</type>
+      <definition>The command used to execute the analysis including the command line parameter.</definition>
+    </property>
+
+    <property>
+      <name>Comment</name>
+      <type>text</type>
+      <definition>Specific comments on this analysis.</definition>
+    </property>
+
+    <property>
+      <name>CodeFile</name>
+      <type>binary</type>
+      <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>
+      <type>URL</type>
+      <definition>The URL of the applied piece of program code to actually do the analysis.</definition>
+    </property>
+
+    <property>
+      <name>CodeRevision</name>
+      <type>string</type>
+      <definition>If the analysis code is under version control the revision number can be specified using this
+        property.
+      </definition>
+    </property>
+
+    <property>
+      <name>ConfigFile</name>
+      <type>binary</type>
+      <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>
+      <type>URL</type>
+      <definition>The URL of the used configuration file used to run the analysis.</definition>
+    </property>
+
+    <property>
+      <name>DatasetFile</name>
+      <type>binary</type>
+      <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>
+      <type>URL</type>
+      <definition>The URL of a analysed datasetFile.</definition>
+    </property>
+
+    <property>
+      <name>ResultFile</name>
+      <type>binary</type>
+      <definition>The results of this analysis 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 the results
+        file.
+      </definition>
+    </property>
+
+    <property>
+      <name>ResultFileURL</name>
+      <type>URL</type>
+      <definition>The URL of a results file.</definition>
+    </property>
+
+    <property>
+      <name>ResultFigure</name>
+      <definition>A figure showing the results. This property is meant to store 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>
+      <type>binary</type>
+    </property>
+
+    <property>
+      <name>PaperDOI</name>
+      <type>text</type>
+      <definition>If the results of this analysis have been published one can store the doi of the paper.</definition>
+    </property>
+
+    <property>
+      <name>PaperURL</name>
+      <type>URL</type>
+      <definition>If the results of this analysis have been published the URL of the document can be given here
+      </definition>
+    </property>
+
+  </section>
+</odML>

+ 910 - 0
v1.1/blackrock/blackrock.xml

@@ -0,0 +1,910 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl" xmlns:odml="http://www.g-node.org/odml"?>
+<odML version="1.1">
+  <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+  <version>1.0</version>
+  <author>Lyuba Zehl</author>
+  <date>2014-04-01</date>
+
+  <section>
+    <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+    <definition>Information on the Cerebus^TM data acquisition system</definition>
+    <property>
+      <name>Owner</name>
+      <type>string</type>
+      <value>-</value>
+      <definition>Owner of the device</definition>
+    </property>
+    <property>
+      <name>Manufacturer</name>
+      <type>string</type>
+      <value>Blackrock Micorsystems</value>
+      <definition>Manufacturer of the device</definition>
+    </property>
+    <property>
+      <name>Location</name>
+      <type>string</type>
+      <value>-</value>
+      <definition>Location of the device</definition>
+    </property>
+    <property>
+      <name>UserManual</name>
+      <type>url</type>
+      <value>-</value>
+      <definition>User manual URL of the device</definition>
+    </property>
+    <name>Cerebus</name>
+
+    <section>
+      <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+      <definition>Information of the Cerebus^TM neural signal processor (NSP)</definition>
+      <property>
+        <name>Type</name>
+        <type>string</type>
+        <value>Real-time</value>
+        <definition>Type of the device</definition>
+      </property>
+      <property>
+        <name>Model</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>Model of the device</definition>
+      </property>
+      <name>NeuralSignalProcessor</name>
+
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on analog inputs and outputs of the device</definition>
+        <property>
+          <name>PortType</name>
+          <type>string</type>
+          <value>BNC</value>
+          <definition>Connector port type</definition>
+        </property>
+        <property>
+          <name>InChannelCount</name>
+          <type>int</type>
+          <value>16</value>
+          <definition>Total number of input channels</definition>
+        </property>
+        <property>
+          <name>InUsedChannelCount</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Number of input channels used</definition>
+        </property>
+        <property>
+          <name>InACChannel</name>
+          <type>int</type>
+          <value>[1, 2, 3, 4, 5, 6, 7, 8]</value>
+          <definition>IDs of AC coupled input channels</definition>
+        </property>
+        <property>
+          <name>InDCChannel</name>
+          <type>int</type>
+          <value>[9, 10, 11, 12, 13, 14, 15, 16]</value>
+          <definition>IDs of DC coupled input channels</definition>
+        </property>
+        <property>
+          <name>InFrom</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>Devices from which inputs are received</definition>
+        </property>
+        <property>
+          <name>InSavedIn</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>File in which input data are saved</definition>
+        </property>
+        <property>
+          <name>OutChannelCount</name>
+          <type>int</type>
+          <value>4</value>
+          <definition>Total number of output channels</definition>
+        </property>
+        <property>
+          <name>OutUsedChannelCount</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Number of output channels used</definition>
+        </property>
+        <property>
+          <name>OutTo</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>Target device of each output</definition>
+        </property>
+        <property>
+          <name>OutSavedIn</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>File in which output data are saved</definition>
+        </property>
+        <name>AnalogIO</name>
+
+        <section>
+          <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+          <definition>Information on the analog-to-digital converter</definition>
+          <property>
+            <name>AIRange</name>
+            <unit>V</unit>
+            <type>float</type>
+            <value>[-5.0, 5.0]</value>
+            <definition>Voltage range of analog input</definition>
+          </property>
+          <property>
+            <name>MaxAIImpedance</name>
+            <unit>???</unit>
+            <type>float</type>
+            <value>100.0</value>
+            <definition>Maximum impedance of analog input</definition>
+          </property>
+          <property>
+            <name>Resolution</name>
+            <unit>mV/bit</unit>
+            <type>float</type>
+            <value>0.15</value>
+            <definition>Resolution of AD converter</definition>
+          </property>
+          <property>
+            <name>DataBits</name>
+            <unit>bit</unit>
+            <type>int</type>
+            <value>16</value>
+            <definition>Width of digital data in bits</definition>
+          </property>
+          <property>
+            <name>SamplingRate</name>
+            <unit>samples/sec</unit>
+            <type>int</type>
+            <value>-1</value>
+            <definition>Sampling rate of data</definition>
+          </property>
+          <name>ADConverter</name>
+          <type>setup/daq</type>
+        </section>
+        <type>setup/daq</type>
+      </section>
+
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on neural signal inputs and outputs of the device</definition>
+        <property>
+          <name>PortType</name>
+          <type>string</type>
+          <value>Fiber-optic link</value>
+          <definition>Digital port type</definition>
+        </property>
+        <property>
+          <name>InChannelCount</name>
+          <type>int</type>
+          <value>128</value>
+          <definition>Total number of input channels</definition>
+        </property>
+        <property>
+          <name>InUsedChannelCount</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Number of input channels used</definition>
+        </property>
+        <property>
+          <name>InFrom</name>
+          <type>string</type>
+          <value>NeuralSignalAmplifier</value>
+          <definition>Devices from which inputs are received</definition>
+        </property>
+        <property>
+          <name>InSavedIn</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>File in which input data are saved</definition>
+        </property>
+        <name>NeuralSignalIO</name>
+        <type>setup/daq</type>
+      </section>
+
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on digital inputs and outputs of the device</definition>
+        <property>
+          <name>DIOPorts</name>
+          <type>string</type>
+          <value>[ExpI, ExpO, SerialI, SerialO, ExtSync, NSPSync]</value>
+          <definition>Possible digital input and output (DIO) ports</definition>
+        </property>
+        <property>
+          <name>DIOUsedPorts</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>Used digital input and output (DIO) ports</definition>
+        </property>
+        <name>DigitalIO</name>
+        <type>setup/daq</type>
+      </section>
+
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on inputs and outputs of the spike detection</definition>
+        <property>
+          <name>ThresholdType</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>Used method to define a data threshold for the spike detection</definition>
+        </property>
+        <property>
+          <name>SavedIn</name>
+          <type>string</type>
+          <value>nev</value>
+          <definition>File in which input data are saved</definition>
+        </property>
+        <name>SpikeIO</name>
+
+        <section>
+          <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+          <definition>Information on the filter settings</definition>
+          <property>
+            <name>Type</name>
+            <type>string</type>
+            <value>butterworth</value>
+            <definition>Used filter type</definition>
+          </property>
+          <property>
+            <name>Causal</name>
+            <type>boolean</type>
+            <value>True</value>
+            <definition>States if the used filter is causal</definition>
+          </property>
+          <property>
+            <name>HighPassFreq</name>
+            <unit>Hz</unit>
+            <type>float</type>
+            <value>-1.0</value>
+            <definition>High pass frequency used</definition>
+          </property>
+          <property>
+            <name>LowPassFreq</name>
+            <unit>Hz</unit>
+            <type>float</type>
+            <value>-1.0</value>
+            <definition>Low pass frequency used</definition>
+          </property>
+          <property>
+            <name>HighPassOrder</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>High pass order used</definition>
+          </property>
+          <property>
+            <name>LowPassOrder</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>Low pass order used</definition>
+          </property>
+          <name>Filter</name>
+          <type>setup/daq</type>
+        </section>
+
+        <section>
+          <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+          <definition>Information on the recorded spike waveforms of the spike detection</definition>
+          <property>
+            <name>Width</name>
+            <unit>ms</unit>
+            <type>float</type>
+            <value>1.6</value>
+            <definition>Waveform window width</definition>
+          </property>
+          <property>
+            <name>SamplingRate</name>
+            <unit>samples/sec</unit>
+            <type>int</type>
+            <value>30000</value>
+            <definition>Sampling rate of data</definition>
+          </property>
+          <property>
+            <name>PreThresholdSamples</name>
+            <unit>samples</unit>
+            <type>int</type>
+            <value>10</value>
+            <definition>Number of samples before waveform passes threshold</definition>
+          </property>
+          <name>Waveforms</name>
+          <type>setup/daq</type>
+        </section>
+
+        <section>
+          <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+          <definition>Information on the recorded spike events of the spike detection</definition>
+          <property>
+            <name>SamplingRate</name>
+            <unit>samples/sec</unit>
+            <type>int</type>
+            <value>30000</value>
+            <definition>Sampling rate of data</definition>
+          </property>
+          <property>
+            <name>PreSortedUnitIDRange</name>
+            <type>int</type>
+            <value>[1, 16]</value>
+            <definition>Possible unit ID range of online sorted spike events on each channel</definition>
+          </property>
+          <property>
+            <name>UnclassifiedUnitID</name>
+            <type>int</type>
+            <value>0</value>
+            <definition>Unit ID of unclassified spike events on each channel</definition>
+          </property>
+          <name>Events</name>
+          <type>setup/daq</type>
+        </section>
+
+        <section>
+          <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+          <definition>Information on rejected recorded spike events of the spike detection</definition>
+          <property>
+            <name>AmplitudeLimits</name>
+            <unit>mV</unit>
+            <type>float</type>
+            <value>-1.0</value>
+            <definition>Amplitude limits of spike waveforms used to reject spike events</definition>
+          </property>
+          <property>
+            <name>SyncChannelLimit</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>Minimum number of channels with a synchronously detected spike events used to reject these spike
+              events
+            </definition>
+          </property>
+          <property>
+            <name>SyncChannelRefPeriod</name>
+            <unit>samples</unit>
+            <type>float</type>
+            <value>-1.0</value>
+            <definition>Number of samples for which spike detection is turned off after a rejected synchronous spike
+              event
+            </definition>
+          </property>
+          <property>
+            <name>UnitID</name>
+            <type>int</type>
+            <value>255</value>
+            <definition>Unit ID reserved for rejected spike events on each channel</definition>
+          </property>
+          <name>Rejections</name>
+          <type>setup/daq</type>
+        </section>
+        <type>setup/daq</type>
+      </section>
+      <type>setup/daq/hardware</type>
+    </section>
+
+    <section>
+      <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+      <definition>Information on the Cerebus^TM neural signal amplifier (NSA)</definition>
+      <property>
+        <name>Type</name>
+        <type>string</type>
+        <value>Front-End Amplifier</value>
+        <definition>Type of amplifier</definition>
+      </property>
+      <property>
+        <name>Model</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>Model of amplifier</definition>
+      </property>
+      <property>
+        <name>AIChannelCount</name>
+        <type>int</type>
+        <value>128</value>
+        <definition>Total number of analog input channels</definition>
+      </property>
+      <property>
+        <name>AIUsedChannelCount</name>
+        <type>int</type>
+        <value>-1</value>
+        <definition>Number of analog input channels used</definition>
+      </property>
+      <name>NeuralSignalAmplifier</name>
+
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on the analog-to-digital converter</definition>
+        <property>
+          <name>AIRange</name>
+          <unit>mV</unit>
+          <type>float</type>
+          <value>[-8.192, 8.192]</value>
+          <definition>Voltage range of analog input</definition>
+        </property>
+        <property>
+          <name>MaxAIImpedance</name>
+          <unit>G???</unit>
+          <type>float</type>
+          <value>-1.0</value>
+          <definition>Maximum impedance of analog input</definition>
+        </property>
+        <property>
+          <name>Resolution</name>
+          <unit>??V/bit</unit>
+          <type>float</type>
+          <value>0.25</value>
+          <definition>Resolution of AD converter</definition>
+        </property>
+        <property>
+          <name>DataBits</name>
+          <unit>bit</unit>
+          <type>int</type>
+          <value>16</value>
+          <definition>Width of digital data in bits</definition>
+        </property>
+        <property>
+          <name>SamplingRate</name>
+          <unit>samples/sec</unit>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Sampling rate of data</definition>
+        </property>
+        <name>ADConverter-2</name>
+        <type>setup/daq</type>
+      </section>
+
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on the filter settings</definition>
+        <property>
+          <name>Type</name>
+          <type>string</type>
+          <value>butterworth</value>
+          <definition>Filter type used</definition>
+        </property>
+        <property>
+          <name>Causal</name>
+          <type>boolean</type>
+          <value>True</value>
+          <definition>States if the used filter is causal</definition>
+        </property>
+        <property>
+          <name>HighPassFreq</name>
+          <unit>Hz</unit>
+          <type>float</type>
+          <value>0.3</value>
+          <definition>High pass frequency used</definition>
+        </property>
+        <property>
+          <name>LowPassFreq</name>
+          <unit>kHz</unit>
+          <type>float</type>
+          <value>7.5</value>
+          <definition>Low pass frequency used</definition>
+        </property>
+        <property>
+          <name>HighPassOrder</name>
+          <type>int</type>
+          <value>1</value>
+          <definition>High pass order used</definition>
+        </property>
+        <property>
+          <name>LowPassOrder</name>
+          <type>int</type>
+          <value>3</value>
+          <definition>Low pass order used</definition>
+        </property>
+        <name>Filter-2</name>
+        <type>setup/daq</type>
+      </section>
+
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on the amplifier</definition>
+        <property>
+          <name>Gain</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Gain used</definition>
+        </property>
+        <name>Amplifier</name>
+        <type>setup/daq</type>
+      </section>
+      <type>setup/daq/hardware</type>
+    </section>
+    <section>
+      <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+      <name>NeuralSignalStimulator</name>
+      <type>setup/daq/hardware</type>
+      <definition>Information on the Cerebus^TM neural signal stimulator (NSS)</definition>
+    </section>
+
+    <section>
+      <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+      <definition>Information on the Cerebus^TM control computer</definition>
+      <property>
+        <name>CPU</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>CPU model</definition>
+      </property>
+      <property>
+        <name>RAM</name>
+        <unit>GB</unit>
+        <type>float</type>
+        <value>-1.0</value>
+        <definition>Amount of RAM</definition>
+      </property>
+      <property>
+        <name>Mainboard</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>Mainboard type</definition>
+      </property>
+      <property>
+        <name>HarddiskCapacity</name>
+        <unit>GB</unit>
+        <type>float</type>
+        <value>-1.0</value>
+        <definition>Disk capacity of data storage</definition>
+      </property>
+      <property>
+        <name>OSType</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>Type of operating system</definition>
+      </property>
+      <property>
+        <name>OSVersion</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>Version of operating system</definition>
+      </property>
+      <name>ControlComputer</name>
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <name>ControlSoftware</name>
+        <type>setup/daq</type>
+        <definition>Information on the control software of the Cerebus^TM system</definition>
+      </section>
+      <type>setup/daq/software</type>
+    </section>
+    <type>setup/daq</type>
+  </section>
+
+  <section>
+    <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+    <definition>Information on the Blackrock Utah Electrode Array</definition>
+    <property>
+      <name>Owner</name>
+      <type>string</type>
+      <value>-</value>
+      <definition>Owner of the device</definition>
+    </property>
+    <property>
+      <name>SerialNo</name>
+      <type>string</type>
+      <value>-</value>
+      <definition>Serial number of the device</definition>
+    </property>
+    <property>
+      <name>Manufacturer</name>
+      <value>Blackrock Microsystems</value>
+      <definition>Manufacturer of the device</definition>
+      <type>string</type>
+    </property>
+    <property>
+      <name>WiresMaterial</name>
+      <type>string</type>
+      <value>Pt/Au</value>
+      <definition>Material of wires connecting array and connector</definition>
+    </property>
+    <property>
+      <name>WiresDiameter</name>
+      <unit>??m</unit>
+      <type>float</type>
+      <value>25.0</value>
+      <definition>Diameter of each wire</definition>
+    </property>
+    <property>
+      <name>WiresLength</name>
+      <unit>mm</unit>
+      <type>float</type>
+      <value>-1.0</value>
+      <definition>Length of each wire</definition>
+    </property>
+    <name>UtahArray</name>
+
+    <section>
+      <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+      <definition>Information on the used connector</definition>
+      <property>
+        <name>Style</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>Style of the connector</definition>
+      </property>
+      <property>
+        <name>Height</name>
+        <unit>mm</unit>
+        <type>float</type>
+        <value>-1.0</value>
+        <definition>Height of the connector</definition>
+      </property>
+      <property>
+        <name>DiameterBase</name>
+        <unit>mm</unit>
+        <type>float</type>
+        <value>-1.0</value>
+        <definition>Diameter of the base of the connector</definition>
+      </property>
+      <property>
+        <name>DiameterBody</name>
+        <unit>mm</unit>
+        <type>float</type>
+        <value>-1.0</value>
+        <definition>Diameter of the body of the connector</definition>
+      </property>
+      <property>
+        <name>Width</name>
+        <unit>mm</unit>
+        <type>float</type>
+        <value>-1.0</value>
+        <definition>Width of the connector</definition>
+      </property>
+      <property>
+        <name>Length</name>
+        <unit>mm</unit>
+        <type>float</type>
+        <value>-1.0</value>
+        <definition>Length of the connector</definition>
+      </property>
+      <property>
+        <name>ImplantType</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>Type of implantation</definition>
+      </property>
+      <property>
+        <name>SkullMount</name>
+        <type>string</type>
+        <value>-</value>
+        <definition>Type of mounting to the skull</definition>
+      </property>
+      <name>Connector</name>
+      <type>setup/daq/hardware</type>
+    </section>
+
+    <section>
+      <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+      <definition>Information on the array used</definition>
+      <property>
+        <name>GridNo</name>
+        <type>int</type>
+        <value>0</value>
+        <definition>Number of array grids</definition>
+      </property>
+      <property>
+        <name>NoReferences</name>
+        <type>int</type>
+        <value>2</value>
+        <definition>Number of reference wires</definition>
+      </property>
+      <property>
+        <name>NoGrounds</name>
+        <type>int</type>
+        <value>1</value>
+        <definition>Number of ground wires</definition>
+      </property>
+      <name>Array</name>
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on array grid</definition>
+        <property>
+          <name>ID</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Grid ID</definition>
+        </property>
+        <property>
+          <name>ElectrodeGeometry</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>Geometry of the electrode lengths</definition>
+        </property>
+        <property>
+          <name>ElectrodeMetal</name>
+          <type>string</type>
+          <value>-</value>
+          <definition>Electrode site metal option</definition>
+        </property>
+        <property>
+          <name>ElectrodePitch</name>
+          <unit>??m</unit>
+          <type>float</type>
+          <value>-1.0</value>
+          <definition>Inter-electrode-distance</definition>
+        </property>
+        <property>
+          <name>Insulation</name>
+          <type>string</type>
+          <value>Parylene-C</value>
+          <definition>Insulation material</definition>
+        </property>
+        <property>
+          <name>GridRows</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Number of electrode rows.</definition>
+        </property>
+        <property>
+          <name>GridColumns</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Number of electrode columns</definition>
+        </property>
+        <property>
+          <name>GridWidth</name>
+          <unit>mm</unit>
+          <type>float</type>
+          <value>-1.0</value>
+          <definition>Width of array grid</definition>
+        </property>
+        <property>
+          <name>GridLength</name>
+          <unit>mm</unit>
+          <type>float</type>
+          <value>-1.0</value>
+          <definition>Length of array grid</definition>
+        </property>
+        <property>
+          <name>ElectrodeCount</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Total number of electrodes</definition>
+        </property>
+        <property>
+          <name>ActiveElectrodeCount</name>
+          <type>int</type>
+          <value>0</value>
+          <definition>Number of connected/active electrodes</definition>
+        </property>
+        <name>Grid_XX</name>
+        <type>setup/daq/hardware</type>
+      </section>
+
+      <section>
+        <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+        <definition>Information on array electrodes</definition>
+        <property>
+          <name>ElectrodeCount</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Total number of electrodes</definition>
+        </property>
+        <property>
+          <name>ActiveElectrodeCount</name>
+          <type>int</type>
+          <value>-1</value>
+          <definition>Number of connected/active electrodes</definition>
+        </property>
+        <name>Electrodes</name>
+
+        <section>
+          <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+          <definition>Information on electrode</definition>
+          <property>
+            <name>ID</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>Electrode ID</definition>
+          </property>
+          <property>
+            <name>GridID</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>Grid ID</definition>
+          </property>
+          <property>
+            <name>BankID</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>Bank ID</definition>
+          </property>
+          <property>
+            <name>PinID</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>Pin ID</definition>
+          </property>
+          <property>
+            <name>IDca</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>Connector aligned ID</definition>
+          </property>
+          <property>
+            <name>Impedance</name>
+            <unit>k???</unit>
+            <type>float</type>
+            <value>-1.0</value>
+            <definition>Pre-implantation impedance</definition>
+          </property>
+          <property>
+            <name>AutoImpedance</name>
+            <unit>k???</unit>
+            <type>float</type>
+            <value>-1.0</value>
+            <definition>Auto impedance during implantation</definition>
+          </property>
+          <property>
+            <name>Length</name>
+            <unit>mm</unit>
+            <type>float</type>
+            <value>-1.0</value>
+            <definition>Length</definition>
+          </property>
+          <property>
+            <name>SUAIDs</name>
+            <type>int</type>
+            <value>-1</value>
+            <definition>IDs of single units</definition>
+          </property>
+          <property>
+            <name>MUAIDs</name>
+            <type>int</type>
+            <value>0</value>
+            <definition>IDs of multi units</definition>
+          </property>
+          <property>
+            <name>NoiseIDs</name>
+            <type>int</type>
+            <value>255</value>
+            <definition>IDs for rejected units</definition>
+          </property>
+          <property>
+            <name>SpikeThreshold</name>
+            <unit>mV</unit>
+            <type>float</type>
+            <value>-1.0</value>
+            <definition>Threshold used for spike detection</definition>
+          </property>
+          <name>Electrode_XXX</name>
+          <type>setup/daq/hardware</type>
+        </section>
+        <type>setup/daq/hardware</type>
+      </section>
+      <type>setup/daq/hardware</type>
+    </section>
+    <type>setup/daq/hardware</type>
+  </section>
+
+  <section>
+    <repository>http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml</repository>
+    <definition>Information on the headstage used</definition>
+    <property>
+      <name>Model</name>
+      <type>string</type>
+      <value>-</value>
+      <definition>Model of device</definition>
+    </property>
+    <property>
+      <name>Gain</name>
+      <type>int</type>
+      <value>-1</value>
+      <definition>Gain used</definition>
+    </property>
+    <property>
+      <name>InFrom</name>
+      <type>string</type>
+      <value>UtahArray</value>
+      <definition>Devices from which inputs are received</definition>
+    </property>
+    <property>
+      <name>OutTo</name>
+      <type>string</type>
+      <value>NeuralSignalAmplifier</value>
+      <definition>Target device of each output</definition>
+    </property>
+    <name>Headstage</name>
+    <type>setup/daq/hardware</type>
+  </section>
+</odML>

+ 199 - 0
v1.1/blackrock/odmlTerms.xsl

@@ -0,0 +1,199 @@
+<?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/>
+          <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/>
+        </p>
+
+        <b>Mapping: </b>   <xsl:if test="mapping"><xsl:value-of select="mapping"/></xsl:if><br/>
+
+        <!--  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>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="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>

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


Some files were not shown because too many files changed in this diff