Skip to content

Commit

Permalink
tags for connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Aug 3, 2023
1 parent e91b568 commit 88e42a1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/owl-core-lib/connectors-owl-core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,24 @@
<xsl:with-param name="elementUri" select="$roleURI"/>
</xsl:call-template>

<xsl:for-each select="$connectorsWithSameName">
<xsl:variable name="sourceTags" select="./source/tags/tag"/>
<xsl:variable name="targetTags" select="./target/tags/tag"/>
<xsl:for-each select="$sourceTags">
<xsl:call-template name="coreLayerTags">
<xsl:with-param name="elementUri" select="$roleURI"/>
<xsl:with-param name="tagName" select="./@name"/>
<xsl:with-param name="tagValue" select="./@value"/>
</xsl:call-template>
</xsl:for-each>
<xsl:for-each select="$targetTags">
<xsl:call-template name="coreLayerTags">
<xsl:with-param name="elementUri" select="$roleURI"/>
<xsl:with-param name="tagName" select="./@name"/>
<xsl:with-param name="tagValue" select="./@value"/>
</xsl:call-template>
</xsl:for-each>
</xsl:for-each>

</xsl:template>

Expand Down

0 comments on commit 88e42a1

Please sign in to comment.