a.binder 6 лет назад
Родитель
Сommit
6d2773a3ea
1 измененных файлов с 16 добавлено и 1 удалено
  1. 16 1
      SE/schema/default_db_xml_cache.public/escaped_html_to_xml.xsl

+ 16 - 1
SE/schema/default_db_xml_cache.public/escaped_html_to_xml.xsl

@@ -303,8 +303,22 @@ W przypadku chęci ograniczenia w początkowej fazie wdrażania systemu jakości
                             <xsl:choose>
                                 <xsl:when test="@attributes">
                                     <xsl:variable name="attributes">
-                                        <xsl:for-each select="tokenize(@attributes,' ')">
+                                        <!--<xsl:for-each select="tokenize(@attributes,' ')">
                                             <e300><xsl:attribute name="val" select="."/>
+                                                <xsl:for-each select="tokenize(.,'=&quot;')">
+                                                    <e302><xsl:attribute name="val" select="."/>
+                                                        <!-\-<xsl:attribute name="{.}" select="true()"/>-\->
+                                                        <xsl:for-each select="tokenize(.,'&quot;')">
+                                                            <e307>
+                                                                <xsl:attribute name="val" select="."/>
+                                                            </e307>
+                                                        </xsl:for-each>
+                                                    </e302>
+                                                </xsl:for-each>
+                                            </e300>
+                                        </xsl:for-each>-->
+                                        <xsl:for-each select="tokenize(@attributes,'&quot; ')">
+                                            <e300><xsl:attribute name="val" select="concat(.,'&quot;')"/>
                                                 <xsl:for-each select="tokenize(.,'=&quot;')">
                                                     <e302><xsl:attribute name="val" select="."/>
                                                         <!--<xsl:attribute name="{.}" select="true()"/>-->
@@ -317,6 +331,7 @@ W przypadku chęci ograniczenia w początkowej fazie wdrażania systemu jakości
                                                 </xsl:for-each>
                                             </e300>
                                         </xsl:for-each>
+                                        
                                     </xsl:variable>
                                     <xsl:for-each select="$attributes/e300">
                                         <xsl:attribute name="{e302[1]/@val}" select="e302[2]/e307[1]/@val"/>