Project

General

Profile

Revision 3746

display the docid.
also just display the publication date as is since the existing parsing made too many assumptions about how the date would be formatted

View differences:

fgdc-root.xsl
48 48
            <xsl:apply-templates select="title"/>
49 49
        </tr>
50 50
        <tr>
51
            <xsl:call-template name="docid"/>
52
        </tr>
53
        <tr>
51 54
            <xsl:apply-templates select="origin"/>
52 55
        </tr>
53 56
        <tr>
......
181 184
        </td>
182 185
    </xsl:template>
183 186
    
187
     <xsl:template name="docid">
188
        <td class="highlight">ID</td>
189
        <td class="secondCol">
190
            <xsl:value-of select="$docid"/>
191
        </td>
192
    </xsl:template>
193
    
184 194
    <xsl:template match="origin">
185 195
        <td class="highlight">Originator </td>
186 196
        <td class="secondCol">
......
191 201
    <xsl:template match="pubdate">
192 202
        <td class="highlight">Publication Date</td>
193 203
        <td class="secondCol">
194
            <xsl:call-template name="long_date">
204
            <!-- <xsl:call-template name="long_date">-->
205
            <xsl:call-template name="date_as_is">
195 206
                <xsl:with-param name="date">
196 207
                    <xsl:value-of select="."/>
197 208
                </xsl:with-param>
......
391 402
	</xsl:if>
392 403
   </xsl:template>
393 404
   
405
   <xsl:template name="date_as_is">
406
       <xsl:param name="date"/>
407
       <xsl:value-of select="$date"/>
408
   </xsl:template>
409
   
394 410
   <xsl:template name="long_date">
395 411
       <xsl:param name="date"/>
396 412
       <!-- Day -->

Also available in: Unified diff