Changeset 1052
- Timestamp:
- 08/21/07 11:16:54 (1 year ago)
- Files:
-
- BibIt/trunk/mods2html.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
BibIt/trunk/mods2html.xsl
r953 r1052 29 29 <xsl:template match="mods:mods"> 30 30 <xsl:variable name="thetitle"><xsl:call-template name="getbesttitle"/></xsl:variable> 31 <xsl:variable name="thedate" select="descendant::mods:recordChangeDate[last()]"/> 31 <xsl:variable name="thedate"> 32 <xsl:choose> 33 <xsl:when test="descendant::mods:recordChangeDate"><xsl:value-of select="descendant::mods:recordChangeDate[last()]"/></xsl:when> 34 <xsl:otherwise><xsl:value-of select="descendant::mods:recordCreationDate"/></xsl:otherwise> 35 </xsl:choose> 36 </xsl:variable> select="descendant::mods:recordChangeDate[last()]"/> 32 37 <xsl:result-document href="{$htmloutpath}{@ID}.html" format="html-format"> 33 38 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
