|
@@ -242,7 +242,7 @@
|
|
|
<xsl:attribute name="len" select="@len"/>
|
|
<xsl:attribute name="len" select="@len"/>
|
|
|
<xsl:if test="$debug">
|
|
<xsl:if test="$debug">
|
|
|
<xsl:message>Try to say @Way_X1:<xsl:value-of select="@Way_X1"/>; @Way_X2:<xsl:value-of select="@Way_X2"/>; $Cur_X1:<xsl:value-of select="$Cur_X1"/>; </xsl:message>
|
|
<xsl:message>Try to say @Way_X1:<xsl:value-of select="@Way_X1"/>; @Way_X2:<xsl:value-of select="@Way_X2"/>; $Cur_X1:<xsl:value-of select="$Cur_X1"/>; </xsl:message>
|
|
|
- <xsl:message>PlaceWay: 1=1;2=2 count()=<xsl:value-of select="count(.)"/>; lenX:<xsl:value-of select=" round(abs(number(@Way_X1) - number($Cur_X1)) * 1000)"/>; zerowa droga dla $Cur_X1=<xsl:value-of select="$Cur_X1"/>; $Cur_Y1=<xsl:value-of select="$Cur_Y1"/> @id=<xsl:value-of select="@id"/>; $not_id=<xsl:value-of select="$not_id"/>;</xsl:message>
|
|
|
|
|
|
|
+ <xsl:message>PlaceWay: 1=1;2=2 count()=<xsl:value-of select="count(.)"/>; lenX:<xsl:value-of select=" round(abs(number(@Way_X1) - number($Cur_X1)) * 1000)"/>; zerowa droga dla $Cur_X1=<xsl:value-of select="$Cur_X1"/>; $Cur_Y1=<xsl:value-of select="$Cur_Y1"/> @id=<xsl:value-of select="@id"/>; $not_id=<xsl:value-of select="$not_id"/>;$not_id_prev=<xsl:value-of select="$not_id_prev"/>;</xsl:message>
|
|
|
</xsl:if>
|
|
</xsl:if>
|
|
|
<xsl:attribute name="not_id_prev" select="$not_id"/>
|
|
<xsl:attribute name="not_id_prev" select="$not_id"/>
|
|
|
<xsl:variable name="X" select="@Way_X2"/>
|
|
<xsl:variable name="X" select="@Way_X2"/>
|
|
@@ -294,7 +294,7 @@
|
|
|
</xsl:if>-->
|
|
</xsl:if>-->
|
|
|
<xsl:if test="$debug">
|
|
<xsl:if test="$debug">
|
|
|
<xsl:message>Try to say @Way_X1:<xsl:value-of select="@Way_X1"/>; @Way_X2:<xsl:value-of select="@Way_X2"/>; $Cur_X1:<xsl:value-of select="$Cur_X1"/>; </xsl:message>
|
|
<xsl:message>Try to say @Way_X1:<xsl:value-of select="@Way_X1"/>; @Way_X2:<xsl:value-of select="@Way_X2"/>; $Cur_X1:<xsl:value-of select="$Cur_X1"/>; </xsl:message>
|
|
|
- <xsl:message>PlaceWay: 1=1 count()=<xsl:value-of select="count(.)"/>; number(@Way_X2)<xsl:value-of select="@Way_X2"/> lenX:<xsl:value-of select=" round(number(@Way_X2) - number($Cur_X1) * 100) "/>; dla $Cur_X1=<xsl:value-of select="$Cur_X1"/>; $Cur_Y1=<xsl:value-of select="$Cur_Y1"/> @id=<xsl:value-of select="@id"/>; $not_id=<xsl:value-of select="$not_id"/>;</xsl:message>
|
|
|
|
|
|
|
+ <xsl:message>PlaceWay: 1=1 count()=<xsl:value-of select="count(.)"/>; number(@Way_X2)<xsl:value-of select="@Way_X2"/> lenX:<xsl:value-of select=" round(number(@Way_X2) - number($Cur_X1) * 100) "/>; dla $Cur_X1=<xsl:value-of select="$Cur_X1"/>; $Cur_Y1=<xsl:value-of select="$Cur_Y1"/> @id=<xsl:value-of select="@id"/>; $not_id=<xsl:value-of select="$not_id"/>;$not_id_prev=<xsl:value-of select="$not_id_prev"/>;</xsl:message>
|
|
|
</xsl:if>
|
|
</xsl:if>
|
|
|
</xsl:otherwise>
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
@@ -378,8 +378,8 @@
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<xsl:when test="$loop > 100000">
|
|
<xsl:when test="$loop > 100000">
|
|
|
<loop_limit>
|
|
<loop_limit>
|
|
|
- <xsl:message terminate="yes">
|
|
|
|
|
- Loop limit dla PlaceWay: 1=2 dla $Cur_X1=<xsl:value-of select="$Cur_X1"/>; $Cur_Y1=<xsl:value-of select="$Cur_Y1"/> @id=<xsl:value-of select="@id"/>; $not_id=<xsl:value-of select="$not_id"/>
|
|
|
|
|
|
|
+ <xsl:message terminate="no">
|
|
|
|
|
+ !!!!!!!!!!!!!!!! Loop limit dla PlaceWay: 1=2 dla $Cur_X1=<xsl:value-of select="$Cur_X1"/>; $Cur_Y1=<xsl:value-of select="$Cur_Y1"/> @id=<xsl:value-of select="@id"/>; $not_id=<xsl:value-of select="$not_id"/>
|
|
|
</xsl:message>
|
|
</xsl:message>
|
|
|
</loop_limit>
|
|
</loop_limit>
|
|
|
|
|
|