Format property links consistently.
--- a/publish.xsl Sun May 27 12:24:45 2012 +1000
+++ b/publish.xsl Sun May 27 16:13:49 2012 +1000
@@ -1549,17 +1549,15 @@
</xsl:choose>
</xsl:function>
- <xsl:function name='x:property-link' as='element()'>
+ <xsl:function name='x:property-link' as='node()*'>
<xsl:param name='name'/>
<xsl:param name='referencing-element'/>
<xsl:variable name='property' select='x:lookup-property($name)'/>
<xsl:choose>
<xsl:when test='$property'>
- <a href='{$property/@href}'>
- <span class='property'>
- <xsl:value-of select='concat("‘", $name, "’")'/>
- </span>
- </a>
+ <xsl:text>‘</xsl:text>
+ <a href='{$property/@href}'><code class='property'><xsl:value-of select='$name'/></code></a>
+ <xsl:text>’</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:message>Unknown property "<xsl:value-of select='$name'/>" at <xsl:value-of select="concat(base-uri($referencing-element), ' line ', saxon:line-number())"/>.</xsl:message>