Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Templates for DatatypeProperty and ObjectProperty now also produce th…
Browse files Browse the repository at this point in the history
…e right ids
  • Loading branch information
zerok committed Dec 27, 2008
1 parent 6b94ec7 commit de9ba67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xslt/xhtml/main.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
<!--=== DATATYPE PROPERTY =============================================-->
<xsl:template match="owl:DatatypeProperty[starts-with(@rdf:about,'#')]">
<xsl:variable name="localname" select="substring(./@rdf:about, 2)" />
<div class="datatypeproperty">
<div class="datatypeproperty" id="{$localname}">
<h3><xsl:value-of select="$localname" /></h3>
<div class="info">
<xsl:call-template name="basicInformation" />
Expand All @@ -278,7 +278,7 @@
<!--=== OBJECT PROPERTY ===============================================-->
<xsl:template match="owl:ObjectProperty[starts-with(@rdf:about,'#')]">
<xsl:variable name="localname" select="substring(./@rdf:about, 2)" />
<div class="datatypeproperty">
<div class="datatypeproperty" id="{$localname}">
<h3><xsl:value-of select="$localname" /></h3>
<div class="info">
<xsl:call-template name="basicInformation" />
Expand Down

0 comments on commit de9ba67

Please sign in to comment.