|
|
@@ -42,6 +42,7 @@
|
|
|
<xsl:param name="system_cache__dita:element__x3A__surrounding.title">ph</xsl:param>
|
|
|
<xsl:param name="link__x3A__title"/>
|
|
|
|
|
|
+ <xsl:variable name="end_fid" select="tokenize($end_fid,' ')[1]"/>
|
|
|
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="string-length($fid)>0">
|
|
|
@@ -53,8 +54,17 @@
|
|
|
<xsl:attribute name="keyref" select="concat($fid,'...',$end_fid)"/>
|
|
|
</xsl:when>
|
|
|
<xsl:otherwise>
|
|
|
-
|
|
|
- <xsl:attribute name="keyref" select="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__assign__key.title(system_cache__dita:files.key.DETECT.OTHER(current(),$end_name,$end_fid,$pos),$title)"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita:element__x3A__surrounding='xref'">
|
|
|
+ <xsl:attribute name="keyref" select="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__assign__key.title(system_cache__dita:files.key.DETECT.OTHER(current(),$end_name,$end_fid,$pos),$title)"/>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xref>
|
|
|
+ <xsl:attribute name="keyref" select="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA:context.path.keyref__x3A__assign__key.title(system_cache__dita:files.key.DETECT.OTHER(current(),$end_name,$end_fid,$pos),$title)"/>
|
|
|
+ </xref>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
|
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|