|
|
@@ -114,17 +114,12 @@
|
|
|
<xsl:param name="input_obj_with_xpath" /> <!-- przekazany z template match="RelatedFeature" mode="after_first_ant_assing_vars_childs" -->
|
|
|
<xsl:param name="feature_pos" select="1"/> <!-- przekazany z template match="RelatedFeature" mode="after_first_ant_assing_vars_childs"-->
|
|
|
<xsl:param name="loop_path_recurs" select="$loop_path_recurs"/> <!-- przekazany z RelatedFeatureLoop z mode="after_first_ant_assing_vars_childs" -->
|
|
|
- <xsl:if test="not(@xml_position)">
|
|
|
- <xsl:message >#118 not set @xml_position </xsl:message>
|
|
|
- </xsl:if>
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="name()='RelatedFeature'">
|
|
|
<xsl:variable name="RelatedFeatureCount" select="last()"/>
|
|
|
<xsl:variable name="RelatedFeaturePos" select="position()"/> <!-- bylo bug @2017-04 position() -->
|
|
|
<xsl:variable name="featureID_name" select="substring-after($typeName,':')"/>
|
|
|
- <xsl:message>#58 bylo $loop_xpath=<xsl:value-of select="$loop_xpath"/>; $basedir=<xsl:value-of select="$basedir"/>;
|
|
|
- $RelatedFeaturePos=<xsl:value-of select="position()"/> while @xml_position=<xsl:value-of select="@xml_position"/>
|
|
|
- </xsl:message>
|
|
|
+ <xsl:message>#58 bylo $loop_xpath=<xsl:value-of select="$loop_xpath"/>; $basedir=<xsl:value-of select="$basedir"/>; </xsl:message>
|
|
|
<xsl:variable name="loop_xpath_real" select="$loop_xpath"/>
|
|
|
<xsl:variable name="loop_xpath">
|
|
|
<xsl:choose>
|
|
|
@@ -147,8 +142,8 @@
|
|
|
<!--<xsl:variable name="wfs_output" select="concat($uuid,'.',$loop_xpath,'_x2f_',$featureID_name)"/>-->
|
|
|
<xsl:variable name="wfs_output" select="concat($uuid,'.',$loop_xpath)"/>
|
|
|
<!--<xsl:variable name="wfs_output.xml" select="concat($wfs_output,'.',position(),'.xml')"/>-->
|
|
|
- <xsl:variable name="wfs_output.xml" select="concat($wfs_output,'.',position(),'.',$feature_pos,'.xml')"/> <!-- bylo bug @2017-04 position() -->
|
|
|
- <xsl:variable name="wfs_output.dita" select="concat($wfs_output,'.',position(),'.',$feature_pos,'.dita.xml')"/> <!-- bylo bug @2017-04 position() -->
|
|
|
+ <xsl:variable name="wfs_output.xml" select="concat($wfs_output,'.',position(),'.',$feature_pos,'.xml')"/>
|
|
|
+ <xsl:variable name="wfs_output.dita" select="concat($wfs_output,'.',position(),'.',$feature_pos,'.dita.xml')"/>
|
|
|
<!--<xsl:variable name="wfs_output.dita" select="concat($wfs_output,'.',position(),'.','.dita.xml')"/>-->
|
|
|
<!-- dane z oczekiwanego template .dita -->
|
|
|
<xsl:variable name="xpath_dita">
|