Changeset 28917

Show
Ignore:
Timestamp:
19.03.2014 10:39:24 (6 years ago)
Author:
ak19
Message:

Conversion XSLT updated to reflect elements found in the HathiTrust? data

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/von-sparql/collect/hathitrust-tab/etc/gsdom2rdf.xsl

    r28786 r28917  
    3131  <xsl:template match="/"> 
    3232@prefix dc:        &lt;http://purl.org/dc/elements/1.1/&gt; . 
     33@prefix bibo:      &lt;http://purl.org/ontology/bibo/&gt; . 
     34@prefix terms:      &lt;http://purl.org/terms/&gt; . 
    3335@prefix vcard:     &lt;http://www.w3.org/2001/vcard-rdf/3.0#&gt; . 
    3436 
     
    8789      </xsl:if> 
    8890 
     91      <xsl:if test="starts-with($metaname,'bibo.')"> 
     92    <xsl:variable name="metanameSuffix"><xsl:value-of select="substring($metaname,6)"/></xsl:variable> 
     93    bibo:<xsl:value-of select="$metanameSuffix"/><xsl:text> </xsl:text>&quot;<xsl:value-of select="$metaval"/>&quot;<xsl:text> ;</xsl:text> 
     94      </xsl:if> 
    8995 
    90       <xsl:if test="not(contains($metaname,'.'))"> 
     96<!--      <xsl:if test="not(contains($metaname,'.'))"> 
    9197    gsextracted:<xsl:value-of select="$metaname"/><xsl:text> </xsl:text>&quot;<xsl:value-of select="$metaval"/>&quot;<xsl:text> ;</xsl:text> 
    9298      </xsl:if> 
    93        
     99     -->  
    94100    </xsl:for-each> 
    95101    .