Revision 1696
Added by Jing Tao almost 21 years ago
eml-spatialvector-2.0.0.xsl | ||
---|---|---|
40 | 40 |
<xsl:param name="spatialvectorsubHeaderStyle"/> |
41 | 41 |
<xsl:param name="docid"/> |
42 | 42 |
<xsl:param name="entityindex"/> |
43 |
<table class="tabledefault" width="100%"> |
|
43 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
44 | 44 |
<xsl:choose> |
45 | 45 |
<xsl:when test="references!=''"> |
46 | 46 |
<xsl:variable name="ref_id" select="references"/> |
47 | 47 |
<xsl:variable name="references" select="$ids[@id=$ref_id]" /> |
48 | 48 |
<xsl:for-each select="$references"> |
49 |
<xsl:call-template name="spatialRastercommon">
|
|
49 |
<xsl:call-template name="spatialVectorcommon">
|
|
50 | 50 |
<xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/> |
51 | 51 |
<xsl:with-param name="spatialvectorsubHeaderStyle" select="$spatialvectorsubHeaderStyle"/> |
52 | 52 |
<xsl:with-param name="docid" select="$docid"/> |
... | ... | |
55 | 55 |
</xsl:for-each> |
56 | 56 |
</xsl:when> |
57 | 57 |
<xsl:otherwise> |
58 |
<xsl:call-template name="spatialRastercommon">
|
|
58 |
<xsl:call-template name="spatialVectorcommon">
|
|
59 | 59 |
<xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/> |
60 | 60 |
<xsl:with-param name="spatialvectorsubHeaderStyle" select="$spatialvectorsubHeaderStyle"/> |
61 | 61 |
<xsl:with-param name="docid" select="$docid"/> |
... | ... | |
97 | 97 |
Physical Structure Description |
98 | 98 |
</td></tr> |
99 | 99 |
</xsl:if> |
100 |
<tr><td colspan="2">
|
|
101 |
<xsl:for-each select="physical">
|
|
100 |
<xsl:for-each select="physical">
|
|
101 |
<tr><td colspan="2">
|
|
102 | 102 |
<xsl:call-template name="physical"> |
103 | 103 |
<xsl:with-param name="physicalfirstColStyle" select="$spatialvectorfirstColStyle"/> |
104 | 104 |
<xsl:with-param name="notshowdistribution">yes</xsl:with-param> |
105 | 105 |
</xsl:call-template> |
106 |
</xsl:for-each> |
|
107 |
</td></tr> |
|
106 |
</td></tr> |
|
107 |
</xsl:for-each> |
|
108 |
|
|
108 | 109 |
<xsl:if test="coverage"> |
109 | 110 |
<tr><td class="{$spatialvectorsubHeaderStyle}" colspan="2"> |
110 | 111 |
Coverage Description |
... | ... | |
173 | 174 |
Spatial Reference |
174 | 175 |
</td></tr> |
175 | 176 |
<xsl:call-template name="spatialReference"> |
176 |
<xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
|
|
177 |
<xsl:with-param name="spatialrasterfirstColStyle" select="$spatialvectorfirstColStyle"/>
|
|
177 | 178 |
</xsl:call-template> |
178 | 179 |
</xsl:for-each> |
179 | 180 |
<xsl:for-each select="horizontalAccuracy"> |
... | ... | |
181 | 182 |
Horizontal Accuracy |
182 | 183 |
</td></tr> |
183 | 184 |
<xsl:call-template name="dataQuality"> |
184 |
<xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
|
|
185 |
<xsl:with-param name="spatialrasterfirstColStyle" select="$spatialvectorfirstColStyle"/>
|
|
185 | 186 |
</xsl:call-template> |
186 | 187 |
</xsl:for-each> |
187 | 188 |
<xsl:for-each select="verticalAccuracy"> |
... | ... | |
189 | 190 |
Vertical Accuracy |
190 | 191 |
</td></tr> |
191 | 192 |
<xsl:call-template name="dataQuality"> |
192 |
<xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/>
|
|
193 |
<xsl:with-param name="spatialrasterfirstColStyle" select="$spatialvectorfirstColStyle"/>
|
|
193 | 194 |
</xsl:call-template> |
194 | 195 |
</xsl:for-each> |
195 | 196 |
<xsl:for-each select="attributeList"> |
196 |
<xsl:call-template name="spatialRasterAttributeList">
|
|
197 |
<xsl:call-template name="spatialVectorAttributeList">
|
|
197 | 198 |
<xsl:with-param name="spatialvectorfirstColStyle" select="$spatialvectorfirstColStyle"/> |
198 | 199 |
<xsl:with-param name="spatialvectorsubHeaderStyle" select="$spatialvectorsubHeaderStyle"/> |
199 | 200 |
<xsl:with-param name="docid" select="$docid"/> |
Also available in: Unified diff
Make table cellspacing=0 and fixed some bugs.