Browse Source

poprawki druku

a.binder 9 years ago
parent
commit
7fd62b06e8

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

@@ -55,25 +55,6 @@
             </xsl:apply-templates>
             <!--<xsl:copy-of select="$dita_task_template_file"/>-->
         </xsl:variable>
-        <!--<out>
-            TODO przerobic input - dodac @path, 
-            przejechac template i podstawic zmienne
-            wyzwolic XSL-FO dla template
-            Wyrzucic na output tak aby to obsluzylo cos co kuma WSDL
-        <template_with_fit_vars>
-            <xsl:copy-of select="$template_with_fit_vars"/>
-        </template_with_fit_vars>
-            <!-\-<template_with_fit_vars_xpath_check>
-                <xsl:copy-of select="$template_with_fit_vars//var"/>
-            </template_with_fit_vars_xpath_check>-\->
-            
-        <input_obj_with_xpath>
-            <xsl:copy-of select="$input_obj_with_xpath"/>
-        </input_obj_with_xpath>
-        </out>-->
-        <!--<xsl:result-document href="TO_PRINT_with_flat_values.dita">
-            <xsl:copy-of select="$template_with_fit_vars"/>
-        </xsl:result-document>-->
         <xsl:copy-of select="$template_with_fit_vars"/>
     </xsl:template>
     
@@ -129,7 +110,7 @@
                                      <!--1:<xsl:value-of select="$parent_obj//node()[@system_cache__appinfo:xpath=$xpath]/text()"/>-->
                                      <!--<xsl:value-of select="$parent_obj//node()[local-name()=$xpath]/text()"/>-->
                                      <!--V:<xsl:value-of select="$xpath"/>-->
-                                     <xsl:copy-of select="$parent_obj//node()[name()=$xpath]/text()"/>
+                                     <xsl:copy-of select="$parent_obj//node()[local-name()=$xpath]/text()"/>
                                  </xsl:when>
                                  <xsl:otherwise><xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute></xsl:otherwise>
                              </xsl:choose>

+ 2 - 2
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/build.xml

@@ -89,12 +89,12 @@
         
        
         
-       <!-- <echo> gues path of pdf is url = ${url} </echo>
+        
         <exec  executable="bash" dir="." outputproperty="url_of_current_script">
             <arg value="-c"/>
             <arg value="echo &quot;${url}&quot; |sed -E 's/((wfs.data)|(index.php)).*//'"/>
         </exec>
-        <echo>  url_of_current_script : ${url_of_current_script}  </echo>-->
+        
         
         
         

+ 0 - 11
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/copy-no-xml.xsl

@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    exclude-result-prefixes="xs"
-    version="2.0">
-    <xsl:output omit-xml-declaration="yes" indent="yes"/>
-    <xsl:template match="*">
-        <xsl:copy-of select="."/>
-    </xsl:template>
-    
-</xsl:stylesheet>

+ 5 - 4
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/main.dita

@@ -19,16 +19,16 @@
         <tbody>
           <row>
             <entry>Adres:</entry>
-            <entry xpath="default_db__x3A__IN7_DZIENNIK_KORESP:OD_KOGO_ADRES"/>
+            <entry xpath="OD_KOGO_ADRES"/>
           </row>
           <row>
             <entry>Wasz znak</entry>
-            <entry xpath="default_db__x3A__IN7_DZIENNIK_KORESP:K_NR_OTRZYM_KORESP"/>
+            <entry xpath="K_NR_OTRZYM_KORESP"/>
           </row>
         </tbody>
       </tgroup>
     </table>
-    <p>Druga tabela - przetwarzanie tresci z data-about/data</p>
+    <!--<p>Druga tabela - przetwarzanie tresci z data-about/data</p>-->
     <!--<table frame="all" rowsep="1" colsep="1" id="table_uh2_3qg_vxz">
       <title>Nagłówek</title>
       <tgroup cols="2" align="right">
@@ -61,7 +61,8 @@
         </tbody>
       </tgroup>
     </table>-->
-    <p xpath="default_db__x3A__IN7_DZIENNIK_KORESP:K_ZAWARTOS">Treść: <data>test data</data>
+    Treść: 
+    <p xpath="K_ZAWARTOS">
     </p>
    <!-- <data-about>
       <data><apiname base="PROCES_INCLUDE">1607</apiname></data>