|
|
@@ -151,6 +151,12 @@ W przypadku chęci ograniczenia w początkowej fazie wdrażania systemu jakości
|
|
|
<xsl:for-each select="tokenize(.,'>')">
|
|
|
<gt>
|
|
|
<xsl:attribute name="gtnum" select="position()"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="contains(.,'/')">
|
|
|
+ <xsl:attribute name="debug.contains.slash" select="true()"/>
|
|
|
+ <xsl:attribute name="debug.last.char" select="substring(.,string-length(.)) "/>
|
|
|
+ </xsl:when>
|
|
|
+ </xsl:choose>
|
|
|
<!--<xsl:attribute name="lt_pos" select="$lt_pos"/>-->
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="$lt_pos=1 and position()=1">
|
|
|
@@ -167,8 +173,8 @@ W przypadku chęci ograniczenia w początkowej fazie wdrażania systemu jakości
|
|
|
<xsl:otherwise><xsl:attribute name="is_string" select="true()"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
|
<xsl:choose>
|
|
|
- <xsl:when test=" contains(.,'/') and position()=1 and $lt_pos>1"><xsl:attribute name="closing" select="true()"/></xsl:when>
|
|
|
- <xsl:when test=" not(contains(.,'/')) and position()=1 and $lt_pos>1"><xsl:attribute name="closing" select="false()"/></xsl:when>
|
|
|
+ <xsl:when test=" contains(.,'/') and position()=1 and $lt_pos > 1"><xsl:attribute name="closing" select="true()"/></xsl:when>
|
|
|
+ <xsl:when test=" not(contains(.,'/')) and position()=1 and $lt_pos > 1"><xsl:attribute name="closing" select="false()"/></xsl:when>
|
|
|
<!--<xsl:otherwise><xsl:attribute name="closing" select="false()"/></xsl:otherwise>-->
|
|
|
</xsl:choose>
|
|
|
<xsl:choose>
|
|
|
@@ -287,8 +293,12 @@ W przypadku chęci ograniczenia w początkowej fazie wdrażania systemu jakości
|
|
|
<xsl:if test=" number($system_cache__appinfo:escaped_html_to_xml.debug) > 3"><xsl:copy-of select="$anal_num_anal"/></xsl:if>
|
|
|
<xsl:variable name="sum_cur_select">
|
|
|
<xsl:choose>
|
|
|
- <xsl:when test="$anal_num_anal/anal_num_anal/gt[@sum_cur=1]"><xsl:value-of select="1"/></xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="2"/></xsl:otherwise>
|
|
|
+ <xsl:when test="$anal_num_anal/anal_num_anal/gt[@sum_cur=1]"><xsl:value-of select="1"/>
|
|
|
+ <xsl:if test=" number($system_cache__appinfo:escaped_html_to_xml.debug) > 3"><xsl:message>#291-A sum_cur_select==1</xsl:message></xsl:if>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:if test=" number($system_cache__appinfo:escaped_html_to_xml.debug) > 3"><xsl:message>#291-B sum_cur_select==2</xsl:message></xsl:if>
|
|
|
+ <xsl:value-of select="2"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
|
<xsl:for-each select="$anal_num_anal/anal_num_anal/gt[@sum_cur=$sum_cur_select]"><!-- text outside of first tag -->
|