|
|
@@ -5,13 +5,14 @@
|
|
|
exclude-result-prefixes="xs"
|
|
|
version="2.0">
|
|
|
|
|
|
- <xsl:param name="edge_paths_with_PE_controll_temp" select="'edge_paths_with_PE_controll_temp'"/>
|
|
|
- <xsl:param name="edge_paths_with_PE_controll_temp.alias" select="'edge_paths_with_PE_controll_temp.alias'"/>
|
|
|
+ <xsl:param name="plamy_prefix" select="'test2'"/>
|
|
|
+ <xsl:param name="edge_paths_with_PE_controll_temp" select="concat('edge_paths_with_PE_controll_temp',$plamy_prefix)"/>
|
|
|
+ <xsl:param name="edge_paths_with_PE_controll_temp.alias" select="concat('edge_paths_with_PE_controll_temp.alias',$plamy_prefix)"/>
|
|
|
<xsl:param name="edge_paths_with_PE_controll.xsl" select="'edge_paths_with_PE_controll.xsl'"/>
|
|
|
- <xsl:param name="edge_paths_with_PE_controll.xml" select="'edge_paths_with_PE_controll.xml'"/>
|
|
|
- <xsl:param name="edge_paths_with_PE_controll_paths_temp" select="'edge_paths_with_PE_controll_paths_temp'"/>
|
|
|
+ <xsl:param name="edge_paths_with_PE_controll.xml" select="concat('edge_paths_with_PE_controll.xml',$plamy_prefix)"/>
|
|
|
+ <xsl:param name="edge_paths_with_PE_controll_paths_temp" select="concat('edge_paths_with_PE_controll_paths_temp',$plamy_prefix)"/>
|
|
|
|
|
|
- <xsl:param name="edge_joins_filled_paths" select="'edge_joins_filled_paths'"/>
|
|
|
+ <xsl:param name="edge_joins_filled_paths" select="concat('edge_joins_filled_paths',$plamy_prefix)"/>
|
|
|
<xsl:param name="PE_Price" select="2500"/>
|
|
|
<xsl:param name="Cable_Price" select="3"/>
|
|
|
<xsl:param name="max_combinate_groups_elements" select="10"/> <!-- po ile wezlow mamy grupowac do wyliczania kombinacji kosztow -->
|
|
|
@@ -53,7 +54,7 @@
|
|
|
<delete file="{$edge_paths_with_PE_controll_paths_temp}/{$edge_paths_with_PE_controll.xsl}.{@id}.xml"/>
|
|
|
<xslt basedir="./" style="{$edge_paths_with_PE_controll.xsl}"
|
|
|
in="{$edge_joins_filled_paths}/{$edge_joins_filled_paths}.{@id}.xml" destdir="./"
|
|
|
- out="{$edge_paths_with_PE_controll.xsl}.{@id}.xml" >
|
|
|
+ out="{$edge_paths_with_PE_controll.xsl}{$plamy_prefix}.{@id}.xml" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
<!--<attribute name="http://saxon.sf.net/feature/initialMode" value="DITA_PARSE_templ"/>-->
|
|
|
@@ -67,9 +68,10 @@
|
|
|
<param name="max_combinate_groups_elements" expression="{$max_combinate_groups_elements}"/> <!-- po ile wezlow mamy grupowac do wyliczania kombinacji kosztow -->
|
|
|
<param name="logic" expression="{$logic}"/>
|
|
|
<param name="edge_paths_with_PE_controll_paths_temp" expression="{$edge_paths_with_PE_controll_paths_temp}"/>
|
|
|
+ <param name="plamy_prefix" expression="{$plamy_prefix}"/>
|
|
|
<!--<xsl:param name="logic" select="'sorted'"/>--> <!-- tutaj robi grupy ale analizyje w grupie tylko wazniejsze/bardziej oblozone wezly -->
|
|
|
</xslt>
|
|
|
- <move file="{$edge_paths_with_PE_controll.xsl}.{@id}.xml" todir="{$edge_paths_with_PE_controll_paths_temp}"/>
|
|
|
+ <move file="{$edge_paths_with_PE_controll.xsl}{$plamy_prefix}.{@id}.xml" todir="{$edge_paths_with_PE_controll_paths_temp}"/>
|
|
|
</xsl:template>
|
|
|
|
|
|
</xsl:stylesheet>
|