Parcourir la source

remote update

a.binder il y a 9 ans
Parent
commit
e0e52ffa66

+ 22 - 0
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/IN7_DZIENNIK_KORESP.xsl

@@ -40,6 +40,7 @@
     <xsl:template match="wfs:FeatureCollection|gml:featureMember">
         <xsl:apply-templates/>
     </xsl:template>
+    
    
     <!-- todo add prefix default_db__x3A__IN7_DZIENNIK_KORESP: -->
     <xsl:template match="IN7_DZIENNIK_KORESP|default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP|p5_default_db:IN7_DZIENNIK_KORESP|default_db:in7_dziennik_koresp"> <!-- default_db__x3A__IN7_DZIENNIK_KORESP:IN7_DZIENNIK_KORESP|p5_default_db:IN7_DZIENNIK_KORESP| -->
@@ -50,6 +51,7 @@
                 <xsl:with-param name="system_cache__appinfo:curr_xpath" select="name()"/>
             </xsl:apply-templates>
         </xsl:variable>
+        
         <xsl:variable name="template_with_fit_vars">
             <xsl:apply-templates mode="Procesy5_dita_assingn_values_x_path" select="$dita_task_template_file"> <!-- exslt:node-set($-->
                 <xsl:with-param name="parent_obj" select="$input_obj_with_xpath"/>
@@ -64,6 +66,18 @@
         <xsl:value-of select="name()" />-->
     </xsl:template>
     
+    
+    <xsl:template match="topic" mode="Procesy5_dita_assingn_values_x_path">
+        <xsl:param name="parent_obj"  />
+        <topic>
+            <xsl:attribute name="xsi:noNamespaceSchemaLocation" select="'urn:oasis:names:tc:dita:xsd:task.xsd'"/>
+            <!--<xsl:copy-of select="@*"/>-->
+            <xsl:apply-templates mode="Procesy5_dita_assingn_values_x_path">
+                <xsl:with-param name="parent_obj"  select="$parent_obj"/>
+            </xsl:apply-templates>
+        </topic>
+    </xsl:template>
+    
     <xsl:template mode="system_cache__appinfo:add_xpath_path_to_elements" match="*">
         <xsl:param name="system_cache__appinfo:curr_xpath"/>
         <xsl:variable name="system_cache__appinfo:curr_xpath_tmpl">
@@ -93,6 +107,14 @@
         <xsl:param name="parent_obj"  /><!-- glowny obiekt z ktorego beda brane wartosci do podstawiania -->
          <xsl:for-each select=".">
              <xsl:choose>
+                 <!--<xsl:when test="node()='topic'">asdad</xsl:when>-->
+                 <xsl:when test="name()='RelatedFeature'">
+                     <xsl:for-each select="data/apiname[@base='PROCES_INCLUDE']">
+                         <xsl:apply-templates mode="PROCES_INCLUDE">
+                             <xsl:with-param name="ID_PROCES" select="text()"/>
+                         </xsl:apply-templates>
+                     </xsl:for-each>
+                 </xsl:when>
                  <xsl:when test="name()='data-about'">
                      <xsl:for-each select="data/apiname[@base='PROCES_INCLUDE']">
                          <xsl:apply-templates mode="PROCES_INCLUDE">

+ 15 - 2
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/main.dita

@@ -1,10 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <topic id="untitled4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="../../../topicProcesy5.xsd">
-  <title><ph>Pismo nr </ph><ph xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_PROJECT"/>-<ph xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID"/>
+  <title><ph>Pismo nr </ph><ph xpath="ID_PROJECT"/><ph>-</ph><ph xpath="ID"/>
     <ph>z dnia</ph>
-    <ph xpath="default_db__x3A__IN7_DZIENNIK_KORESP:K_DATA_OTRZYMANEJ_KORESP"/></title>
+    <ph xpath="K_DATA_OTRZYMANEJ_KORESP"/></title>
   <body>
+    <codeblock>
+      <RelatedFeature xpath="ID_BILLING_OWNER" typeName="p5_default_db:BILLING_OWNER">
+        
+        <ph>Nadawca:</ph><br/>
+        <ph xpath="name1"/><br/>
+        <ph xpath="name2"/><br/>
+        <ph xpath="miasto"/><br/>
+        <ph xpath="nr_rach"/><br/>
+        <ph xpath="BILLING_OWNER_EMAIL"/><br/>
+        
+      </RelatedFeature></codeblock>
+    
+    
     <table frame="all" rowsep="1" colsep="1" id="table_uh2_3qg_vx">
       <title>Nagłówek</title>
       <tgroup cols="2" align="right">