|
|
@@ -175,12 +175,12 @@ 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(substring(.,string-length(.)),'/') and position()=1 and $lt_pos > 1"><xsl:attribute name="closing" select="true()"/></xsl:when>
|
|
|
+ <xsl:when test=" not(contains(substring(.,string-length(.)),'/')) 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>
|
|
|
- <xsl:when test="position()=1 and $lt_pos>1 and not(contains(.,'/')) and contains(.,' ')">
|
|
|
+ <xsl:when test="position()=1 and $lt_pos>1 and not(contains(substring(.,string-length(.)),'/')) and contains(.,' ')">
|
|
|
<xsl:variable name="attributes">
|
|
|
|
|
|
<!--<xsl:for-each select="tokenize(.,'="')">
|