Changeset 5814 for cats


Ignore:
Timestamp:
11/13/14 12:04:59 (10 years ago)
Author:
Menzo Windhouwer
Message:

M mod-ISOcat-interface-rest/representations/dcs2/openskos.xsl

  • included a link back to the skosCollection
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2/openskos.xsl

    r5801 r5814  
    5555        <xsl:variable name="concept">
    5656                <skos:Concept rdf:about="tmp:C-{substring-after(@pid,'DC-')}">
     57                        <!-- link back to the collection -->
     58                        <xsl:for-each select="ancestor::dcif:dataCategorySelection">
     59                                <openskos:inSkosCollection rdf:resource="tmp:S-{replace(@owner,'\s','')}-{replace(@name,'\s','')}"/>
     60                        </xsl:for-each>
     61                        <!-- status -->
    5762                        <xsl:choose>
    5863                                <xsl:when test="dcif:registrationStatus=('deprecated','superseded')">
Note: See TracChangeset for help on using the changeset viewer.