Project

General

Profile

« Previous | Next » 

Revision 1681

Added by Jing Tao over 21 years ago

Fixed some bugs.

View differences:

lib/style/eml2/eml-storedprocedure-2.0.0.xsl
93 93
    </xsl:for-each>
94 94
    <!-- call physical moduel without show distribution(we want see it later)-->
95 95
    <xsl:if test="physical">
96
       <tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
96
       <tr><td class="{$storedproceduresubHeaderStyle}" colspan="2">
97 97
        Physical Structure Description
98 98
      </td></tr>
99 99
    </xsl:if>
......
106 106
      </xsl:for-each>
107 107
    </td></tr>
108 108
    <xsl:if test="coverage">
109
       <tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
109
       <tr><td class="{$storedproceduresubHeaderStyle}" colspan="2">
110 110
        Coverage Description
111 111
      </td></tr>
112 112
    </xsl:if>
......
117 117
      </td></tr>
118 118
    </xsl:for-each>
119 119
    <xsl:if test="method">
120
       <tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
120
       <tr><td class="{$storedproceduresubHeaderStyle}" colspan="2">
121 121
        Method Description
122 122
      </td></tr>
123 123
    </xsl:if>
......
125 125
      <tr><td colspan="2">
126 126
        <xsl:call-template name="method">
127 127
          <xsl:with-param name="methodfirstColStyle" select="$storedprocedurefirstColStyle"/>
128
          <xsl:with-param name="methodsubHeaderStyle" select="$datatablesubHeaderStyle"/>
128
          <xsl:with-param name="methodsubHeaderStyle" select="$storedproceduresubHeaderStyle"/>
129 129
        </xsl:call-template>
130 130
      </td></tr>
131 131
    </xsl:for-each>
132 132
    <xsl:if test="constraint">
133
       <tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
133
       <tr><td class="{$storedproceduresubHeaderStyle}" colspan="2">
134 134
        Constraint
135 135
      </td></tr>
136 136
    </xsl:if>
......
142 142
      </td></tr>
143 143
    </xsl:for-each>
144 144
    <xsl:for-each select="parameter">
145
       <tr><td width="{$firstColWidth}" class="{$spatialfirstColStyle}">
145
       <tr><td width="{$firstColWidth}" class="{$storedprocedurefirstColStyle}">
146 146
            Parameter
147 147
            </td>
148 148
            <td width="{$secondColWidth}" class="{$secondColStyle}">
149 149
               <table class="default" width="100%">
150 150
                  <xsl:for-each select="name">
151
                    <tr><td width="{$firstColWidth}" class="{$spatialfirstColStyle}">
151
                    <tr><td width="{$firstColWidth}" class="{$storedprocedurefirstColStyle}">
152 152
                          Name
153 153
                         </td>
154 154
                         <td width="{$secondColWidth}" class="{$secondColStyle}">
......
157 157
                     </tr>
158 158
                  </xsl:for-each>
159 159
                  <xsl:for-each select="domainDescription">
160
                    <tr><td width="{$firstColWidth}" class="{$spatialfirstColStyle}">
160
                    <tr><td width="{$firstColWidth}" class="{$storedprocedurefirstColStyle}">
161 161
                          Domain
162 162
                         </td>
163 163
                         <td width="{$secondColWidth}" class="{$secondColStyle}">
......
166 166
                     </tr>
167 167
                  </xsl:for-each>
168 168
                  <xsl:for-each select="required">
169
                    <tr><td width="{$firstColWidth}" class="{$spatialfirstColStyle}">
169
                    <tr><td width="{$firstColWidth}" class="{$storedprocedurefirstColStyle}">
170 170
                          Required
171 171
                         </td>
172 172
                         <td width="{$secondColWidth}" class="{$secondColStyle}">
......
175 175
                     </tr>
176 176
                  </xsl:for-each>
177 177
                  <xsl:for-each select="repeats">
178
                    <tr><td width="{$firstColWidth}" class="{$spatialfirstColStyle}">
178
                    <tr><td width="{$firstColWidth}" class="{$storedprocedurefirstColStyle}">
179 179
                         Repeatable
180 180
                         </td>
181 181
                         <td width="{$secondColWidth}" class="{$secondColStyle}">
......
202 202
          <xsl:with-param name="entityindex" select="$entityindex"/>
203 203
          <xsl:with-param name="physicalindex" select="position()"/>
204 204
          <xsl:with-param name="disfirstColStyle" select="$storedprocedurefirstColStyle"/>
205
          <xsl:with-param name="dissubHeaderStyle" select="$spatialrasterHeaderStyle"/>
205
          <xsl:with-param name="dissubHeaderStyle" select="$storedproceduresubHeaderStyle"/>
206 206
       </xsl:call-template>
207 207
    </xsl:for-each>
208 208
  </xsl:template>
209 209
 
210 210
  <xsl:template name="storedProcedureShowDistribution">
211 211
     <xsl:param name="storedprocedurefirstColStyle"/>
212
     <xsl:param name="storedprocedureHeaderStyle"/>
212
     <xsl:param name="storedproceduresubHeaderStyle"/>
213 213
     <xsl:param name="docid"/>
214 214
     <xsl:param name="level">entitylevel</xsl:param>
215 215
     <xsl:param name="entitytype">storedProcedure</xsl:param>
......
225 225
          <xsl:with-param name="physicalindex" select="$physicalindex"/>
226 226
          <xsl:with-param name="distributionindex" select="position()"/>
227 227
          <xsl:with-param name="disfirstColStyle" select="$storedprocedurefirstColStyle"/>
228
          <xsl:with-param name="dissubHeaderStyle" select="$spatialrasterHeaderStyle"/>
228
          <xsl:with-param name="dissubHeaderStyle" select="$storedproceduresubHeaderStyle"/>
229 229
        </xsl:call-template>
230 230
      </td></tr>
231 231
    </xsl:for-each>
......
238 238
    <xsl:param name="docid"/>
239 239
    <xsl:param name="entitytype">storedProcedure</xsl:param>
240 240
    <xsl:param name="entityindex"/>
241
    <tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
241
    <tr><td class="{$storedproceduresubHeaderStyle}" colspan="2">
242 242
        <xsl:text>Attribute Info:</xsl:text>
243 243
    </td></tr>
244 244
    <tr><td colspan="2">
lib/style/eml2/eml-attribute-enumeratedDomain-2.0.0.xsl
29 29
  * suitable for rendering with modern web browsers.
30 30
-->
31 31
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
32
  <xsl:import href="eml-settings-2.0.0beta6-@name@.xsl" />
32
 
33 33
  <xsl:output method="html" encoding="iso-8859-1"/>
34 34
  
35 35
   <xsl:template name="nonNumericDomain">

Also available in: Unified diff