...
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?> <skos:Concept xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:skosxl="http://www.w3.org/2008/05/skos-xl#" rdf:about="http://id.loc.gov/authorities/subjects/sh85085171"> <skos:prefLabel xml:lang="en">Military ceremonies, honors, and salutes</skos:prefLabel> <skos:altLabel xml:lang="en">Military courtesy</skos:altLabel> <skos:altLabel xml:lang="en">Military honors</skos:altLabel> <skos:altLabel xml:lang="en">Military salutes</skos:altLabel> <skos:altLabel xml:lang="en">Salutes, Military</skos:altLabel> <skos:broader rdf:resource="http://id.loc.gov/authorities/subjects/sh85045446"/> <skos:narrower rdf:resource="http://id.loc.gov/authorities/subjects/sh85090372"/> <skos:narrower rdf:resource="http://id.loc.gov/authorities/subjects/sh2012001521"/> <skos:narrower rdf:resource="http://id.loc.gov/authorities/subjects/sh2003009031"/> <skos:narrower rdf:resource="http://id.loc.gov/authorities/subjects/sh85145907"/> <skos:narrower rdf:resource="http://id.loc.gov/authorities/subjects/sh85085200"/> <skos:narrower rdf:resource="http://id.loc.gov/authorities/subjects/sh2018002201"/> <skos:closeMatch rdf:resource="http://id.worldcat.org/fast/1021060"/> <skos:closeMatch rdf:resource="http://data.bnf.fr/ark:/12148/cb12129082c"/> <skos:closeMatch rdf:resource="http://data.bnf.fr/ark:/12148/cb12129082c"/> <skos:closeMatch rdf:resource="http://id.worldcat.org/fast/1021060"/> <skos:inScheme rdf:resource="http://id.loc.gov/authorities/subjects"/> </skos:Concept> |
you have You need to specify $targetId parameter in <xsl:if> element of XSL stylesheet like so:
<xsl:if test="@rdf:about='http://id.loc.gov/authorities/subjects/sh85085171'">
...