Hello:
I've notice that when transforming from MODS to DC the <dateIssued> and
<dateCreated> elements don't seem to be getting populated in the DC. Has
anyone else encountered this issue ? I modified the style sheet at
http://www.loc.gov/standards/mods/v3/MODS3-4_DC_XSLT1-0.xsl
and included this pair of templates to output dates represented in the
/mods:originInfo and /mods:relatedItem/mods:originInfo xpaths.
<xsl:template match="mods:relatedItem[mods:originInfo]">
<dc:date>
<xsl:for-each select="mods:originInfo/mods:dateCreated |
mods:originInfo/mods:dateIssued |
mods:originInfo/mods:dateCaptured | mods:originInfo/mods:dateOther">
<xsl:if test="normalize-space(.)!= ''">
<xsl:value-of select="."/>
</xsl:if>
</xsl:for-each>
</dc:date>
</xsl:template>
<xsl:template match="mods:originInfo[mods:dateCreated | mods:dateIssued
| mods:dateCaptured | mods:dateOther]">
<dc:date>
<xsl:for-each select="mods:dateCreated | mods:dateIssued |
mods:dateCaptured | mods:dateOther">
<xsl:if test="normalize-space(.)!= ''">
<xsl:value-of select="."/>
</xsl:if>
</xsl:for-each>
</dc:date>
</xsl:template>
If anyone would like to test/confirm this as well I'd appreciate it.
Thanks,
Donald
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Donald Moses, MLIS
Digital Initiatives and Systems Librarian
Robertson Library
University of Prince Edward Island
550 University Ave, Charlottetown PE C1A 4P3
Canada