Procházet zdrojové kódy

poprawiony filtr warunku dla relatedfeature

a.binder před 9 roky
rodič
revize
7e7c79faa0

+ 1 - 1
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/pismo/IN7_DZIENNIK_KORESP.dita

@@ -37,7 +37,7 @@
     </simpletable>
     <p><b>Temat: <ph/><ph xpath="K_ZAWARTOS"/></b></p>
     <p>Tresc: </p>
-    <bodydiv xpath="K_ZAWARTOSC_HTML"/>
+    <bodydiv xpath="K_ZAWARTOSC_HTML" format="enter_to_ph"/>
     <p> Miejsca na podpisy<simpletable frame="all" relcolwidth="1.0* 1.0*"
       id="simpletable_ejm_j2r_cz">
       <strow>

+ 1 - 1
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/IN7_DZIENNIK_KORESP.dita

@@ -37,7 +37,7 @@
     </simpletable>
     <p><b>Temat: <ph/><ph xpath="K_ZAWARTOS"/></b></p>
     <p>Tresc: </p>
-    <bodydiv xpath="K_ZAWARTOSC_HTML"/>
+    <bodydiv xpath="K_ZAWARTOSC_HTML" format="enter_to_ph"/>
     <p> Miejsca na podpisy<simpletable frame="all" relcolwidth="1.0* 1.0*"
       id="simpletable_ejm_j2r_cz">
       <strow>

+ 1 - 1
SE/schema/default_db_xml_cache.public/build_recurse_ant_xsl_xpath_filter.xsl

@@ -184,7 +184,7 @@
             <xsl:when test="1=2"/>
             <xsl:otherwise>
                <xsl:for-each-group select="$simpleSchema//(RelatedFeature|RelatedFeatureLoop)" group-by="@xpath_value">
-                  <xsl:value-of select='concat(" and ( not(@xpath_value=&apos;",@xpath_value,"&apos; ) or  ( ",@xpath_value,"/text()  and not(",@xpath_value,"/text()=&apos;0&apos;) ) or ",@xpath_value,"/@xpath )  ")'/>
+                  <xsl:value-of select='concat(" and ( not(@xpath_value=&apos;",@xpath_value,"&apos; ) or  ( ",@xpath_value,"/text()  and not(",@xpath_value,"/text()=&apos;0&apos;) ) or ",@xpath_value,"/@xpath  or not(",@xpath_value,") )  ")'/>
                </xsl:for-each-group>
             </xsl:otherwise>
          </xsl:choose>