- Timestamp:
- 11/12/14 10:21:32 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2/openskos.xsl
r5778 r5801 22 22 <xsl:param name="props"/> 23 23 <xsl:param name="approve" select="('CLARIN-NL/VL','Athens Core')"/> 24 <xsl:variable name="doc" select="/"/> 24 25 <xsl:template match="text()"/> 25 26 <xsl:template match="dcif:dataCategorySelection"> … … 33 34 </dc:title> 34 35 <xsl:for-each select="dcif:dataCategory"> 35 < openskos:member rdf:resource="tmp:C-{substring-after(@pid,'DC-')}"/>36 <skos:member rdf:resource="tmp:C-{substring-after(@pid,'DC-')}"/> 36 37 </xsl:for-each> 37 38 </openskos:skosCollection> 38 39 <xsl:for-each select="distinct-values(//dcif:profile)"> 40 <xsl:variable name="prof" select="."/> 39 41 <skos:ConceptScheme rdf:about="tmp:P-{replace(.,'\s','')}"> 40 42 <dc:title> 41 43 <xsl:value-of select="."/> 42 44 </dc:title> 45 <xsl:for-each select="$doc//dcif:dataCategory[dcif:descriptionSection/dcif:profile=$prof]"> 46 <skos:hasTopConcept rdf:resource="tmp:C-{substring-after(@pid,'DC-')}"/> 47 </xsl:for-each> 43 48 </skos:ConceptScheme> 44 49 </xsl:for-each>
Note: See TracChangeset
for help on using the changeset viewer.