fixed bug with news page date printing

svn path=/branches/design/; revision=17818
This commit is contained in:
samtuke 2010-10-20 13:18:38 +00:00
parent 39959bb7cb
commit 19f6c3b6da

View File

@ -67,11 +67,11 @@
</xsl:copy>
<!-- Apply news page rules -->
<xsl:if test="/buildinfo/document/html/@newsdate">
<xsl:if test="/buildinfo/document/html@newsdate">
<xsl:element name="div">
<xsl:attribute name="id">article-metadata</xsl:attribute>
<xsl:element name="p">
<span class="label"> <xsl:apply-templates select="/buildinfo/textset/text[@id='published']/node()" />: </span><xsl:value-of select="/buildinfo/document/html/@newsdate" />
<span class="label"> <xsl:apply-templates select="/buildinfo/textset/text[@id='published']/node()" />: </span><xsl:value-of select="/buildinfo/document/html@newsdate" />
</xsl:element>
</xsl:element>
</xsl:if>