objdictgen/config/objdict.xsl
author groke6
Tue, 08 Jan 2008 10:47:10 +0100
changeset 349 1e6dd4ef46b9
parent 0 4472ee7c6c3e
permissions -rw-r--r--
fixed the DCF-LSS conflict
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
<?xml version="1.0" encoding='ISO-8859-1' ?>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     2
<!--
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
This file is part of CanFestival, a library implementing CanOpen Stack. 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     4
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
Copyright (C): Francis DUPIN
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     6
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     7
See COPYING file for copyrights details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     8
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     9
This library is free software; you can redistribute it and/or
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    10
modify it under the terms of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    11
License as published by the Free Software Foundation; either
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    12
version 2.1 of the License, or (at your option) any later version.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    13
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    14
This library is distributed in the hope that it will be useful,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    15
but WITHOUT ANY WARRANTY; without even the implied warranty of
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    17
Lesser General Public License for more details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    18
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    19
You should have received a copy of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    20
License along with this library; if not, write to the Free Software
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    21
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    22
-->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    23
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    24
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    25
  <xsl:output method="html" indent="yes"
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    26
              doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    27
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    28
  <xsl:template match="node">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    29
    <html>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    30
      <head><title>CANOpen object dictionary Configuration</title>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    31
      <style type="text/css">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    32
         table {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    33
	  border: 1px solid #200088;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    34
          
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    35
        }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    36
	  td {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    37
	  border: 1px solid #200088;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    38
        }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    39
	
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    40
         h1 {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    41
	   background: #FFDD66;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    42
	   border: 3px solid #AA0000;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    43
           margin: 2em;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    44
           padding: 1em;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    45
	 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    46
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    47
         h2, h2.dico, h2.pdo {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    48
	   background: #5577FF;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    49
	   border: 1px solid #AA0000;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    50
           margin: 1em;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    51
	 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    52
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    53
	  .entree {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    54
	  color: #AA0000;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    55
	  }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    56
         
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    57
	  .title {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    58
	  text-decoration: underline;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    59
	  background: #BBCCEE;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    60
          }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    61
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    62
	  .default {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    63
	  font-size: smaller;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    64
	  }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    65
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    66
	</style>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    67
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    68
      </head>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    69
      <body  bgcolor="#ffffff" text="#000000">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    70
	
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    71
	<h1>Object dictionary for <em class="entree"><xsl:apply-templates select="@type_node"/></em> Node : <em class="entree"> <xsl:apply-templates select="@name" /> </em> </h1>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    72
	<h2>Node identity </h2>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    73
	<ul>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    74
	  <li>Device type (index 0x1000) :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    75
	    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    76
	      <xsl:when test="@device_type_1000"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    77
		<em class="entree">  <xsl:apply-templates select="@device_type_1000"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    78
	      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    79
	      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    80
		<em class="default">Undefined</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    81
	      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    82
	    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    83
	  </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    84
	  <li>Manufacturer device name (index 0x1008) :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    85
	    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    86
	      <xsl:when test="@manufacturer_device_name_1008"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    87
		<em class="entree">  <xsl:apply-templates select="@manufacturer_device_name_1008"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    88
	      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    89
	      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    90
		<em class="default">Undefined</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    91
	      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    92
	    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    93
	  </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    94
	  <li>Manufacturer hardware version (index 0x1009) :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    95
	    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    96
	      <xsl:when test="@manufacturer_hardware_version_1009"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    97
		<em class="entree">  <xsl:apply-templates select="@manufacturer_hardware_version_1009"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    98
	      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    99
	      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   100
		<em class="default">Undefined. Default is the compilation date of objdict.c</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   101
	      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   102
	    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   103
	  </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   104
	  <li> Manufacturer software version (index 0x100A) :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   105
	    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   106
	      <xsl:when test="@manufacturer_software_version_100A"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   107
		<em class="entree">  <xsl:apply-templates select="@manufacturer_software_version_100A"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   108
	      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   109
	      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   110
		<em class="default">Undefined. Default is the compilation time of objdict.c</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   111
	      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   112
	    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   113
	  </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   114
	  <li>Vendor id (index 0x1018, subindex 1) :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   115
	    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   116
	      <xsl:when test="@vendor_id_1018"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   117
		<em class="entree">  <xsl:apply-templates select="@vendor_id_1018"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   118
	      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   119
	      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   120
		<em class="default">Undefined</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   121
	      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   122
	    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   123
	  </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   124
	  <li>Product code (index 0x1018, subindex 2) :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   125
	    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   126
	      <xsl:when test="@product_code_1018"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   127
		<em class="entree">  <xsl:apply-templates select="@product_code_1018"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   128
	      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   129
	      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   130
		<em class="default">Undefined</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   131
	      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   132
	    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   133
	  </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   134
	  <li>Revision number (index 0x1018, subindex 3) :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   135
	    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   136
	      <xsl:when test="@revision_number_1018"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   137
		<em class="entree">  <xsl:apply-templates select="@revision_number_1018"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   138
	      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   139
	      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   140
		<em class="default">Undefined</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   141
	      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   142
	    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   143
	  </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   144
	  <li>Serial number (index 0x1018, subindex 4) :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   145
	    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   146
	      <xsl:when test="@serial_number_1018"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   147
		<em class="entree">  <xsl:apply-templates select="@serial_number_1018"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   148
	      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   149
	      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   150
		<em class="default">Undefined</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   151
	      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   152
	    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   153
	  </li>	  	  
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   154
	</ul>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   155
	<xsl:apply-templates select="heartbeat_consumers"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   156
	<xsl:apply-templates select="sdo_clients"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   157
	<xsl:apply-templates select="pdo"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   158
	<h2>Mapped variables and tables</h2>	
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   159
	<p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   160
	  The access of the variable is by default "rw". A read-only variable cannot be mapped in a PDO receive.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   161
	</p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   162
	<p>Here are some others rules for the mapping : </p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   163
	<ul>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   164
	  <li>At an Index, you can map a variable at subindex 0x0 or 0x1, as you like.</li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   165
	  <li>To map several variables at the same Index, you must start at subindex 0x1,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   166
	  because in this case, the subindex 0x0 contains the number of subindex.</li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   167
	  <li>You cannot map variables and tables at the same index.</li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   168
	  <li>The mapping of a table is always starting at subindex 0x1.</li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   169
	</ul>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   170
        <table class="mapping">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   171
          <tr class="title">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   172
             <td>Var Name</td><td>Bits</td><td>Index</td><td>Sub-index</td><td>access</td><td>Type (UNS/REAL)</td><td>Min value</td><td>Max value</td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   173
          </tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   174
	<xsl:apply-templates select="mapped_variable"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   175
	<tr class="title">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   176
	  <td>Table Name</td><td>Bits</td><td>Index</td><td>Sub-index</td><td>access</td><td>Type (UNS/REAL)</td><td>Min value</td><td>Max value</td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   177
	</tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   178
	<xsl:apply-templates select="mapped_table"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   179
	<tr class="title">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   180
	  <td>String Name</td><td>Bytes</td><td>Index</td><td>Sub-index</td><td>access</td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   181
	</tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   182
	<xsl:apply-templates select="mapped_string_variable"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   183
	</table>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   184
      </body>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   185
    </html>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   186
  </xsl:template>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   187
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   188
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   189
  <xsl:template match="heartbeat_consumers">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   190
    <h2>Number of heartbeat consumers : 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   191
    <em class="entree"><xsl:apply-templates select="@nombre" /></em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   192
    </h2>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   193
    <p>This means that the node can expect heartbeats sent by <xsl:apply-templates select="@nombre" /> nodes. Canfestival limitation : You must at least have one.</p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   194
  </xsl:template>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   195
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   196
  <xsl:template match="sdo_clients">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   197
    <h2>Number of SDO clients : 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   198
    <em class="entree"><xsl:apply-templates select="@nombre" /></em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   199
    </h2>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   200
    <p>Usualy, a slave node does not have the use of SDO clients, but
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   201
    today - it is a Canfestival limitation -  you must define at least one. 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   202
    </p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   203
    <p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   204
      The Master, which can
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   205
    send SDO to "n" slaves nodes, must define here "n" SDO
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   206
    clients. Remember that in most cases, the SDO protocol is used by
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   207
    the master to configure a slave dictionary or read a value. In
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   208
    this use, the master is the client, and the slave is the server.</p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   209
    <h2>Number of SDO servers : 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   210
    <em class="default">1 (cannot be changed)</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   211
    </h2>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   212
    <p>A Canfestival node must have exactly one SDO server, defined at index 0x1200. The user cannot change this.</p> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   213
  </xsl:template>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   214
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   215
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   216
  <xsl:template match="pdo">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   217
    <h2>PDO 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   218
    <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   219
      <xsl:when test="@type_rx_tx='rx'"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   220
	<em class="entree"> receive. </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   221
      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   222
     <xsl:when test="@type_rx_tx='tx'"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   223
	<em class="entree">  transmit. </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   224
      </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   225
      <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   226
	<em class="default">Undefined. Not normal !!!!</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   227
      </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   228
    </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   229
	CobId : 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   230
	<xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   231
	  <xsl:when test="@cob_id"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   232
	    <em class="entree">  <xsl:apply-templates select="@cob_id"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   233
	  </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   234
	  <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   235
	    <em class="default">Undefined (Using default).</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   236
	  </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   237
	</xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   238
	Index communication parameter : 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   239
	<xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   240
	  <xsl:when test="@index_communication_parameter"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   241
	    <em class="entree">  <xsl:apply-templates select="@index_communication_parameter"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   242
	  </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   243
	  <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   244
	    <em class="default">Undefined (Using default).</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   245
	  </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   246
	</xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   247
    </h2>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   248
    <ul>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   249
      <li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   250
	Maximum of objects (ie variables) that can be embeded : 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   251
	<xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   252
	  <xsl:when test="@max_objects_in_pdo"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   253
	    <em class="entree">  <xsl:apply-templates select="@max_objects_in_pdo"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   254
	  </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   255
	  <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   256
	    <em class="default">Undefined (Using default : 8).</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   257
	  </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   258
	</xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   259
      </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   260
      <li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   261
	Transmission type :
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   262
	<xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   263
	  <xsl:when test="@transmission_type"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   264
	    <em class="entree">  <xsl:apply-templates select="@transmission_type"/> </em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   265
	  </xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   266
	  <xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   267
	    <em class="default">Undefined (Using default : 253).</em>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   268
	  </xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   269
	</xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   270
      </li>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   271
    </ul>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   272
    <h3>Default mapped objects :</h3>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   273
    <table class="mapping">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   274
      <tr class="title">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   275
	<td>Var Name</td><td>Bits</td><td>Index</td><td>Sub-index</td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   276
      </tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   277
      <xsl:apply-templates select="mapped_object"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   278
    </table>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   279
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   280
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   281
    <p>About the cobId : The 4th first PDO receive defined at index 0x1400 to 0x1403, or transmit (0x1800 to 0x1803) are changed at runtime according to the DS 301, whatever the value you put here.</p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   282
    <p>If the Index communication parameter is not defined, have a look at objdict.c to know what index have beed created.</p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   283
    <p>It is not required to map some objects in a PDO. It can also be done by the node itself at runtime, or by an other node whith the SDO functionalitie.</p>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   284
  </xsl:template>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   285
  
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   286
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   287
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   288
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   289
  <xsl:template match="mapped_object">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   290
    <tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   291
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   292
	<xsl:when test="@name"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   293
	  <td><em class="entree">  <xsl:apply-templates select="@name"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   294
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   295
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   296
	  <td><em class="default">Undefined</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   297
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   298
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   299
      <td><em class="entree"><xsl:apply-templates select="@size_in_bits" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   300
      <td><em class="entree"><xsl:apply-templates select="@index" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   301
      <td><em class="entree"><xsl:apply-templates select="@sub_index" /></em></td>     
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   302
    </tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   303
  </xsl:template>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   304
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   305
  <xsl:template match="mapped_variable">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   306
    <tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   307
      <td><em><xsl:apply-templates select="@name" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   308
      <td><em class="entree"><xsl:apply-templates select="@size_in_bits" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   309
      <td><em class="entree"><xsl:apply-templates select="@index" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   310
      <td><em class="entree"><xsl:apply-templates select="@sub_index" /></em></td>     
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   311
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   312
	<xsl:when test="@access"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   313
	  <td><em class="entree">  <xsl:apply-templates select="@access"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   314
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   315
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   316
	  <td><em class="default">Undefined. Default is RW</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   317
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   318
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   319
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   320
	<xsl:when test="@type"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   321
	  <td><em class="entree">  <xsl:apply-templates select="@type"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   322
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   323
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   324
	  <td><em class="default">Undefined. Default is UNS</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   325
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   326
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   327
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   328
	<xsl:when test="@min_value"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   329
	  <td><em class="entree">  <xsl:apply-templates select="@min_value"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   330
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   331
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   332
	  <td><em class="default">Undefined</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   333
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   334
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   335
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   336
	<xsl:when test="@max_value"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   337
	  <td><em class="entree">  <xsl:apply-templates select="@max_value"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   338
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   339
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   340
	  <td><em class="default">Undefined</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   341
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   342
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   343
    </tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   344
  </xsl:template>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   345
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   346
  <xsl:template match="mapped_table">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   347
    <tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   348
      <td><em><xsl:apply-templates select="@name" /></em>[<em class="entree"><xsl:apply-templates select="@number_elements" /></em>]</td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   349
      <td><em class="entree"><xsl:apply-templates select="@size_in_bits" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   350
      <td><em class="entree"><xsl:apply-templates select="@index" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   351
      <td>1 to <em class="entree"><xsl:apply-templates select="@number_elements" /></em></td>    
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   352
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   353
	<xsl:when test="@access"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   354
	  <td><em class="entree">  <xsl:apply-templates select="@access"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   355
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   356
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   357
	  <td><em class="default">Undefined. Default is RW</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   358
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   359
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   360
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   361
	<xsl:when test="@type"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   362
	  <td><em class="entree">  <xsl:apply-templates select="@type"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   363
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   364
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   365
	  <td><em class="default">Undefined. Default is UNS</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   366
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   367
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   368
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   369
	<xsl:when test="@min_value"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   370
	  <td><em class="entree">  <xsl:apply-templates select="@min_value"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   371
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   372
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   373
	  <td><em class="default">Undefined</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   374
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   375
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   376
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   377
	<xsl:when test="@max_value"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   378
	  <td><em class="entree">  <xsl:apply-templates select="@max_value"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   379
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   380
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   381
	  <td><em class="default">Undefined</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   382
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   383
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   384
    </tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   385
  </xsl:template>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   386
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   387
  <xsl:template match="mapped_string_variable">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   388
    <tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   389
      <td><em><xsl:apply-templates select="@name" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   390
      <td><em class="entree"><xsl:apply-templates select="@size_in_byte" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   391
      <td><em class="entree"><xsl:apply-templates select="@index" /></em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   392
      <td><em class="entree"><xsl:apply-templates select="@sub_index" /></em></td>     
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   393
      <xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   394
	<xsl:when test="@access"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   395
	  <td><em class="entree">  <xsl:apply-templates select="@access"/> </em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   396
	</xsl:when>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   397
	<xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   398
	  <td><em class="default">Undefined. Default is RW</em></td>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   399
	</xsl:otherwise>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   400
      </xsl:choose>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   401
    </tr>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   402
  </xsl:template>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   403
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   404
</xsl:stylesheet>