|
|
@@ -276,6 +276,16 @@
|
|
|
<xsl:attribute name="len" select="@len"/>
|
|
|
<xsl:variable name="X" select="@Way_X1"/>
|
|
|
<xsl:variable name="Y" select="@Way_Y1"/>
|
|
|
+
|
|
|
+ <xsl:for-each select="$ways2joins/ways2joins/item[@id= current()/@id]/item"> <!-- musi byc wczesniej bo atrybut sie nie doda drugi raz-->
|
|
|
+ <xsl:for-each select="$joins_asText_xml/joins_asText_xml/item[@id= current()/text()]/bp:Path_Point">
|
|
|
+ <xsl:if test="@X=$X and @Y=$Y">
|
|
|
+ <xsl:variable name="ID_Join" select="parent::node()/@id"/>
|
|
|
+ <xsl:attribute name="ID_Join" select="$ID_Join"/>
|
|
|
+ </xsl:if>
|
|
|
+ </xsl:for-each>
|
|
|
+ </xsl:for-each>
|
|
|
+
|
|
|
<xsl:for-each select="$ways2joins/ways2joins/item[@id= current()/@id]/item">
|
|
|
<xsl:for-each select="$joins_asText_xml/joins_asText_xml/item[@id= current()/text()]/bp:Path_Point">
|
|
|
<xsl:if test="@X=$X and @Y=$Y">
|