Przeglądaj źródła

czeski blad z attribute name="ID_Point"

a.binder 9 lat temu
rodzic
commit
827d037231
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      SE/dev/php-cli/joins2ways_z_ID_Way.xsl

+ 1 - 1
SE/dev/php-cli/joins2ways_z_ID_Way.xsl

@@ -30,7 +30,7 @@
                             <xsl:copy-of select="$item/@*"/>
                             <xsl:copy-of select="$item/@*"/>
                             <xsl:attribute name="ID_Way" select="$ways_2ID_Way/ways_2ID_Way/item[@id=current()/text()]/text()"/>
                             <xsl:attribute name="ID_Way" select="$ways_2ID_Way/ways_2ID_Way/item[@id=current()/text()]/text()"/>
                             <xsl:if test="$ID_Point">
                             <xsl:if test="$ID_Point">
-                                <xsl:attribute name="ID_Point" select="$points2joins/points2joins/item[text()= current()/@id]/@id"/>
+                                <xsl:attribute name="ID_Point" select="$ID_Point"/>
                             </xsl:if>
                             </xsl:if>
                             <xsl:attribute name="item_copied_pos" select="position()"/>
                             <xsl:attribute name="item_copied_pos" select="position()"/>
                             <xsl:for-each select="$item/item">
                             <xsl:for-each select="$item/item">