Skip to content

Commit

Permalink
New XSL to specify supertypes and specify deceased as a type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene Ziede committed Jun 25, 2012
1 parent 6c9530e commit 7545085
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,19 @@
<xsl:if test="normalize-space( PRSN_WORKING_TITLE )">
<core:preferredTitle><xsl:value-of select="PRSN_WORKING_TITLE" /></core:preferredTitle>
</xsl:if>

<!-- All Super-classes -->
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<ufVivo:Deceased><xsl:value-of select="PRSN_DECEASED" /></ufVivo:Deceased>

<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
<rdf:type rdf:resource="http://vivo.ufl.edu/ontology/vivo-ufl/UFEntity"/>

<!-- <ufVivo:Deceased><xsl:value-of select="PRSN_DECEASED" /></ufVivo:Deceased> -->
<xsl:choose>
<xsl:when test="PRSN_DECEASED='Y'">
<rdf:type rdf:resource="http://vivo.ufl.edu/ontology/vivo-ufl/Deceased"/>
</xsl:when>
</xsl:choose>

<!-- Need to determine person's PROTECT status to make sure we don't display protected information -->
<xsl:choose>
Expand Down

0 comments on commit 7545085

Please sign in to comment.