|
|
@@ -6,8 +6,9 @@
|
|
|
version="2.0">
|
|
|
<xsl:output indent="yes"/>
|
|
|
<xsl:strip-space elements="*"/>
|
|
|
- <xsl:param name="ways_2ID_Way.xml" select="'ways_2ID_Way.xml'"/>
|
|
|
- <xsl:variable name="ways_2ID_Way" select="doc($ways_2ID_Way.xml)"/>
|
|
|
+ <xsl:param name="ways2drogi.xml" select="'ways2drogi.xml'"/>
|
|
|
+ <!--<xsl:variable name="ways_2ID_Way" select="doc($ways_2ID_Way.xml)"/>-->
|
|
|
+ <xsl:variable name="ways2drogi" select="doc($ways2drogi.xml)"/>
|
|
|
<xsl:variable name="points2joins" select="doc('points2joins.xml')"/>
|
|
|
|
|
|
<xsl:template match="joins2ways">
|
|
|
@@ -28,7 +29,7 @@
|
|
|
<xsl:for-each select="item">
|
|
|
<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="$ways2drogi/ways2drogi/item[@id=current()/text()]/text()"/>
|
|
|
<xsl:if test="$ID_Point">
|
|
|
<xsl:attribute name="ID_Point" select="$ID_Point"/>
|
|
|
</xsl:if>
|
|
|
@@ -36,7 +37,7 @@
|
|
|
<xsl:for-each select="$item/item">
|
|
|
<xsl:element name="item">
|
|
|
<xsl:attribute name="id" select="@id"/>
|
|
|
- <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/ways2drogi/item[@id=current()/text()]/text()"/>
|
|
|
<xsl:copy-of select="text()"/>
|
|
|
</xsl:element>
|
|
|
</xsl:for-each>
|