Przeglądaj źródła

fixingmerged cd

a.binder 6 lat temu
rodzic
commit
da94161169
21 zmienionych plików z 1890 dodań i 628 usunięć
  1. 18 0
      SE/schema/WPS_Functions/apple/build.p5apl.INSTALL.xml
  2. 29 5
      SE/schema/WPS_Functions/default_db/CRM_PROCES_tree/build_CRM_PROCES_tree.xml
  3. 25 2
      SE/schema/WPS_Functions/dita-ot/build.dita-ot.chm-pdf.xml
  4. 13 1
      SE/schema/WPS_Functions/get_wfs_recurse_xsl/build_get_wfs_recurse_xsl.xml
  5. 45 23
      SE/schema/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.xsl
  6. 412 175
      SE/schema/ant-object/default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd
  7. 339 102
      SE/schema/ant-object/default_db.Dzialki/Dzialki/Dzialki.xsd
  8. 297 289
      SE/schema/ant-url_action/default_db.in7_dziennik_koresp/pismo/GRAFIK_PRACY_view.dita
  9. 424 0
      SE/schema/ant-url_action/default_db.in7_dziennik_koresp/pismo/GRAFIK_PRACY_view.ditamap
  10. 118 15
      SE/schema/build.xml
  11. 3 1
      SE/schema/default_db_xml_cache.public/default_db/BI_audit_BENFORD/default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.xsl
  12. 4 2
      SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl
  13. 4 2
      SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors/BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors_tree_to_dita.xsl
  14. 3 1
      SE/schema/default_db_xml_cache.public/default_db/CRM_PROCES/PROCES_INIT_tree_to_dita.xsl
  15. 4 2
      SE/schema/default_db_xml_cache.public/default_db/EXAMPLE/EXAMPLE_tree_to_dita.xsl
  16. 3 1
      SE/schema/default_db_xml_cache.public/default_db/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI_tree_to_dita.xsl
  17. 59 0
      SE/schema/default_db_xml_cache.public/default_db/get_wfs_recurse_xsl.RelatedFeature.preprocess.xsl
  18. 34 7
      SE/schema/default_db_xml_cache.public/default_db/tree_to_dita.xsl
  19. 22 0
      SE/schema/default_db_xml_cache.public/escape_functions/escape_object_prefix_to_string.xsl
  20. 22 0
      SE/schema/default_db_xml_cache.public/escape_functions/translate_object_escaped_prefix_from_string.xsl
  21. 12 0
      SE/schema/p5build.xsl

+ 18 - 0
SE/schema/WPS_Functions/apple/build.p5apl.INSTALL.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="../../." default="INSTALL" name="p5apl.INSTALL">
+  <include file="build.p5apl.PRODUCT.xml" />
+  <include as="git" file="build.p5apl.INSTALL.git.xml" optional="yes" />
+  <include as="from_url" file="build.p5apl.INSTALL.from_url.xml" optional="yes" />
+  <property location="${p5apl.install}/install_example.file" name="p5apl.INSTALL.install_example" />
+  <condition property="p5apl.INSTALL.install_example.ifdef" taskname="INSTALL.install_example">
+    <not>
+      <available file="${p5apl.repository}/install_example.file" />
+    </not>
+  </condition>
+  <extension-point if="p5apl.git.url" name="git" />
+  <extension-point if="p5apl.from_url.url" name="from_url" />
+  <target depends="from_url,git,INSTALL.install_example" name="INSTALL" />
+  <target if="p5apl.INSTALL.install_example.ifdef" name="INSTALL.install_example">
+    <copy file="${p5apl.INSTALL.install_example}" tofile="${p5apl.install_example}" />
+  </target>
+</project>

+ 29 - 5
SE/schema/WPS_Functions/default_db/CRM_PROCES_tree/build_CRM_PROCES_tree.xml

@@ -263,8 +263,20 @@
     </target>
     
     
+    <target name="recurse_ant.basedir.out.uuid.out_task.dita.final_with_RelatedFeatureLoop.xml.property">
+        <property name="recurse_ant.basedir.out.uuid.out_task.dita.final_with_RelatedFeatureLoop.xml"  value="${recurse_ant.basedir.out}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop.xml"/>
+        <echo> #268 $recurse_ant.basedir.out.uuid.out_task.dita.final_with_RelatedFeatureLoop.xml set to ${recurse_ant.basedir.out.uuid.out_task.dita.final_with_RelatedFeatureLoop.xml}
+        </echo>
+    </target>
+    
+    
+    <target name="CRM_PROCES_tree_basedir.temp.uuid.uuid.ditamap.property">
+        <property name="CRM_PROCES_tree_basedir.temp.uuid.uuid.ditamap" value="${CRM_PROCES_tree_basedir.temp}/${uuid}/${uuid}.ditamap"/>
+        <echo>#275 $CRM_PROCES_tree_basedir.temp.uuid.uuid.ditamap set to ${CRM_PROCES_tree_basedir.temp.uuid.uuid.ditamap}</echo>
+    </target>
+    
     <!-- depends="p5suis.p5suis.say_queue_dir.waitfor" -->
-    <target name="default_db:PROCES_INIT:tree:dita"   description="To create .dita file by using tree_to_dita.xsl which includes PROCES_INIT_tree_to_dita.xsl and also PROJECTS etc. "> <!-- depends="read_build_properties" -->
+    <target name="default_db:PROCES_INIT:tree:dita" depends="recurse_ant.basedir.out.uuid.out_task.dita.final_with_RelatedFeatureLoop.xml.property,CRM_PROCES_tree_basedir.temp.uuid.uuid.ditamap.property"   description="To create .dita file by using tree_to_dita.xsl which includes PROCES_INIT_tree_to_dita.xsl and also PROJECTS etc. "> <!-- depends="read_build_properties" -->
         <echo>#260 top debug type -DCRM_PROCES_tree.debug=1 </echo>
         <delete dir="${CRM_PROCES_tree_basedir.temp}/${uuid}" />
         <mkdir dir="${CRM_PROCES_tree_basedir.temp}/${uuid}"/>
@@ -333,7 +345,8 @@
         <tempfile prefix="preprocess" suffix=".xml" property="preprocess" destdir="${CRM_PROCES_tree_basedir.temp}/${uuid}"/> <!-- mainly for gml images - may be more than one ! -->
        <!-- <parallel threadcount="2">-->
             <sequential>
-                <xslt basedir="${CRM_PROCES_tree_basedir.temp}" style="${tree_to_dita.xsl}" in="${recurse_ant.basedir.out}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop.xml"  out="${preprocess}"  >
+                <echo>#342 mode preprocess</echo>
+                <xslt basedir="${CRM_PROCES_tree_basedir.temp}" style="${tree_to_dita.xsl}" in="${recurse_ant.basedir.out.uuid.out_task.dita.final_with_RelatedFeatureLoop.xml}"  out="${preprocess}"  > <!-- ${recurse_ant.basedir.out}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop.xml -->
                     <factory name="net.sf.saxon.TransformerFactoryImpl"> 
                         <attribute name="http://saxon.sf.net/feature/configuration-file" value="${p5xsl.saxon.configuration.xml}"/><!-- In this case this must be the first attribute. -->
                         <!--<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>-->
@@ -368,6 +381,7 @@ For example if the parser supports a property http://apache.org/xml/properties/s
                     <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd}say_queue_dir" expression="${p5suis.say_queue_dir}"/>
                     <param name="p5exslt.math.xsl" expression="${p5exslt.math.xsl}"/>
                     <param name="bcgtht.clousure.xsd" expression="${bcgtht.clousure.xsd}"/>
+                    <xmlcatalog refid="dita-ot.dtd.catalog"/>
                     <!--<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/bocian-graph-to-html/bcgtht.xsd}repository" expression="${bcgtht.repository}"/>-->
                 </xslt>
                 <!--<echo>#324 touching $p5suis.say_queue_dir.waitfor.finished.touch ${p5suis.say_queue_dir.waitfor.finished.touch} </echo>-->
@@ -403,6 +417,9 @@ For example if the parser supports a property http://apache.org/xml/properties/s
         <tempfile prefix="build_preprocess" suffix=".xml" property="build_preprocess" destdir="${CRM_PROCES_tree_basedir.temp}/${uuid}"/>
         
             <!-- TODO WAIT TASK TO COMMUNICATION SAY OBSLUZYC - COMPLY -->
+        
+        <echo>#414 mode {http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}preprocess</echo>
+        
             <xslt basedir="${CRM_PROCES_tree_basedir.temp}" style="${postprocess.xsl}" in="${preprocess}"  out="${build_preprocess}">
                 <factory name="net.sf.saxon.TransformerFactoryImpl">    
                     <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
@@ -417,6 +434,7 @@ For example if the parser supports a property http://apache.org/xml/properties/s
                 <param name="p5suis.say_queue_dir.waitfor" expression="${p5suis.say_queue_dir}"/>
                 <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd}say_queue_dir" expression="${p5suis.say_queue_dir}"/>
                 <param name="bcgtht.clousure.xsd" expression="${bcgtht.clousure.xsd}"/>
+                <xmlcatalog refid="dita-ot.dtd.catalog"/>
             </xslt>
           
                 
@@ -430,9 +448,9 @@ For example if the parser supports a property http://apache.org/xml/properties/s
         </ant>
         <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
         
+        <echo>#444 mode default</echo>
         
-        
-        <xslt basedir="${CRM_PROCES_tree_basedir.temp}" style="${tree_to_dita.xsl}" in="${recurse_ant.basedir.out}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop.xml"  out="${CRM_PROCES_tree_basedir.temp}/${uuid}/${uuid}.ditamap"  force="true">
+        <xslt basedir="${CRM_PROCES_tree_basedir.temp}" style="${tree_to_dita.xsl}" in="${recurse_ant.basedir.out.uuid.out_task.dita.final_with_RelatedFeatureLoop.xml}"  out="${CRM_PROCES_tree_basedir.temp.uuid.uuid.ditamap}"  force="true"><!--out="${CRM_PROCES_tree_basedir.temp}/${uuid}/${uuid}.ditamap" in="${recurse_ant.basedir.out}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop.xml" -->
             <factory name="net.sf.saxon.TransformerFactoryImpl">    
                 <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                 <!--<attribute name="http://saxon.sf.net/feature/initialMode" value="RelatedFeatureRoot"/>-->
@@ -444,12 +462,16 @@ For example if the parser supports a property http://apache.org/xml/properties/s
             <param name="TargetNamespaceBindings" expression="${TargetNamespaceBindings}"/> <!-- to use for referenced process to URL https://biuro.biall-net.pl/SE/version-git/procesy5.php?task=PROCES_VIEW_LIST&HIDE_PANEL=0&show_big_img=1&group_stanowiska=1&id_proces=5609 -->
             <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd}say_queue_dir" expression="${p5suis.say_queue_dir}"/>
             <param name="bcgtht.clousure.xsd" expression="${bcgtht.clousure.xsd}"/>
+            <xmlcatalog refid="dita-ot.dtd.catalog"/>
             <!--<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/bocian-graph-to-html/bcgtht.xsd}repository" expression="${bcgtht.repository}"/>-->
         </xslt>
 
         
         <tempfile prefix="postprocess" suffix=".xml" property="postprocess" destdir="${CRM_PROCES_tree_basedir.temp}/${uuid}"/>
-        <xslt basedir="${CRM_PROCES_tree_basedir.temp}" style="${tree_to_dita.xsl}" in="${recurse_ant.basedir.out}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop.xml"  out="${postprocess}"  >
+        
+        <echo>#441 mode postprocess</echo>
+        
+        <xslt basedir="${CRM_PROCES_tree_basedir.temp}" style="${tree_to_dita.xsl}" in="${recurse_ant.basedir.out.uuid.out_task.dita.final_with_RelatedFeatureLoop.xml}"  out="${postprocess}"  ><!-- ${recurse_ant.basedir.out}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop.xml -->
             <factory name="net.sf.saxon.TransformerFactoryImpl">    
                 <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                 <attribute name="http://saxon.sf.net/feature/initialMode" value="postprocess"/>
@@ -459,6 +481,7 @@ For example if the parser supports a property http://apache.org/xml/properties/s
             <param name="uuid" expression="${uuid}"/>
             <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd}say_queue_dir" expression="${p5suis.say_queue_dir}"/>
             <param name="bcgtht.clousure.xsd" expression="${bcgtht.clousure.xsd}"/>
+            <xmlcatalog refid="dita-ot.dtd.catalog"/>
             <!--<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/bocian-graph-to-html/bcgtht.xsd}repository" expression="${bcgtht.repository}"/>-->
         </xslt>
         
@@ -479,6 +502,7 @@ For example if the parser supports a property http://apache.org/xml/properties/s
             <param name="threadcount" expression="10"/>
             <param name="bcgtht.clousure.xsd" expression="${bcgtht.clousure.xsd}"/>
             <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd}say_queue_dir" expression="${p5suis.say_queue_dir}"/>
+            <xmlcatalog refid="dita-ot.dtd.catalog"/>
             <!--<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd}say_queue_dir" expression="${p5suis.say_queue_dir.waitfor}"/>-->
             <!--<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/bocian-graph-to-html/bcgtht.xsd}repository" expression="${bcgtht.repository}"/>-->
         </xslt>

+ 25 - 2
SE/schema/WPS_Functions/dita-ot/build.dita-ot.chm-pdf.xml

@@ -11,6 +11,7 @@
    <include file="build_dita-ot.input.xml" as="input"  />
     <!--<include file="../system_ui_info_speech/build_system_ui_info_speech.xml" as="p5suis"/>-->
     <include file="../ant-contrib/build_ant-contrib.xml" as="ant-contrib"/>
+    <include file="../apache_fop/build_apache_fop.xml"/>
     
     <target name="all" description="build CHM and PDF" depends="input.input,chm,pdf"/>
     
@@ -243,7 +244,22 @@
         <!-- jar="${ant-launcher.jar}" -->
         
         <taskdef resource="net/sf/antcontrib/antlib.xml"/>
-        <taskdef name="fop"
+        
+        <!--<taskdef name="fop"
+            classname="org.apache.fop.tools.anttasks.Fop">
+            <classpath>
+                <fileset dir="${apache_fop.current.home}/lib">
+                    <include name="*.jar"/>
+                </fileset>
+                <fileset dir="${apache_fop.current.home}/build">
+                    <include name="fop.jar"/>
+                    <include name="fop-hyph.jar" />
+                </fileset>
+            </classpath>
+        </taskdef>-->
+        
+        
+        <!--<taskdef name="org.apache.fop.tools.anttasks.Fop"
             classname="org.apache.fop.tools.anttasks.Fop">
             <classpath>
                 <fileset dir="${dita-ot.current-dita-ot.lib}">
@@ -255,7 +271,7 @@
                     <include name="avalon-framework-*.jar"/>
                 </fileset>
             </classpath>
-        </taskdef>
+        </taskdef>-->
         
       <!--  
         <trycatch reference="exception_ref">
@@ -294,6 +310,13 @@
                             <exclude name=".commons-logging-1.0.4.jar"/>
                             <exclude name="**/commons-logging-1.0.4.jar"/>
                         </fileset>
+                        <fileset dir="${apache_fop.current.home}/lib">
+                            <include name="*.jar"/>
+                        </fileset>
+                        <fileset dir="${apache_fop.current.home}/build">
+                            <include name="fop.jar"/>
+                            <include name="fop-hyph.jar" />
+                        </fileset>
                     </classpath>
                 </java>
         

+ 13 - 1
SE/schema/WPS_Functions/get_wfs_recurse_xsl/build_get_wfs_recurse_xsl.xml

@@ -97,7 +97,7 @@
         <ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>
         -->
         
-        <xslt basedir="${bgwrx.basedir}" style="${bgwrx.xsl}" in="${empty.xml}"  destdir="${bgwrx.temp}" out="${build_get_wfs_recurse_xsl.out.xml.local}" force="yes" > <!-- out_task.dita.final -->
+        <xslt basedir="${bgwrx.basedir}" style="${bgwrx.xsl}" in="${empty.xml}"  destdir="${bgwrx.temp}" out="${build_get_wfs_recurse_xsl.out.xml.local}.out" force="yes" > <!-- out_task.dita.final -->
             <factory name="net.sf.saxon.TransformerFactoryImpl">    
                 <!--<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>-->
                 <attribute name="http://saxon.sf.net/feature/initialTemplate" value="main"/>
@@ -116,6 +116,7 @@
             <param name="temp" expression="${bgwrx.temp}"/>
             <param name="simpleSchema_dir" expression="${simpleSchema_dir}"/> <!-- /Users/a.binder/Documents/xmlschema_procesy5/src-xmlschema/public_html/default_db.instance.xml/simpleSchema/ -->
             <param name="simpleSchema.xml" expression="${simpleSchema.xml}"/>
+            <param name="out_task.dita.final" expression="${build_get_wfs_recurse_xsl.out.xml.local}"/>
         </xslt>
         
         <exec executable="say"  spawn="true" failifexecutionfails="false">
@@ -691,6 +692,17 @@
         </antcall> 
     </target>
 
+    <target name="CRM_PROCES_6567.get_wfs_recurse_xsl.xml" depends="build_get_wfs_recurse_xsl.create_tempdir"> <!-- R read_build_properties, -->
+        <property name="uuid.local" value="CRM_PROCES_6567"/>
+        <antcall target="xml_recursed_from_tr_map">
+            <param name="typeName.local" value="CRM_PROCES"/>
+            <param name="uuid.local" value="CRM_PROCES_5934.get_wfs_recurse_xsl"/>
+            <param name="xpath.local" value="PARENT_ID"/>
+            <param name="xpath_value.local" value="6567"/>
+            <param name="build_get_wfs_recurse_xsl.out.xml.local" value="${bgwrx.temp}/${uuid.local}.get_wfs_recurse_xsl.out.xml"/>
+        </antcall> 
+    </target>
+    
     <target name="CRM_PROCES_5934.get_wfs_recurse_xsl.xml" depends="build_get_wfs_recurse_xsl.create_tempdir"> <!-- R read_build_properties, -->
         <property name="uuid.local" value="CRM_PROCES_5934"/>
         <antcall target="xml_recursed_from_tr_map">

+ 45 - 23
SE/schema/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.xsl

@@ -5,6 +5,8 @@
     xmlns:gml="http://www.opengis.net/gml"
     xmlns:ogc="http://www.opengis.net/ogc"
     xmlns:p5="https://biuro.biall-net.pl/wfs"
+    xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
     xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
     xmlns:get_wfs_recurse_xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl.xsd"
     xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
@@ -161,8 +163,8 @@
                         <xsl:value-of select="$typeName.object"/>
                     </xsl:when>
                     <xsl:otherwise>
-                        <xsl:message>#128-A set $typeName.local = <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/RelatedFeature/@typeName"/></xsl:message>
-                        <xsl:variable name="typeName.local" select="$get_wfs_recurse_xsl:GetsimpleSchema/RelatedFeature/@typeName"/>
+                        <xsl:message>#128-A set $typeName.local = <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature)/@typeName"/></xsl:message>
+                        <xsl:variable name="typeName.local" select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature)/@typeName"/>
                         <xsl:value-of select="concat( system_cache__appinfo:escape_object_prefix_to_string($typeName),':', system_cache__appinfo:clean_object_prefix($typeName))"/>
                         <xsl:message>#128-A-2 set result get_wfs_recurse_xsl:typeNameRealResource = <xsl:value-of select="concat( system_cache__appinfo:escape_object_prefix_to_string($typeName),':', system_cache__appinfo:clean_object_prefix($typeName))"/></xsl:message>
                     </xsl:otherwise>
@@ -170,11 +172,11 @@
             </xsl:when>
             <xsl:otherwise>
                 <xsl:choose>
-                    <xsl:when test="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|RelatedFeatureRoot)/@typeNameRealResource">
-                        <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|RelatedFeatureRoot)/@typeNameRealResource"/>
+                    <xsl:when test="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature|RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot)/@typeNameRealResource">
+                        <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature|RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot)/@typeNameRealResource"/>
                     </xsl:when>
                     <xsl:otherwise>
-                        <xsl:message terminate="yes">#145 SET $get_wfs_recurse_xsl:GetsimpleSchema/RelatedFeature/@typeNameRealResource param!
+                        <xsl:message terminate="yes">#145 SET $get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature)/@typeNameRealResource param!
                             in file <xsl:value-of select="$simpleSchema.xml"/>
                             <xsl:copy-of select="$get_wfs_recurse_xsl:GetsimpleSchema"/>
                         </xsl:message>
@@ -191,11 +193,11 @@
         <xsl:param name="get_wfs_recurse_xsl:GetsimpleSchema"/>
         
                 <xsl:choose>
-                    <xsl:when test="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|RelatedFeatureRoot)/@doctype-public">
-                        <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|RelatedFeatureRoot)/@doctype-public"/>
+                    <xsl:when test="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature|RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot)/@doctype-public">
+                        <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature|RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot)/@doctype-public"/>
                     </xsl:when>
                     <xsl:otherwise>
-                        <xsl:message terminate="no">#174 SET $get_wfs_recurse_xsl:GetsimpleSchema/RelatedFeature/@doctype-public param!
+                        <xsl:message terminate="no">#174 SET $get_wfs_recurse_xsl:GetsimpleSchema/RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature/@doctype-public param!
                             in file <xsl:value-of select="$simpleSchema.xml"/>
                             <xsl:copy-of select="$get_wfs_recurse_xsl:GetsimpleSchema"/>
                         </xsl:message>
@@ -208,11 +210,11 @@
         <xsl:param name="get_wfs_recurse_xsl:GetsimpleSchema"/>
         
         <xsl:choose>
-            <xsl:when test="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|RelatedFeatureRoot)/@doctype-system">
-                <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|RelatedFeatureRoot)/@doctype-system"/>
+            <xsl:when test="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature|RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot)/@doctype-system">
+                <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature|RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot)/@doctype-system"/>
             </xsl:when>
             <xsl:otherwise>
-                <xsl:message terminate="no">#174 SET $get_wfs_recurse_xsl:GetsimpleSchema/RelatedFeature/@doctype-system param!
+                <xsl:message terminate="no">#174 SET $get_wfs_recurse_xsl:GetsimpleSchema/RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature/@doctype-system param!
                     in file <xsl:value-of select="$simpleSchema.xml"/>
                     <xsl:copy-of select="$get_wfs_recurse_xsl:GetsimpleSchema"/>
                 </xsl:message>
@@ -223,7 +225,7 @@
     
     <xsl:function name="get_wfs_recurse_xsl:RelatedFilter">
         <xsl:param name="get_wfs_recurse_xsl:GetsimpleSchema"/>
-        <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeatureRoot|RelatedFeature)/RelatedFilter"/>
+        <xsl:value-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot|RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature)/RelatedFilter"/>
     </xsl:function>
     
     <xsl:template name="get_wfs_recurse_xsl:request_string">
@@ -308,7 +310,7 @@
         
     <xsl:function name="get_wfs_recurse_xsl:simpleTypeMakeOgcFilter">
         <xsl:param name="get_wfs_recurse_xsl:GetsimpleSchema"/>
-        <xsl:copy-of select="$get_wfs_recurse_xsl:GetsimpleSchema/RelatedFeature/simpleTypeMakeOgcFilter"/>
+        <xsl:copy-of select="$get_wfs_recurse_xsl:GetsimpleSchema/(RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature)/simpleTypeMakeOgcFilter"/>
     </xsl:function>
     
     <xsl:function name="get_wfs_recurse_xsl:xpath_dita">
@@ -1455,7 +1457,7 @@
     </xsl:template>-->    
     
     
-    <xsl:template mode="get_wfs_recurse_xsl:wfs_response_RelatedFeature" match="RelatedFeature[typeName|typeNameRealResource]">
+    <xsl:template mode="get_wfs_recurse_xsl:wfs_response_RelatedFeature" match="RelatedFeature[typeName|typeNameRealResource]|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature[typeName|typeNameRealResource]">
         <xsl:param name="get_wfs_recurse_xsl:typeNameRealResource" select="@typeNameRealResource"/>
         <xsl:param name="input_obj_with_xpath" required="yes"/>
         <xsl:param name="resolveDepth.current" required="yes"/>
@@ -1502,7 +1504,7 @@
     </xsl:template>
     
     
-    <xsl:template mode="get_wfs_recurse_xsl:wfs_response_RelatedFeature" name="get_wfs_recurse_xsl:wfs_response_RelatedFeature" match="RelatedFeature">
+    <xsl:template mode="get_wfs_recurse_xsl:wfs_response_RelatedFeature" name="get_wfs_recurse_xsl:wfs_response_RelatedFeature" match="RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature">
         <!--<xsl:param name="get_wfs_recurse_xsl:wfs_response" required="yes"/>-->
         <xsl:param name="get_wfs_recurse_xsl:typeNameRealResource" select="@typeNameRealResource"/>
         <xsl:param name="input_obj_with_xpath" required="yes"/>
@@ -1610,7 +1612,7 @@
     </xsl:template>
     
     
-    <xsl:template mode="get_wfs_recurse_xsl:wfs_response_RelatedFeatureLoop" match="RelatedFeature">
+    <xsl:template mode="get_wfs_recurse_xsl:wfs_response_RelatedFeatureLoop" match="RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature">
         <!--<xsl:param name="get_wfs_recurse_xsl:wfs_response" required="yes"/>-->
         <xsl:param name="get_wfs_recurse_xsl:typeNameRealResource" select="@typeNameRealResource"/>
         <xsl:param name="input_obj_with_xpath" required="yes"/>
@@ -1721,7 +1723,7 @@
     <xsl:template match="text()|comment()" mode="after_first_ant_assing_vars"/>
       
       
-      <xsl:template match="RelatedFeature" mode="after_first_ant_assing_vars">
+        <xsl:template match="RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature" mode="after_first_ant_assing_vars">
           <xsl:param name="loop_xpath" />
           <xsl:param name="get_wfs_recurse_xsl:wfs_response"  required="yes"/>
           <xsl:param name="resolveDepth.current" required="yes"/>
@@ -1736,10 +1738,16 @@
           <xsl:if test="number($debug) &gt; 2"><xsl:message>
                      {+}{+}{+}{+}{+}{+}{+}{+}{+}{+} #354 count($wfs_output_nodes//gml:featureMember) <xsl:value-of select="count($wfs_output_nodes//gml:featureMember)"/></xsl:message></xsl:if>
           <!-- tutaj jest blad przetwarzania ze wrzuca po rekordzie do kolumny - trzeba przetworzyc dla kazdego feature member -->
+            <xsl:variable name="get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy" select="@get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy"/>
             <xsl:for-each select="$wfs_output_nodes//gml:featureMember">
                 <!--<wfs_record>
                     <xsl:copy-of select="."/>
                 </wfs_record>-->
+                <xsl:choose>
+                    <xsl:when test="string-length($get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy) &gt;0">
+                        <xsl:apply-templates mode="get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy"/>
+                    </xsl:when>
+                </xsl:choose>
                 <xsl:variable name="input_obj_with_xpath">
                     <xsl:apply-templates mode="after_first_ant_assing_xpath" select="node()/*"/> <!-- zeby nie wstawial do xpath nazwy feature - IN7_DZIENNIK_KORESP/ID itp -->
                 </xsl:variable>
@@ -1759,9 +1767,23 @@
     </xsl:template>
     
     
+    <xsl:template mode="get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy" match="*">
+        <xsl:element name="{local-name()}">
+            <xsl:if test="parent::gml:featureMember">
+                <xsl:attribute name="get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy" select="true()"/>
+            </xsl:if>
+            <xsl:apply-templates mode="#current" select="@*"/>
+            <xsl:apply-templates mode="#current"/>
+        </xsl:element>
+    </xsl:template>
     
+    <xsl:template mode="get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy" match="@*">
+        <xsl:copy-of select="."/>
+    </xsl:template>
     
-    
+    <xsl:template mode="get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy" match="text()|comment()">
+        <xsl:copy-of select="."/>
+    </xsl:template>
     <!--<xsl:template match="wfs:FeatureCollection|gml:featureMember" mode="after_first_ant_assing_xpath">
         <xsl:apply-templates mode="after_first_ant_assing_xpath"/>
     </xsl:template>-->
@@ -1838,8 +1860,8 @@
     </xsl:template>
     
     
-    <xsl:template  match="typeName[parent::RelatedFeature]" mode="after_first_ant_assing_vars_childs"/>
-    <xsl:template  match="typeNameRealResource[parent::RelatedFeature]" mode="after_first_ant_assing_vars_childs"/>
+    <xsl:template  match="typeName[parent::RelatedFeature| parent::get_wfs_recurse_xsl.RelatedFeature:RelatedFeature]" mode="after_first_ant_assing_vars_childs"/>
+    <xsl:template  match="typeNameRealResource[parent::RelatedFeature| parent::get_wfs_recurse_xsl.RelatedFeature:RelatedFeature]" mode="after_first_ant_assing_vars_childs"/>
     
     <!-- przetwarzanie kolejne w celu podstawienia wartosci i wystawienia build dla kolejnych wezlow - problem z obsluga rownorzednie zagniezdzonych wezlow poprzez inne wezly -->
     
@@ -2017,11 +2039,11 @@
             </xsl:choose>
         </xsl:for-each>
     </xsl:template>
-    <xsl:template  match="RelatedFeature" mode="after_first_ant_assing_vars_childs">
+    <xsl:template  match="RelatedFeature|get_wfs_recurse_xsl.RelatedFeature:RelatedFeature" mode="after_first_ant_assing_vars_childs">
         <xsl:if test="number($debug) &gt; 2"><xsl:message>#1638 ignored @maxOccurs=<xsl:value-of select="@system_cache__appinfo:maxOccurs"/>; @typeName=<xsl:value-of select="@typeName"/>; @xml_id=<xsl:value-of select="@xml_id"/>;  </xsl:message></xsl:if>
     </xsl:template> <!-- to disable ignored maxOccurs=0 -->
     
-    <xsl:template  match="RelatedFeature[not(@system_cache__appinfo:maxOccurs='0') or not($ignore_maxOccurs_0)]" mode="after_first_ant_assing_vars_childs">
+    <xsl:template  match="RelatedFeature[not(@system_cache__appinfo:maxOccurs='0') or not($ignore_maxOccurs_0)] | get_wfs_recurse_xsl.RelatedFeature:RelatedFeature[not(@system_cache__appinfo:maxOccurs='0') or not($ignore_maxOccurs_0)]" mode="after_first_ant_assing_vars_childs">
         <xsl:param name="input_obj_with_xpath" required="yes"/>
         <xsl:param name="xml_id_parent" required="yes"/>
         <xsl:param name="loop_xpath"  />
@@ -2177,7 +2199,7 @@
         <xsl:value-of select="$TestMaxOccurs"/>
     </xsl:template>
     
-    <xsl:template match="RelatedFeatureRoot" mode="anonimize_for_devel">
+    <xsl:template match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot" mode="anonimize_for_devel">
         <wfs:FeatureCollection>
             <xsl:apply-templates mode="anonimize_for_devel.featureMember" />
         </wfs:FeatureCollection>

Plik diff jest za duży
+ 412 - 175
SE/schema/ant-object/default_db.BUILDINGS/BUILDINGS/BUILDINGS.xsd


+ 339 - 102
SE/schema/ant-object/default_db.Dzialki/Dzialki/Dzialki.xsd

@@ -11,12 +11,17 @@
            xmlns:default_db__x3A__CRM_LISTA_ZASOBOW="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
            xmlns:default_db__x3A__Dzialki="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
            xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
+           xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+           xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
            xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
            xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
            xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-           xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
-           xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
+           xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
+           xmlns:ant-object="http://biuro.biall-net.pl/xmlschema_procesy5/ant-object/ant-object.xsd"
+           xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
            targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
            vc:minVersion="1.1">
    <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
@@ -33,7 +38,7 @@
               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
               schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
-   <xs:simpleType name="INWDZ__typ_dzialki">
+   <xs:simpleType name="INWDZ__typ_dzialki" id="_3A__Dzialki___d18e10465-1_INWDZ__typ">
       <xs:restriction base="xs:string">
          <xs:enumeration value=""/>
          <xs:enumeration value="DROGA"/>
@@ -49,7 +54,9 @@
          <xs:enumeration value="WOJEWÓDZKA"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="Dzialki" system_cache__appinfo:primaryKey="ID">
+   <xs:complexType name="Dzialki"
+                   system_cache__appinfo:primaryKey="ID"
+                   id="_3A__Dzialki___d18e10480-1_Dzialki"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -67,23 +74,36 @@
             rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz
             realizacji. </xs:documentation>
       </xs:annotation>
-      <xs:sequence>
-         <xs:element name="ID" type="xs:int"/>
-         <xs:element name="the_geom" type="gml:AbstractFeatureType">
+      <xs:sequence id="_3A__Dzialki___d18e10491-1">
+         <xs:element name="ID" type="xs:int" id="_3A__Dzialki___d18e10492-1_ID"/>
+         <xs:element name="the_geom"
+                     type="p5Type:polygon"
+                     id="_3A__Dzialki___d18e10493-1_the_geom"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                   polygon
                   KONIECZNIE UZUPELNIONE</xs:documentation>
             </xs:annotation>
          </xs:element>
-         <xs:element minOccurs="0" name="A_STATUS_INFO" type="xs:string"/>
-         <xs:element minOccurs="0" name="opis" type="xs:string">
+         <xs:element minOccurs="0"
+                     name="A_STATUS_INFO"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10497-1_A_STATUS_I"/>
+         <xs:element minOccurs="0"
+                     name="opis"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10498-1_opis"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
             </xs:annotation>
          </xs:element>
-         <xs:element minOccurs="0" name="ID_ZASOB" type="xs:int"/>
-         <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB" minOccurs="0">
+         <xs:element minOccurs="0"
+                     name="ID_ZASOB"
+                     type="xs:int"
+                     id="_3A__Dzialki___d18e10502-1_ID_ZASOB"/>
+         <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB"
+                     minOccurs="0"
+                     id="_3A__Dzialki___d18e10503-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
@@ -97,10 +117,21 @@
                 </xs:documentation>
             </xs:annotation>
          </xs:element>
-         <xs:element minOccurs="0" name="Dlugosc" type="xs:double"/>
-         <xs:element minOccurs="0" name="Powierzchnia" type="xs:double"/>
-         <xs:element minOccurs="0" name="L_APPOITMENT_USER" type="xs:string"/>
-         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+         <xs:element minOccurs="0"
+                     name="Dlugosc"
+                     type="xs:double"
+                     id="_3A__Dzialki___d18e10510-1_Dlugosc"/>
+         <xs:element minOccurs="0"
+                     name="Powierzchnia"
+                     type="xs:double"
+                     id="_3A__Dzialki___d18e10511-1_Powierzchn"/>
+         <xs:element minOccurs="0"
+                     name="L_APPOITMENT_USER"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10512-1_L_APPOITME"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"
+                     minOccurs="0"
+                     id="_3A__Dzialki___d18e10513-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
@@ -123,7 +154,10 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-         <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string"/>
+         <xs:element minOccurs="0"
+                     name="A_CLASSIFIED"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10522-1_A_CLASSIFI"/>
          <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
             id="cza_Dzialki___d4e6461-1">
             <xs:annotation>
@@ -134,7 +168,10 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-         <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string"/>
+         <xs:element minOccurs="0"
+                     name="A_ADM_COMPANY"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10524-1_A_ADM_COMP"/>
          <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
             id="cza_Dzialki___d4e6467-1">
             <xs:annotation>
@@ -145,8 +182,13 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-         <xs:element minOccurs="0" name="ID_PROJECT" type="xs:int"/>
-         <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
+         <xs:element minOccurs="0"
+                     name="ID_PROJECT"
+                     type="xs:int"
+                     id="_3A__Dzialki___d18e10526-1_ID_PROJECT"/>
+         <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT"
+                     minOccurs="0"
+                     id="_3A__Dzialki___d18e10527-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
@@ -160,8 +202,13 @@
                 </xs:documentation>
             </xs:annotation>
          </xs:element>
-         <xs:element minOccurs="0" name="ID_BILLING_USERS" type="xs:int"/>
-         <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" minOccurs="0">
+         <xs:element minOccurs="0"
+                     name="ID_BILLING_USERS"
+                     type="xs:int"
+                     id="_3A__Dzialki___d18e10534-1_ID_BILLING"/>
+         <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                     minOccurs="0"
+                     id="_3A__Dzialki___d18e10535-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
@@ -171,60 +218,115 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>
-         <xs:element minOccurs="0" name="IDENTYFIKATOR" type="xs:string">
+         <xs:element minOccurs="0"
+                     name="IDENTYFIKATOR"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10540-1_IDENTYFIKA"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:documentation>e.g. 220405_2.0003.AR_2.94/2</xs:documentation>
             </xs:annotation>
          </xs:element>
-         <xs:element minOccurs="0" name="OBREB" type="xs:string">
+         <xs:element minOccurs="0"
+                     name="OBREB"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10544-1_OBREB"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:documentation>e.g. Ostrołęka</xs:documentation>
             </xs:annotation>
          </xs:element>
-         <xs:element minOccurs="0" name="NUMER" type="xs:string">
+         <xs:element minOccurs="0"
+                     name="NUMER"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10548-1_NUMER"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
             <xs:annotation>
                <xs:documentation>e.g. 94/2</xs:documentation>
             </xs:annotation>
          </xs:element>
-         <xs:element minOccurs="0" name="P_NAME" type="xs:string"/>
-         <xs:element minOccurs="0" name="P_NAME_SECOND" type="xs:string"/>
-         <xs:element minOccurs="0" name="P_NIP" type="xs:string"/>
-         <xs:element minOccurs="0" name="P_PESEL" type="xs:string"/>
-         <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
-         <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
-         <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
+         <xs:element minOccurs="0"
+                     name="P_NAME"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10553-1_P_NAME"/>
+         <xs:element minOccurs="0"
+                     name="P_NAME_SECOND"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10554-1_P_NAME_SEC"/>
+         <xs:element minOccurs="0"
+                     name="P_NIP"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10555-1_P_NIP"/>
+         <xs:element minOccurs="0"
+                     name="P_PESEL"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10556-1_P_PESEL"/>
+         <xs:element minOccurs="0"
+                     name="P_OTHER_DOC"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10557-1_P_OTHER_DO"/>
+         <xs:element minOccurs="0"
+                     name="P_PHONE"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10558-1_P_PHONE"/>
+         <xs:element minOccurs="0"
+                     name="P_ADDRESS"
+                     type="xs:string"
+                     id="_3A__Dzialki___d18e10559-1_P_ADDRESS"/>
          <xs:element name="INWDZ__typ_dzialki"
                      minOccurs="0"
-                     type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
+                     type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"
+                     id="_3A__Dzialki___d18e10560-1_INWDZ__typ"/>
       </xs:sequence>
-      <xs:assert test="P_NAME = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME"/>
-      <xs:assert test="P_NAME_SECOND = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME_SECOND"/>
-      <xs:assert test="P_NIP = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NIP"/>
-      <xs:assert test="P_PESEL = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PESEL"/>
-      <xs:assert test="P_OTHER_DOC = default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
-      <xs:assert test="P_PHONE = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PHONE"/>
-      <xs:assert test="P_ADDRESS = default_db__x3A__COMPANIES:ID_BILLING_USERS/concat(P_ADDRESS_POST_CODE, ' ', P_ADDRESS_CITY, ' ', P_ADDRESS_STREET, ' ', P_ADDRESS_HOME, '/', P_ADDRESS_HOUSE)"/>
+      <xs:assert test="P_NAME = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME"
+                 id="_3A__Dzialki___d18e10561-1"/>
+      <xs:assert test="P_NAME_SECOND = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME_SECOND"
+                 id="_3A__Dzialki___d18e10562-1"/>
+      <xs:assert test="P_NIP = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NIP"
+                 id="_3A__Dzialki___d18e10563-1"/>
+      <xs:assert test="P_PESEL = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PESEL"
+                 id="_3A__Dzialki___d18e10564-1"/>
+      <xs:assert test="P_OTHER_DOC = default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                 id="_3A__Dzialki___d18e10565-1"/>
+      <xs:assert test="P_PHONE = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PHONE"
+                 id="_3A__Dzialki___d18e10566-1"/>
+      <xs:assert test="P_ADDRESS = default_db__x3A__COMPANIES:ID_BILLING_USERS/concat(P_ADDRESS_POST_CODE, ' ', P_ADDRESS_CITY, ' ', P_ADDRESS_STREET, ' ', P_ADDRESS_HOME, '/', P_ADDRESS_HOUSE)"
+                 id="_3A__Dzialki___d18e10567-1"/>
    </xs:complexType>
-   <xs:element name="Dzialki" type="default_db__x3A__Dzialki:Dzialki"/>
-   <xs:complexType name="Dzialki_Known" system_cache__appinfo:primaryKey="ID">
-      <xs:complexContent>
+   <xs:element name="Dzialki"
+               type="default_db__x3A__Dzialki:Dzialki"
+               id="_3A__Dzialki___d18e10568-1_Dzialki"/>
+   <xs:complexType name="Dzialki_Known"
+                   system_cache__appinfo:primaryKey="ID"
+                   id="_3A__Dzialki___d18e10569-1_Dzialki_Kn">
+      <xs:complexContent id="_3A__Dzialki___d18e10570-1">
          <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
-            <xs:sequence>
-               <xs:element name="ID" type="xs:int"/>
-               <xs:element name="the_geom" type="gml:AbstractFeatureType">
+            <xs:sequence id="_3A__Dzialki___d18e10572-1">
+               <xs:element name="ID" type="xs:int" id="_3A__Dzialki___d18e10573-1_ID"/>
+               <xs:element name="the_geom"
+                  type="p5Type:polygon"
+                           id="_3A__Dzialki___d18e10574-1_the_geom"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                   polygon</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="A_STATUS_INFO" type="xs:string"/>
-               <xs:element minOccurs="0" name="opis" type="xs:string">
+               <xs:element minOccurs="0"
+                           name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10578-1_A_STATUS_I"/>
+               <xs:element minOccurs="0"
+                           name="opis"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10579-1_opis"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="ID_ZASOB" type="xs:int"/>
-               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB" minOccurs="0">
+               <xs:element minOccurs="0"
+                           name="ID_ZASOB"
+                           type="xs:int"
+                           id="_3A__Dzialki___d18e10583-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB"
+                           minOccurs="0"
+                           id="_3A__Dzialki___d18e10584-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
@@ -238,10 +340,21 @@
                 </xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="Dlugosc" type="xs:double"/>
-               <xs:element minOccurs="0" name="Powierzchnia" type="xs:double"/>
-               <xs:element minOccurs="0" name="L_APPOITMENT_USER" type="xs:string"/>
-               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+               <xs:element minOccurs="0"
+                           name="Dlugosc"
+                           type="xs:double"
+                           id="_3A__Dzialki___d18e10591-1_Dlugosc"/>
+               <xs:element minOccurs="0"
+                           name="Powierzchnia"
+                           type="xs:double"
+                           id="_3A__Dzialki___d18e10592-1_Powierzchn"/>
+               <xs:element minOccurs="0"
+                           name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10593-1_L_APPOITME"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"
+                           minOccurs="0"
+                           id="_3A__Dzialki___d18e10594-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
@@ -264,7 +377,10 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-               <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string"/>
+               <xs:element minOccurs="0"
+                           name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10603-1_A_CLASSIFI"/>
                <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
             id="cza_Dzialki___d4e6461-1">
             <xs:annotation>
@@ -275,7 +391,10 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-               <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string"/>
+               <xs:element minOccurs="0"
+                           name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10605-1_A_ADM_COMP"/>
                <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
             id="cza_Dzialki___d4e6467-1">
             <xs:annotation>
@@ -286,8 +405,13 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-               <xs:element minOccurs="0" name="ID_PROJECT" type="xs:int"/>
-               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
+               <xs:element minOccurs="0"
+                           name="ID_PROJECT"
+                           type="xs:int"
+                           id="_3A__Dzialki___d18e10607-1_ID_PROJECT"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT"
+                           minOccurs="0"
+                           id="_3A__Dzialki___d18e10608-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
@@ -301,8 +425,13 @@
                 </xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="1" name="ID_BILLING_USERS" type="xs:int"/>
-               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" minOccurs="1">
+               <xs:element minOccurs="1"
+                           name="ID_BILLING_USERS"
+                           type="xs:int"
+                           id="_3A__Dzialki___d18e10615-1_ID_BILLING"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                           minOccurs="1"
+                           id="_3A__Dzialki___d18e10616-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
@@ -312,59 +441,107 @@
                      </xs:appinfo>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="IDENTYFIKATOR" type="xs:string">
+               <xs:element minOccurs="0"
+                           name="IDENTYFIKATOR"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10621-1_IDENTYFIKA"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>e.g. 220405_2.0003.AR_2.94/2</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="1" name="OBREB" type="xs:string">
+               <xs:element minOccurs="1"
+                           name="OBREB"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10625-1_OBREB"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>e.g. Ostrołęka</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="1" name="NUMER" type="xs:string">
+               <xs:element minOccurs="1"
+                           name="NUMER"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10629-1_NUMER"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>e.g. 94/2</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="P_NAME" type="xs:string"/>
-               <xs:element minOccurs="1" name="P_NAME_SECOND" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_NIP" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_PESEL" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
-               <xs:element minOccurs="1" name="P_ADDRESS" type="xs:string">
+               <xs:element minOccurs="0"
+                           name="P_NAME"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10634-1_P_NAME"/>
+               <xs:element minOccurs="1"
+                           name="P_NAME_SECOND"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10635-1_P_NAME_SEC"/>
+               <xs:element minOccurs="0"
+                           name="P_NIP"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10636-1_P_NIP"/>
+               <xs:element minOccurs="0"
+                           name="P_PESEL"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10637-1_P_PESEL"/>
+               <xs:element minOccurs="0"
+                           name="P_OTHER_DOC"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10638-1_P_OTHER_DO"/>
+               <xs:element minOccurs="0"
+                           name="P_PHONE"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10639-1_P_PHONE"/>
+               <xs:element minOccurs="1"
+                           name="P_ADDRESS"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10640-1_P_ADDRESS"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>assert - concat adresu</xs:documentation>
                   </xs:annotation>
                </xs:element>
                <xs:element name="INWDZ__typ_dzialki"
                            minOccurs="0"
-                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
+                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"
+                           id="_3A__Dzialki___d18e10644-1_INWDZ__typ"/>
             </xs:sequence>
          </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
-   <xs:element name="Dzialki_Known" type="default_db__x3A__Dzialki:Dzialki_Known"/>
-   <xs:complexType name="Dzialki_Unknown" system_cache__appinfo:primaryKey="ID">
-      <xs:complexContent>
+   <xs:element name="Dzialki_Known"
+               type="default_db__x3A__Dzialki:Dzialki_Known"
+               id="_3A__Dzialki___d18e10646-1_Dzialki_Kn"/>
+   <xs:complexType name="Dzialki_Unknown"
+                   system_cache__appinfo:primaryKey="ID"
+                   id="_3A__Dzialki___d18e10647-1_Dzialki_Un">
+      <xs:complexContent id="_3A__Dzialki___d18e10648-1">
          <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
-            <xs:sequence>
-               <xs:element name="ID" type="xs:int"/>
-               <xs:element name="the_geom" type="gml:AbstractFeatureType">
+            <xs:sequence id="_3A__Dzialki___d18e10650-1">
+               <xs:element name="ID" type="xs:int" id="_3A__Dzialki___d18e10651-1_ID"/>
+               <xs:element name="the_geom"
+                  type="p5Type:polygon"
+                           id="_3A__Dzialki___d18e10652-1_the_geom"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>Dane geograficzne obiektu - linia, punkt,
                   polygon</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="A_STATUS_INFO" type="xs:string"/>
-               <xs:element minOccurs="0" name="opis" type="xs:string">
+               <xs:element minOccurs="0"
+                           name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10656-1_A_STATUS_I"/>
+               <xs:element minOccurs="0"
+                           name="opis"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10657-1_opis"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="ID_ZASOB" type="xs:int"/>
-               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB" minOccurs="0">
+               <xs:element minOccurs="0"
+                           name="ID_ZASOB"
+                           type="xs:int"
+                           id="_3A__Dzialki___d18e10661-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB"
+                           minOccurs="0"
+                           id="_3A__Dzialki___d18e10662-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
@@ -378,10 +555,21 @@
                 </xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="Dlugosc" type="xs:double"/>
-               <xs:element minOccurs="0" name="Powierzchnia" type="xs:double"/>
-               <xs:element minOccurs="0" name="L_APPOITMENT_USER" type="xs:string"/>
-               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
+               <xs:element minOccurs="0"
+                           name="Dlugosc"
+                           type="xs:double"
+                           id="_3A__Dzialki___d18e10669-1_Dlugosc"/>
+               <xs:element minOccurs="0"
+                           name="Powierzchnia"
+                           type="xs:double"
+                           id="_3A__Dzialki___d18e10670-1_Powierzchn"/>
+               <xs:element minOccurs="0"
+                           name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10671-1_L_APPOITME"/>
+               <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"
+                           minOccurs="0"
+                           id="_3A__Dzialki___d18e10672-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
@@ -404,7 +592,10 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-               <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string"/>
+               <xs:element minOccurs="0"
+                           name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10681-1_A_CLASSIFI"/>
                <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
             id="cza_Dzialki___d4e6461-1">
             <xs:annotation>
@@ -415,7 +606,10 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-               <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string"/>
+               <xs:element minOccurs="0"
+                           name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10683-1_A_ADM_COMP"/>
                <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
             id="cza_Dzialki___d4e6467-1">
             <xs:annotation>
@@ -426,8 +620,13 @@
                </xs:appinfo>
             </xs:annotation>
          </xs:element>-->
-               <xs:element minOccurs="0" name="ID_PROJECT" type="xs:int"/>
-               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
+               <xs:element minOccurs="0"
+                           name="ID_PROJECT"
+                           type="xs:int"
+                           id="_3A__Dzialki___d18e10685-1_ID_PROJECT"/>
+               <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT"
+                           minOccurs="0"
+                           id="_3A__Dzialki___d18e10686-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
@@ -441,8 +640,13 @@
                 </xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="1" name="ID_BILLING_USERS" type="xs:int"/>
-               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" minOccurs="1">
+               <xs:element minOccurs="1"
+                           name="ID_BILLING_USERS"
+                           type="xs:int"
+                           id="_3A__Dzialki___d18e10693-1_ID_BILLING"/>
+               <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS"
+                           minOccurs="1"
+                           id="_3A__Dzialki___d18e10694-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
@@ -452,34 +656,67 @@
                      </xs:appinfo>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="IDENTYFIKATOR" type="xs:string">
+               <xs:element minOccurs="0"
+                           name="IDENTYFIKATOR"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10699-1_IDENTYFIKA"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>e.g. 220405_2.0003.AR_2.94/2</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="1" name="OBREB" type="xs:string">
+               <xs:element minOccurs="1"
+                           name="OBREB"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10703-1_OBREB"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>e.g. Ostrołęka</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="NUMER" type="xs:string">
+               <xs:element minOccurs="0"
+                           name="NUMER"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10707-1_NUMER"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
                   <xs:annotation>
                      <xs:documentation>e.g. 94/2</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element minOccurs="0" name="P_NAME" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_NAME_SECOND" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_NIP" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_PESEL" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
-               <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
+               <xs:element minOccurs="0"
+                           name="P_NAME"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10712-1_P_NAME"/>
+               <xs:element minOccurs="0"
+                           name="P_NAME_SECOND"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10713-1_P_NAME_SEC"/>
+               <xs:element minOccurs="0"
+                           name="P_NIP"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10714-1_P_NIP"/>
+               <xs:element minOccurs="0"
+                           name="P_PESEL"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10715-1_P_PESEL"/>
+               <xs:element minOccurs="0"
+                           name="P_OTHER_DOC"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10716-1_P_OTHER_DO"/>
+               <xs:element minOccurs="0"
+                           name="P_PHONE"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10717-1_P_PHONE"/>
+               <xs:element minOccurs="0"
+                           name="P_ADDRESS"
+                           type="xs:string"
+                           id="_3A__Dzialki___d18e10718-1_P_ADDRESS"/>
                <xs:element name="INWDZ__typ_dzialki"
                            minOccurs="0"
-                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
+                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"
+                           id="_3A__Dzialki___d18e10719-1_INWDZ__typ"/>
             </xs:sequence>
          </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
-   <xs:element name="Dzialki_Unknown" type="default_db__x3A__Dzialki:Dzialki_Unknown"/>
+   <xs:element name="Dzialki_Unknown"
+               type="default_db__x3A__Dzialki:Dzialki_Unknown"
+               id="_3A__Dzialki___d18e10720-1_Dzialki_Un"/>
 </xs:schema>

+ 297 - 289
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/pismo/GRAFIK_PRACY_view.dita

@@ -2,6 +2,7 @@
 <RelatedFeature xpath="ID"  typeName="p5_default_db:GRAFIK_PRACY_view" typeNameRealResource="p5_default_db:GRAFIK_PRACY_view"
   xmlns:ogc="http://www.opengis.net/ogc"
   xmlns:wfs="http://www.opengis.net/wfs"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   doctype-public="-//OASIS//DTD DITA Topic//EN"
   doctype-system="topic.dtd"
   >
@@ -14,312 +15,319 @@
        Documentation ref - TODO TO BE DOCUMENTED
     -->
   <!-- oznacza to refa z w $var=ID_BILLING_OWNER jest FeatureID=BILLING_OWNER.$var do sciagniecia z p5_default_db:BILLING_OWNER -->
-  <topic id="GRAFIK_PRACY_view" 
-  >
-  <title><ph>Raport pracy nr </ph><ph xpath="ID"/><ph xpath="ID"/>
-    <ph>dla pracownika: </ph>
-    
-    <RelatedFeature xpath="ADM_ACCOUNT" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:ADMIN_USERS" typeNameRealResource="p5_default_db:ADMIN_USERS">
-      <foreign>
-        <data datatype="REPLYTO" xpath="EMAIL_LOCAL_ACCOUNT_ADDRESS" xpath_token_filter=" " xpath_token="1"></data>
-        <!--<ph xpath="EMAIL_LOCAL_ACCOUNT_ADDRESS" xpath_token_filter=" " xpath_token="1" REPLYTO="1"/>-->
-        
-        <data xpath="ADM_NAME"  datatype="FROM"/>
-        <!--<ph xpath="ADM_NAME"  FROM="1"/>-->
-      </foreign>
-      <ph xpath="ADM_NAME"  />
-    </RelatedFeature>
-    
-    <ph>(</ph><sub xpath="L_APPOITMENT_USER"/><ph>)</ph>
-    <ph> </ph>
-    <ph>dla okresu: </ph>
-    <ph xpath="rok"/>
-    <ph>-</ph>
-    <ph xpath="miesiac"/>
-    <ph>-</ph>
-    
-  </title>
-  <body>
-    
-    
-    <foreign>
-      <!--<ph xpath="A_STATUS_INFO"  CONTENT.TEXT="1"/>-->
-      <data xpath="A_STATUS_INFO"  datatype="CONTENT.TEXT"/>
-    </foreign>
-    
-    
-    
-    <table frame="all" id="table_rgg_vfh_bjb">
-      <title>Raport dniowy-godzinowy</title>
-      <tgroup cols="12">
-        <colspec colname="c1" colnum="1" colwidth="1*"/>
-        <colspec colname="c2" colnum="2" colwidth="1*"/>
-        <colspec colname="c3" colnum="3" colwidth="1*"/>
-        
-        <colspec colname="c4" colnum="4" colwidth="1*"/>
-        <colspec colname="c5" colnum="5" colwidth="1*"/>
-        <colspec colname="c6" colnum="6" colwidth="1*"/>
-        
-        <colspec colname="c7" colnum="7" colwidth="1*"/>
-        <colspec colname="c8" colnum="8" colwidth="1*"/>
-        <colspec colname="c9" colnum="9" colwidth="1*"/>
-        
-        <colspec colname="c10" colnum="10" colwidth="1*"/>
-        <colspec colname="c11" colnum="11" colwidth="1*"/>
-        <colspec colname="c12" colnum="12" colwidth="1*"/>
-        <thead>
-          <row>
-            <entry><sub>Data</sub></entry>
-            <entry><sub>Tydz.</sub> </entry>
-            <entry><sub>Dzień tyg. </sub></entry>
-            <entry><sub>Lok msc. pracy </sub></entry>
-            <entry><sub> Początek</sub></entry>
-            <entry><sub>Koniec</sub></entry>
-            <entry><sub>Potw. początku</sub></entry>
-            <entry><sub>Koniec pracy</sub></entry>
-            <entry><sub>Komentarz</sub></entry>
-            
-            <!--<entry>Komentarz BOSS_CONFIRMED</entry>-->
-            <entry><sub>Przer. 1 </sub></entry>
-            <entry><sub>Przer. 2 </sub></entry>
-            
-            <entry><sub>Data akt.</sub></entry>
-            
-          </row>
-        </thead>
-        <tbody>
-          <RelatedFeature xpath="L_APPOITMENT_USER" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:GRAFIK_PRACY" typeNameRealResource="p5_default_db:GRAFIK_PRACY">
-            <simpleTypeMakeOgcFilter>
-              <ogc:And>
-                <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
-                  <ogc:PropertyName>DATE</ogc:PropertyName>
-                  <ogc:Literal>*-<foreign xpath_value="miesiac"/>*-*</ogc:Literal>
-                </ogc:PropertyIsLike>
-              <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
-                <ogc:PropertyName>DATE</ogc:PropertyName>
-                <ogc:Literal><foreign xpath_value="rok"/>-*-*</ogc:Literal>
-              </ogc:PropertyIsLike>
-              </ogc:And>
-            </simpleTypeMakeOgcFilter>
-            <row>
-              <entry ><sub xpath="DATE"/></entry>
-              <entry xpath="WEEK"/>
-              <entry><sub xpath="DAY_OF_WEEK"/> </entry>
-              <entry ><sub xpath="T_TELBOX_NEIGHBOUR_IN_ID"/></entry>
-              <entry ><sub xpath="START_WORK_HOUR"/></entry>
-              <entry ><sub xpath="END_WORK_HOUR"/></entry>
-              <entry ><sub xpath="START_WORK_HOUR_CONFIRM"/></entry>
-              <entry ><sub xpath="END_WORK_HOUR_CONFIRM"/></entry>
-              <entry ><sub xpath="WORKER_COMMENT"/></entry>
-              
-              <!--<entry>Komentarz BOSS_CONFIRMED</entry>-->
-              <entry xpath="BREAK1_MINUTES"/>
-              <entry xpath="BREAK2_MINUTES"/>
+  <RelatedFeatureRoot>
+  
+    <topic xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd" 
+          id="GRAFIK_PRACY_view" 
+        >
+        <title><ph>Raport pracy nr </ph><ph xpath="ID"/><ph xpath="ID"/>
+          <ph>dla pracownika: </ph>
+          
+          <RelatedFeature xpath="ADM_ACCOUNT" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:ADMIN_USERS" typeNameRealResource="p5_default_db:ADMIN_USERS">
+            <foreign>
+              <data datatype="REPLYTO" xpath="EMAIL_LOCAL_ACCOUNT_ADDRESS" xpath_token_filter=" " xpath_token="1"></data>
+              <!--<ph xpath="EMAIL_LOCAL_ACCOUNT_ADDRESS" xpath_token_filter=" " xpath_token="1" REPLYTO="1"/>-->
               
-              <entry ><sub xpath="A_RECORD_UPDATE_DATE"/></entry>
-            </row>
-            <row>
-              <entry >Działanmi</entry>
-              <entry namest="c2" nameend="c12">link</entry>
-            </row>
+              <data xpath="ADM_NAME"  datatype="FROM"/>
+              <!--<ph xpath="ADM_NAME"  FROM="1"/>-->
+            </foreign>
+            <ph xpath="ADM_NAME"  />
           </RelatedFeature>
           
+          <ph>(</ph><sub xpath="L_APPOITMENT_USER"/><ph>)</ph>
+          <ph> </ph>
+          <ph>dla okresu: </ph>
+          <ph xpath="rok"/>
+          <ph>-</ph>
+          <ph xpath="miesiac"/>
+          <ph>-</ph>
           
-        <!--  ID	rok	miesiac	L_APPOITMENT_USER	GODZIN_PLANOWO	GODZIN_FAKTYCZNIE	GODZIN_SPOZNIEN	GODZIN_WYJSC_PRZED_CZASEM
-          CZAS_PRZERW	ILOSC_PRZERW	DNI_W_PRACY	ILOSC_DNI	NADGODZINY	GODZIN_W_NOCY	
+        </title>
+        <body>
           
-          GODZIN_PRZYJSC_PRZED_CZASEM	GODZIN_WYJSC_PO_CZASIE	A_ADM_COMPANY	A_CLASSIFIED
-          1	2015	3	a.binder	25.9964	16.5036	0.5014	1.0061	2.3500	4	2	31	-1.5075	2.0050	0.0125	0.0000	27_BIALL-NET	27_BIALL-NET
-          -->
           
+          <foreign>
+            <!--<ph xpath="A_STATUS_INFO"  CONTENT.TEXT="1"/>-->
+            <data xpath="A_STATUS_INFO"  datatype="CONTENT.TEXT"/>
+          </foreign>
           
-        </tbody>
-      </tgroup>
-    </table>
-    
-    
-    
-    
-    <!--<p>Raport dniowy-godzinowy: </p>-->
-    <!--<bodydiv xpath="K_ZAWARTOSC_HTML" format="enter_to_ph"/>-->
-    <!--<p>--> <!--<simpletable frame="all" 
-      id="raport_godzinowy">--><!-- relcolwidth="1.0* 1.0*" -->
-      <!--<sthead>
-        <stentry>Data </stentry>
-        <stentry>Tydzien </stentry>
-        <stentry>Dzień tyg. </stentry>
-        <stentry>Lokalizacja miejsca pracy </stentry>
-        <stentry>Początek</stentry>
-        <stentry>Koniec </stentry>
-        <stentry>Potw. początku </stentry>
-        <stentry>Koniec pracy </stentry>
-        <stentry>Komentarz </stentry>
-        
-        <!-\-<stentry>Komentarz BOSS_CONFIRMED</stentry>-\->
-        <stentry>Przerwa 1 </stentry>
-        <stentry>Przerwa 2 </stentry>
-        
-        <stentry>Data aktualizacji A_RECORD_UPDATE_DATE</stentry>
-        
-      </sthead>-->
-      <!--<RelatedFeature xpath="L_APPOITMENT_USER" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:GRAFIK_PRACY" typeNameRealResource="p5_default_db:GRAFIK_PRACY">
-        <strow>
-          <stentry xpath="DATE"/>
-          <stentry xpath="WEEK"/>
-          <stentry xpath="DAY_OF_WEEK"/>
-          <stentry xpath="T_TELBOX_NEIGHBOUR_IN_ID"/>
-          <stentry xpath="START_WORK_HOUR"/>
-          <stentry xpath="END_WORK_HOUR"/>
-          <stentry xpath="START_WORK_HOUR_CONFIRM"/>
-          <stentry xpath="END_WORK_HOUR_CONFIRM"/>
-          <stentry xpath="WORKER_COMMENT"/>
-          
-          <!-\-<stentry>Komentarz BOSS_CONFIRMED</stentry>-\->
-          <stentry xpath="BREAK1_MINUTES"/>
-          <stentry xpath="BREAK2_MINUTES"/>
           
-          <stentry xpath="A_RECORD_UPDATE_DATE"/>
-        </strow>
-      </RelatedFeature>-->      
-    <!---->
-    <table frame="all" id="podsumowanie_godzinowe">
-      <title>Raport dniowy-godzinowy - podsumowanie</title>
-      <tgroup cols="12">
-        <colspec colname="c1" colnum="1" colwidth="1*"/>
-        <colspec colname="c2" colnum="2" colwidth="1*"/>
-        <colspec colname="c3" colnum="3" colwidth="1*"/>
-        
-        <colspec colname="c4" colnum="4" colwidth="1*"/>
-        <colspec colname="c5" colnum="5" colwidth="1*"/>
-        <colspec colname="c6" colnum="6" colwidth="1*"/>
-        
-        <colspec colname="c7" colnum="7" colwidth="1*"/>
-        <colspec colname="c8" colnum="8" colwidth="1*"/>
-        <colspec colname="c9" colnum="9" colwidth="1*"/>
-        
-        <colspec colname="c10" colnum="10" colwidth="1*"/>
-        <colspec colname="c11" colnum="11" colwidth="1*"/>
-        <colspec colname="c12" colnum="12" colwidth="1*"/>
-        <thead>
-          <row>
-            <entry ><sub >Planowano</sub></entry>
-            <entry ><sub >Spóźnień</sub></entry>
-            <entry ><sub >Godz. faktycznie</sub></entry>
-            <entry ><sub >Godz. wyjść przed czasem</sub></entry>
-            
-            <entry ><sub >Czas przerw</sub></entry>
-            <entry ><sub >Ilość przerw</sub></entry>
-            <entry ><sub >Dni w pracy</sub></entry>
-            <entry ><sub >Ilość dni</sub></entry>
-            <entry ><sub >Nadgodziny</sub></entry>
-            <entry ><sub >Godzin w nocy</sub></entry>
-            <entry ><sub >Godzin wyjść przed czasem</sub></entry>
-            <entry ><sub >Godzin wyjść po czasie</sub></entry>
-          </row>
-        </thead>
-        <tbody>
-          <row>
-            <entry ><sub xpath="GODZIN_PLANOWO"/> </entry>
-            <entry ><sub xpath="GODZIN_SPOZNIEN"/></entry>
-            <entry ><sub xpath="GODZIN_FAKTYCZNIE"/></entry>
-            <entry ><sub xpath="GODZIN_WYJSC_PRZED_CZASEM"/></entry>
-            
-            
-            
-            <entry ><sub xpath="CZAS_PRZERW"/></entry>
-            <entry ><sub xpath="ILOSC_PRZERW"/></entry>
-            <entry ><sub xpath="DNI_W_PRACY"/></entry>
-            <entry ><sub xpath="ILOSC_DNI"/></entry>
-            <entry ><sub xpath="NADGODZINY"/></entry>
-            <entry ><sub xpath="GODZIN_W_NOCY"/></entry>
-            <entry ><sub xpath="GODZIN_PRZYJSC_PRZED_CZASEM"/></entry>
-            <entry ><sub xpath="GODZIN_WYJSC_PO_CZASIE"/></entry>
-          </row>
-        </tbody>
-      </tgroup>
-    </table>
-    <p>
-      <table frame="all" id="podsumowanie_ANALIZA_HISTORII_ALL">
-        <title>Raport działań-czynności w okresie dniowy-godzinowy</title>
-        <tgroup cols="4">
-          <colspec colname="c1" colnum="1" colwidth="2.9*"/>
-          <colspec colname="c2" colnum="2" colwidth="1*"/>
-          <colspec colname="c3" colnum="3" colwidth="1.72*"/>
-          <colspec colname="c4" colnum="4" colwidth="1.72*"/>
-          <!--<colspec colname="c5" colnum="5" colwidth="1.72*"/>-->
-         <!-- <colspec colname="c6" colnum="6" colwidth="1*"/>
           
-          <colspec colname="c7" colnum="7" colwidth="1*"/>
-          <colspec colname="c8" colnum="8" colwidth="1*"/>
-          <colspec colname="c9" colnum="9" colwidth="1*"/>
-          
-          <colspec colname="c10" colnum="10" colwidth="1*"/>
-          <colspec colname="c11" colnum="11" colwidth="1*"/>
-          <colspec colname="c12" colnum="12" colwidth="1*"/>-->
-          <thead>
-            <row>
-              <entry ><sub >Tabela [ID]</sub></entry>
-              <!--<entry ><sub >Nr Rek</sub></entry>-->
-              <entry ><sub >Pole</sub></entry>
-              <entry ><sub >Wartosc</sub></entry>
+          <table frame="all" id="table_rgg_vfh_bjb">
+            <title>Raport dniowy-godzinowy</title>
+            <tgroup cols="12">
+              <colspec colname="c1" colnum="1" colwidth="1*"/>
+              <colspec colname="c2" colnum="2" colwidth="1*"/>
+              <colspec colname="c3" colnum="3" colwidth="1*"/>
+              
+              <colspec colname="c4" colnum="4" colwidth="1*"/>
+              <colspec colname="c5" colnum="5" colwidth="1*"/>
+              <colspec colname="c6" colnum="6" colwidth="1*"/>
+              
+              <colspec colname="c7" colnum="7" colwidth="1*"/>
+              <colspec colname="c8" colnum="8" colwidth="1*"/>
+              <colspec colname="c9" colnum="9" colwidth="1*"/>
               
-              <entry ><sub >Czas akcji</sub></entry>
-             
-            </row>
-          </thead>
-          <tbody>
-            <RelatedFeature xpath="A_RECORD_UPDATE_AUTHOR" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:_ANALIZA_HISTORII_ALL" typeNameRealResource="p5_default_db:_ANALIZA_HISTORII_ALL">
-              <simpleTypeMakeOgcFilter>
-                <ogc:And>
-                  <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
-                    <ogc:PropertyName>A_RECORD_UPDATE_DATE</ogc:PropertyName>
-                    <ogc:Literal>*-<foreign xpath_value="miesiac"/>*-*</ogc:Literal>
-                  </ogc:PropertyIsLike>
-                  <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
-                    <ogc:PropertyName>A_RECORD_UPDATE_DATE</ogc:PropertyName>
-                    <ogc:Literal><foreign xpath_value="rok"/>-*-*</ogc:Literal>
-                  </ogc:PropertyIsLike>
-                </ogc:And>
-              </simpleTypeMakeOgcFilter>
-              <row>
-                <entry ><sub xpath="TABLE_NAME"/> <sub>[</sub><sub xpath="TABLE_ID"/><sub>]</sub> </entry>
+              <colspec colname="c10" colnum="10" colwidth="1*"/>
+              <colspec colname="c11" colnum="11" colwidth="1*"/>
+              <colspec colname="c12" colnum="12" colwidth="1*"/>
+              <thead>
+                <row>
+                  <entry><sub>Data</sub></entry>
+                  <entry><sub>Tydz.</sub> </entry>
+                  <entry><sub>Dzień tyg. </sub></entry>
+                  <entry><sub>Lok msc. pracy </sub></entry>
+                  <entry><sub> Początek</sub></entry>
+                  <entry><sub>Koniec</sub></entry>
+                  <entry><sub>Potw. początku</sub></entry>
+                  <entry><sub>Koniec pracy</sub></entry>
+                  <entry><sub>Komentarz</sub></entry>
+                  
+                  <!--<entry>Komentarz BOSS_CONFIRMED</entry>-->
+                  <entry><sub>Przer. 1 </sub></entry>
+                  <entry><sub>Przer. 2 </sub></entry>
+                  
+                  <entry><sub>Data akt.</sub></entry>
+                  
+                </row>
+              </thead>
+              <tbody>
+                <RelatedFeature xpath="L_APPOITMENT_USER" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:GRAFIK_PRACY" typeNameRealResource="p5_default_db:GRAFIK_PRACY">
+                  <simpleTypeMakeOgcFilter>
+                    <ogc:And>
+                      <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
+                        <ogc:PropertyName>DATE</ogc:PropertyName>
+                        <ogc:Literal>*-<foreign xpath_value="miesiac"/>*-*</ogc:Literal>
+                      </ogc:PropertyIsLike>
+                    <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
+                      <ogc:PropertyName>DATE</ogc:PropertyName>
+                      <ogc:Literal><foreign xpath_value="rok"/>-*-*</ogc:Literal>
+                    </ogc:PropertyIsLike>
+                    </ogc:And>
+                  </simpleTypeMakeOgcFilter>
+                  <row>
+                    <entry ><sub xpath="DATE"/></entry>
+                    <entry xpath="WEEK"/>
+                    <entry><sub xpath="DAY_OF_WEEK"/> </entry>
+                    <entry ><sub xpath="T_TELBOX_NEIGHBOUR_IN_ID"/></entry>
+                    <entry ><sub xpath="START_WORK_HOUR"/></entry>
+                    <entry ><sub xpath="END_WORK_HOUR"/></entry>
+                    <entry ><sub xpath="START_WORK_HOUR_CONFIRM"/></entry>
+                    <entry ><sub xpath="END_WORK_HOUR_CONFIRM"/></entry>
+                    <entry ><sub xpath="WORKER_COMMENT"/></entry>
+                    
+                    <!--<entry>Komentarz BOSS_CONFIRMED</entry>-->
+                    <entry xpath="BREAK1_MINUTES"/>
+                    <entry xpath="BREAK2_MINUTES"/>
+                    
+                    <entry ><sub xpath="A_RECORD_UPDATE_DATE"/></entry>
+                  </row>
+                  <row>
+                    <entry >Działanmi</entry>
+                    <entry namest="c2" nameend="c12">link</entry>
+                  </row>
+                </RelatedFeature>
                 
-                <entry ><sub xpath="FIELD"/></entry>
-                <entry ><sub xpath="VALUE"/></entry>
                 
+              <!--  ID	rok	miesiac	L_APPOITMENT_USER	GODZIN_PLANOWO	GODZIN_FAKTYCZNIE	GODZIN_SPOZNIEN	GODZIN_WYJSC_PRZED_CZASEM
+                CZAS_PRZERW	ILOSC_PRZERW	DNI_W_PRACY	ILOSC_DNI	NADGODZINY	GODZIN_W_NOCY	
                 
+                GODZIN_PRZYJSC_PRZED_CZASEM	GODZIN_WYJSC_PO_CZASIE	A_ADM_COMPANY	A_CLASSIFIED
+                1	2015	3	a.binder	25.9964	16.5036	0.5014	1.0061	2.3500	4	2	31	-1.5075	2.0050	0.0125	0.0000	27_BIALL-NET	27_BIALL-NET
+                -->
                 
-                <entry ><sub xpath="A_RECORD_UPDATE_DATE"/></entry>
-               <!-- <entry ><sub xpath="ILOSC_PRZERW"/></entry>
-                <entry ><sub xpath="DNI_W_PRACY"/></entry>
-                <entry ><sub xpath="ILOSC_DNI"/></entry>
-                <entry ><sub xpath="NADGODZINY"/></entry>
-                <entry ><sub xpath="GODZIN_W_NOCY"/></entry>
-                <entry ><sub xpath="GODZIN_PRZYJSC_PRZED_CZASEM"/></entry>
-                <entry ><sub xpath="GODZIN_WYJSC_PO_CZASIE"/></entry>-->
-              </row>
-              <!-- przejscie po relacji z nazwa kontekstowa -->
+                
+              </tbody>
+            </tgroup>
+          </table>
+          
+          
+          
+          
+          <!--<p>Raport dniowy-godzinowy: </p>-->
+          <!--<bodydiv xpath="K_ZAWARTOSC_HTML" format="enter_to_ph"/>-->
+          <!--<p>--> <!--<simpletable frame="all" 
+            id="raport_godzinowy">--><!-- relcolwidth="1.0* 1.0*" -->
+            <!--<sthead>
+              <stentry>Data </stentry>
+              <stentry>Tydzien </stentry>
+              <stentry>Dzień tyg. </stentry>
+              <stentry>Lokalizacja miejsca pracy </stentry>
+              <stentry>Początek</stentry>
+              <stentry>Koniec </stentry>
+              <stentry>Potw. początku </stentry>
+              <stentry>Koniec pracy </stentry>
+              <stentry>Komentarz </stentry>
+              
+              <!-\-<stentry>Komentarz BOSS_CONFIRMED</stentry>-\->
+              <stentry>Przerwa 1 </stentry>
+              <stentry>Przerwa 2 </stentry>
+              
+              <stentry>Data aktualizacji A_RECORD_UPDATE_DATE</stentry>
+              
+            </sthead>-->
+            <!--<RelatedFeature xpath="L_APPOITMENT_USER" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:GRAFIK_PRACY" typeNameRealResource="p5_default_db:GRAFIK_PRACY">
+              <strow>
+                <stentry xpath="DATE"/>
+                <stentry xpath="WEEK"/>
+                <stentry xpath="DAY_OF_WEEK"/>
+                <stentry xpath="T_TELBOX_NEIGHBOUR_IN_ID"/>
+                <stentry xpath="START_WORK_HOUR"/>
+                <stentry xpath="END_WORK_HOUR"/>
+                <stentry xpath="START_WORK_HOUR_CONFIRM"/>
+                <stentry xpath="END_WORK_HOUR_CONFIRM"/>
+                <stentry xpath="WORKER_COMMENT"/>
+                
+                <!-\-<stentry>Komentarz BOSS_CONFIRMED</stentry>-\->
+                <stentry xpath="BREAK1_MINUTES"/>
+                <stentry xpath="BREAK2_MINUTES"/>
+                
+                <stentry xpath="A_RECORD_UPDATE_DATE"/>
+              </strow>
+            </RelatedFeature>-->      
+          <!---->
+          <table frame="all" id="podsumowanie_godzinowe">
+            <title>Raport dniowy-godzinowy - podsumowanie</title>
+            <tgroup cols="12">
+              <colspec colname="c1" colnum="1" colwidth="1*"/>
+              <colspec colname="c2" colnum="2" colwidth="1*"/>
+              <colspec colname="c3" colnum="3" colwidth="1*"/>
+              
+              <colspec colname="c4" colnum="4" colwidth="1*"/>
+              <colspec colname="c5" colnum="5" colwidth="1*"/>
+              <colspec colname="c6" colnum="6" colwidth="1*"/>
               
-              <RelatedFeature xpath="ID" 
-                xpath_value="../TABLE_ID">
-                <typeName><foreign>p5_default_db:</foreign><foreign xpath_value="TABLE_NAME"/></typeName>
-                <typeNameRealResource><foreign>p5_default_db:</foreign><foreign xpath_value="TABLE_NAME"/></typeNameRealResource>
+              <colspec colname="c7" colnum="7" colwidth="1*"/>
+              <colspec colname="c8" colnum="8" colwidth="1*"/>
+              <colspec colname="c9" colnum="9" colwidth="1*"/>
+              
+              <colspec colname="c10" colnum="10" colwidth="1*"/>
+              <colspec colname="c11" colnum="11" colwidth="1*"/>
+              <colspec colname="c12" colnum="12" colwidth="1*"/>
+              <thead>
                 <row>
-                  <entry><sub>Dane kontekst.</sub></entry>
-                  <entry namest="c2" nameend="c4">
-                    Opis <sub xpath="M_DIST_DESC"/>
-                  </entry>
+                  <entry ><sub >Planowano</sub></entry>
+                  <entry ><sub >Spóźnień</sub></entry>
+                  <entry ><sub >Godz. faktycznie</sub></entry>
+                  <entry ><sub >Godz. wyjść przed czasem</sub></entry>
+                  
+                  <entry ><sub >Czas przerw</sub></entry>
+                  <entry ><sub >Ilość przerw</sub></entry>
+                  <entry ><sub >Dni w pracy</sub></entry>
+                  <entry ><sub >Ilość dni</sub></entry>
+                  <entry ><sub >Nadgodziny</sub></entry>
+                  <entry ><sub >Godzin w nocy</sub></entry>
+                  <entry ><sub >Godzin wyjść przed czasem</sub></entry>
+                  <entry ><sub >Godzin wyjść po czasie</sub></entry>
                 </row>
-              </RelatedFeature>
-            </RelatedFeature>
-          </tbody>
-        </tgroup>
-      </table>
-    </p>
-    
+              </thead>
+              <tbody>
+                <row>
+                  <entry ><sub xpath="GODZIN_PLANOWO"/> </entry>
+                  <entry ><sub xpath="GODZIN_SPOZNIEN"/></entry>
+                  <entry ><sub xpath="GODZIN_FAKTYCZNIE"/></entry>
+                  <entry ><sub xpath="GODZIN_WYJSC_PRZED_CZASEM"/></entry>
+                  
+                  
+                  
+                  <entry ><sub xpath="CZAS_PRZERW"/></entry>
+                  <entry ><sub xpath="ILOSC_PRZERW"/></entry>
+                  <entry ><sub xpath="DNI_W_PRACY"/></entry>
+                  <entry ><sub xpath="ILOSC_DNI"/></entry>
+                  <entry ><sub xpath="NADGODZINY"/></entry>
+                  <entry ><sub xpath="GODZIN_W_NOCY"/></entry>
+                  <entry ><sub xpath="GODZIN_PRZYJSC_PRZED_CZASEM"/></entry>
+                  <entry ><sub xpath="GODZIN_WYJSC_PO_CZASIE"/></entry>
+                </row>
+              </tbody>
+            </tgroup>
+          </table>
+          <p>
+            <table frame="all" id="podsumowanie_ANALIZA_HISTORII_ALL">
+              <title>Raport działań-czynności w okresie dniowy-godzinowy</title>
+              <tgroup cols="4">
+                <colspec colname="c1" colnum="1" colwidth="2.9*"/>
+                <colspec colname="c2" colnum="2" colwidth="1*"/>
+                <colspec colname="c3" colnum="3" colwidth="1.72*"/>
+                <colspec colname="c4" colnum="4" colwidth="1.72*"/>
+                <!--<colspec colname="c5" colnum="5" colwidth="1.72*"/>-->
+               <!-- <colspec colname="c6" colnum="6" colwidth="1*"/>
+                
+                <colspec colname="c7" colnum="7" colwidth="1*"/>
+                <colspec colname="c8" colnum="8" colwidth="1*"/>
+                <colspec colname="c9" colnum="9" colwidth="1*"/>
+                
+                <colspec colname="c10" colnum="10" colwidth="1*"/>
+                <colspec colname="c11" colnum="11" colwidth="1*"/>
+                <colspec colname="c12" colnum="12" colwidth="1*"/>-->
+                <thead>
+                  <row>
+                    <entry ><sub >Tabela [ID]</sub></entry>
+                    <!--<entry ><sub >Nr Rek</sub></entry>-->
+                    <entry ><sub >Pole</sub></entry>
+                    <entry ><sub >Wartosc</sub></entry>
+                    
+                    <entry ><sub >Czas akcji</sub></entry>
+                   
+                  </row>
+                </thead>
+                <tbody>
+                  <RelatedFeature xpath="A_RECORD_UPDATE_AUTHOR" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:_ANALIZA_HISTORII_ALL" typeNameRealResource="p5_default_db:_ANALIZA_HISTORII_ALL">
+                    <simpleTypeMakeOgcFilter>
+                      <ogc:And>
+                        <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
+                          <ogc:PropertyName>A_RECORD_UPDATE_DATE</ogc:PropertyName>
+                          <ogc:Literal>*-<foreign xpath_value="miesiac"/>*-*</ogc:Literal>
+                        </ogc:PropertyIsLike>
+                        <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
+                          <ogc:PropertyName>A_RECORD_UPDATE_DATE</ogc:PropertyName>
+                          <ogc:Literal><foreign xpath_value="rok"/>-*-*</ogc:Literal>
+                        </ogc:PropertyIsLike>
+                      </ogc:And>
+                    </simpleTypeMakeOgcFilter>
+                    <row>
+                      <entry ><sub xpath="TABLE_NAME"/> <sub>[</sub><sub xpath="TABLE_ID"/><sub>]</sub> </entry>
+                      
+                      <entry ><sub xpath="FIELD"/></entry>
+                      <entry ><sub xpath="VALUE"/></entry>
+                      
+                      
+                      
+                      <entry ><sub xpath="A_RECORD_UPDATE_DATE"/></entry>
+                     <!-- <entry ><sub xpath="ILOSC_PRZERW"/></entry>
+                      <entry ><sub xpath="DNI_W_PRACY"/></entry>
+                      <entry ><sub xpath="ILOSC_DNI"/></entry>
+                      <entry ><sub xpath="NADGODZINY"/></entry>
+                      <entry ><sub xpath="GODZIN_W_NOCY"/></entry>
+                      <entry ><sub xpath="GODZIN_PRZYJSC_PRZED_CZASEM"/></entry>
+                      <entry ><sub xpath="GODZIN_WYJSC_PO_CZASIE"/></entry>-->
+                    </row>
+                    <!-- przejscie po relacji z nazwa kontekstowa -->
+                    
+                    <RelatedFeature xpath="ID" 
+                      xpath_value="../TABLE_ID">
+                      <typeName><foreign>p5_default_db:</foreign><foreign xpath_value="TABLE_NAME"/></typeName>
+                      <typeNameRealResource><foreign>p5_default_db:</foreign><foreign xpath_value="TABLE_NAME"/></typeNameRealResource>
+                      <row>
+                        <entry><sub>Dane kontekst.</sub></entry>
+                        <entry namest="c2" nameend="c4">
+                          Opis <sub xpath="M_DIST_DESC"/>
+                        </entry>
+                      </row>
+                    </RelatedFeature>
+                  </RelatedFeature>
+                </tbody>
+              </tgroup>
+            </table>
+          </p>
+          
+          
+          
+          <p><sup>wygenerowano przez procesy5.pl</sup></p>
+          
+        </body>
+      </topic>
     
     
-    <p><sup>wygenerowano przez procesy5.pl</sup></p>
-  </body>
-</topic>
+  </RelatedFeatureRoot>
 </RelatedFeature>

+ 424 - 0
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/pismo/GRAFIK_PRACY_view.ditamap

@@ -0,0 +1,424 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<get_wfs_recurse_xsl.RelatedFeature:RelatedFeature xpath="ID"
+  typeName="p5_default_db:GRAFIK_PRACY_view" typeNameRealResource="p5_default_db:GRAFIK_PRACY_view"
+  xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:wfs="http://www.opengis.net/wfs"
+  xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+  xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
+  doctype-public="-//OASIS//DTD DITA Map//EN" doctype-system="map.dtd">
+  <!--doctype-public="-//OASIS//DTD DITA Map//EN"
+    doctype-system="map.dtd"-->
+  <!-- Sample template to use with Procesy5 model-driven engine with Concurrent and Parallel processing   -->
+  <!-- for more information see http://procesy5.pl/procesy5-wfs-api-doc/ or http://procesy5.pl/procesy5-wfs-api-doc/data_read_ant_example_with_filter.html  -->
+  <!-- to be used inside Procesy5 system or separatelly in ant environment  together with following scripts:
+       build.xml - TODO TO BE DOCUMENTED
+       Documentation ref - TODO TO BE DOCUMENTED
+    -->
+  <!-- oznacza to refa z w $var=ID_BILLING_OWNER jest FeatureID=BILLING_OWNER.$var do sciagniecia z p5_default_db:BILLING_OWNER -->
+  <get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot>
+    <map xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:map.xsd">
+      <topic id="GRAFIK_PRACY_view">
+        <title>
+          <ph>Raport pracy nr </ph>
+          <ph xpath="ID"/>
+          <ph xpath="ID"/>
+          <ph>dla pracownika: </ph>
+          <get_wfs_recurse_xsl.RelatedFeature:RelatedFeature xpath="ADM_ACCOUNT"
+            xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:ADMIN_USERS"
+            typeNameRealResource="p5_default_db:ADMIN_USERS">
+            <foreign>
+              <data datatype="REPLYTO" xpath="EMAIL_LOCAL_ACCOUNT_ADDRESS" xpath_token_filter=" "
+                xpath_token="1"/>
+              <!--<ph xpath="EMAIL_LOCAL_ACCOUNT_ADDRESS" xpath_token_filter=" " xpath_token="1" REPLYTO="1"/>-->
+              <data xpath="ADM_NAME" datatype="FROM"/>
+              <!--<ph xpath="ADM_NAME"  FROM="1"/>-->
+            </foreign>
+            <ph xpath="ADM_NAME"/>
+          </get_wfs_recurse_xsl.RelatedFeature:RelatedFeature>
+          <ph>(</ph>
+          <sub xpath="L_APPOITMENT_USER"/>
+          <ph>)</ph>
+          <ph> </ph>
+          <ph>dla okresu: </ph>
+          <ph xpath="rok"/>
+          <ph>-</ph>
+          <ph xpath="miesiac"/>
+          <ph>-</ph>
+        </title>
+        <body>
+          <foreign>
+            <!--<ph xpath="A_STATUS_INFO"  CONTENT.TEXT="1"/>-->
+            <data xpath="A_STATUS_INFO" datatype="CONTENT.TEXT"/>
+          </foreign>
+          <table frame="all" id="table_rgg_vfh_bjb">
+            <title>Raport dniowy-godzinowy</title>
+            <tgroup cols="12">
+              <colspec colname="c1" colnum="1" colwidth="1*"/>
+              <colspec colname="c2" colnum="2" colwidth="1*"/>
+              <colspec colname="c3" colnum="3" colwidth="1*"/>
+              <colspec colname="c4" colnum="4" colwidth="1*"/>
+              <colspec colname="c5" colnum="5" colwidth="1*"/>
+              <colspec colname="c6" colnum="6" colwidth="1*"/>
+              <colspec colname="c7" colnum="7" colwidth="1*"/>
+              <colspec colname="c8" colnum="8" colwidth="1*"/>
+              <colspec colname="c9" colnum="9" colwidth="1*"/>
+              <colspec colname="c10" colnum="10" colwidth="1*"/>
+              <colspec colname="c11" colnum="11" colwidth="1*"/>
+              <colspec colname="c12" colnum="12" colwidth="1*"/>
+              <thead>
+                <row>
+                  <entry>
+                    <sub>Data</sub>
+                  </entry>
+                  <entry>
+                    <sub>Tydz.</sub>
+                  </entry>
+                  <entry>
+                    <sub>Dzień tyg. </sub>
+                  </entry>
+                  <entry>
+                    <sub>Lok msc. pracy </sub>
+                  </entry>
+                  <entry>
+                    <sub> Początek</sub>
+                  </entry>
+                  <entry>
+                    <sub>Koniec</sub>
+                  </entry>
+                  <entry>
+                    <sub>Potw. początku</sub>
+                  </entry>
+                  <entry>
+                    <sub>Koniec pracy</sub>
+                  </entry>
+                  <entry>
+                    <sub>Komentarz</sub>
+                  </entry>
+                  <!--<entry>Komentarz BOSS_CONFIRMED</entry>-->
+                  <entry>
+                    <sub>Przer. 1 </sub>
+                  </entry>
+                  <entry>
+                    <sub>Przer. 2 </sub>
+                  </entry>
+                  <entry>
+                    <sub>Data akt.</sub>
+                  </entry>
+                </row>
+              </thead>
+              <tbody>
+                <get_wfs_recurse_xsl.RelatedFeature:RelatedFeature xpath="L_APPOITMENT_USER" xpath_value="../L_APPOITMENT_USER"
+                  typeName="p5_default_db:GRAFIK_PRACY"
+                  typeNameRealResource="p5_default_db:GRAFIK_PRACY">
+                  <simpleTypeMakeOgcFilter>
+                    <ogc:And>
+                      <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
+                        <ogc:PropertyName>DATE</ogc:PropertyName>
+                        <ogc:Literal>*-<foreign xpath_value="miesiac"/>*-*</ogc:Literal>
+                      </ogc:PropertyIsLike>
+                      <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
+                        <ogc:PropertyName>DATE</ogc:PropertyName>
+                        <ogc:Literal><foreign xpath_value="rok"/>-*-*</ogc:Literal>
+                      </ogc:PropertyIsLike>
+                    </ogc:And>
+                  </simpleTypeMakeOgcFilter>
+                  <row>
+                    <entry>
+                      <sub xpath="DATE"/>
+                    </entry>
+                    <entry xpath="WEEK"/>
+                    <entry>
+                      <sub xpath="DAY_OF_WEEK"/>
+                    </entry>
+                    <entry>
+                      <sub xpath="T_TELBOX_NEIGHBOUR_IN_ID"/>
+                    </entry>
+                    <entry>
+                      <sub xpath="START_WORK_HOUR"/>
+                    </entry>
+                    <entry>
+                      <sub xpath="END_WORK_HOUR"/>
+                    </entry>
+                    <entry>
+                      <sub xpath="START_WORK_HOUR_CONFIRM"/>
+                    </entry>
+                    <entry>
+                      <sub xpath="END_WORK_HOUR_CONFIRM"/>
+                    </entry>
+                    <entry>
+                      <sub xpath="WORKER_COMMENT"/>
+                    </entry>
+                    <!--<entry>Komentarz BOSS_CONFIRMED</entry>-->
+                    <entry xpath="BREAK1_MINUTES"/>
+                    <entry xpath="BREAK2_MINUTES"/>
+                    <entry>
+                      <sub xpath="A_RECORD_UPDATE_DATE"/>
+                    </entry>
+                  </row>
+                  <row>
+                    <entry>Działanmi</entry>
+                    <entry namest="c2" nameend="c12">link</entry>
+                  </row>
+                </get_wfs_recurse_xsl.RelatedFeature:RelatedFeature>
+                <!--  ID	rok	miesiac	L_APPOITMENT_USER	GODZIN_PLANOWO	GODZIN_FAKTYCZNIE	GODZIN_SPOZNIEN	GODZIN_WYJSC_PRZED_CZASEM
+          CZAS_PRZERW	ILOSC_PRZERW	DNI_W_PRACY	ILOSC_DNI	NADGODZINY	GODZIN_W_NOCY	
+          
+          GODZIN_PRZYJSC_PRZED_CZASEM	GODZIN_WYJSC_PO_CZASIE	A_ADM_COMPANY	A_CLASSIFIED
+          1	2015	3	a.binder	25.9964	16.5036	0.5014	1.0061	2.3500	4	2	31	-1.5075	2.0050	0.0125	0.0000	27_BIALL-NET	27_BIALL-NET
+          -->
+              </tbody>
+            </tgroup>
+          </table>
+          <!--<p>Raport dniowy-godzinowy: </p>-->
+          <!--<bodydiv xpath="K_ZAWARTOSC_HTML" format="enter_to_ph"/>-->
+          <!--<p>-->
+          <!--<simpletable frame="all" 
+      id="raport_godzinowy">-->
+          <!-- relcolwidth="1.0* 1.0*" -->
+          <!--<sthead>
+        <stentry>Data </stentry>
+        <stentry>Tydzien </stentry>
+        <stentry>Dzień tyg. </stentry>
+        <stentry>Lokalizacja miejsca pracy </stentry>
+        <stentry>Początek</stentry>
+        <stentry>Koniec </stentry>
+        <stentry>Potw. początku </stentry>
+        <stentry>Koniec pracy </stentry>
+        <stentry>Komentarz </stentry>
+        
+        <!-\-<stentry>Komentarz BOSS_CONFIRMED</stentry>-\->
+        <stentry>Przerwa 1 </stentry>
+        <stentry>Przerwa 2 </stentry>
+        
+        <stentry>Data aktualizacji A_RECORD_UPDATE_DATE</stentry>
+        
+      </sthead>-->
+          <!--<RelatedFeature xpath="L_APPOITMENT_USER" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:GRAFIK_PRACY" typeNameRealResource="p5_default_db:GRAFIK_PRACY">
+        <strow>
+          <stentry xpath="DATE"/>
+          <stentry xpath="WEEK"/>
+          <stentry xpath="DAY_OF_WEEK"/>
+          <stentry xpath="T_TELBOX_NEIGHBOUR_IN_ID"/>
+          <stentry xpath="START_WORK_HOUR"/>
+          <stentry xpath="END_WORK_HOUR"/>
+          <stentry xpath="START_WORK_HOUR_CONFIRM"/>
+          <stentry xpath="END_WORK_HOUR_CONFIRM"/>
+          <stentry xpath="WORKER_COMMENT"/>
+          
+          <!-\-<stentry>Komentarz BOSS_CONFIRMED</stentry>-\->
+          <stentry xpath="BREAK1_MINUTES"/>
+          <stentry xpath="BREAK2_MINUTES"/>
+          
+          <stentry xpath="A_RECORD_UPDATE_DATE"/>
+        </strow>
+      </RelatedFeature>-->
+          <!---->
+          <table frame="all" id="podsumowanie_godzinowe">
+            <title>Raport dniowy-godzinowy - podsumowanie</title>
+            <tgroup cols="12">
+              <colspec colname="c1" colnum="1" colwidth="1*"/>
+              <colspec colname="c2" colnum="2" colwidth="1*"/>
+              <colspec colname="c3" colnum="3" colwidth="1*"/>
+              <colspec colname="c4" colnum="4" colwidth="1*"/>
+              <colspec colname="c5" colnum="5" colwidth="1*"/>
+              <colspec colname="c6" colnum="6" colwidth="1*"/>
+              <colspec colname="c7" colnum="7" colwidth="1*"/>
+              <colspec colname="c8" colnum="8" colwidth="1*"/>
+              <colspec colname="c9" colnum="9" colwidth="1*"/>
+              <colspec colname="c10" colnum="10" colwidth="1*"/>
+              <colspec colname="c11" colnum="11" colwidth="1*"/>
+              <colspec colname="c12" colnum="12" colwidth="1*"/>
+              <thead>
+                <row>
+                  <entry>
+                    <sub>Planowano</sub>
+                  </entry>
+                  <entry>
+                    <sub>Spóźnień</sub>
+                  </entry>
+                  <entry>
+                    <sub>Godz. faktycznie</sub>
+                  </entry>
+                  <entry>
+                    <sub>Godz. wyjść przed czasem</sub>
+                  </entry>
+                  <entry>
+                    <sub>Czas przerw</sub>
+                  </entry>
+                  <entry>
+                    <sub>Ilość przerw</sub>
+                  </entry>
+                  <entry>
+                    <sub>Dni w pracy</sub>
+                  </entry>
+                  <entry>
+                    <sub>Ilość dni</sub>
+                  </entry>
+                  <entry>
+                    <sub>Nadgodziny</sub>
+                  </entry>
+                  <entry>
+                    <sub>Godzin w nocy</sub>
+                  </entry>
+                  <entry>
+                    <sub>Godzin wyjść przed czasem</sub>
+                  </entry>
+                  <entry>
+                    <sub>Godzin wyjść po czasie</sub>
+                  </entry>
+                </row>
+              </thead>
+              <tbody>
+                <row>
+                  <entry>
+                    <sub xpath="GODZIN_PLANOWO"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="GODZIN_SPOZNIEN"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="GODZIN_FAKTYCZNIE"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="GODZIN_WYJSC_PRZED_CZASEM"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="CZAS_PRZERW"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="ILOSC_PRZERW"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="DNI_W_PRACY"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="ILOSC_DNI"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="NADGODZINY"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="GODZIN_W_NOCY"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="GODZIN_PRZYJSC_PRZED_CZASEM"/>
+                  </entry>
+                  <entry>
+                    <sub xpath="GODZIN_WYJSC_PO_CZASIE"/>
+                  </entry>
+                </row>
+              </tbody>
+            </tgroup>
+          </table>
+          <p>
+            <!--<table frame="all" id="podsumowanie_ANALIZA_HISTORII_ALL">
+              <title>Raport działań-czynności w okresie dniowy-godzinowy</title>
+              <tgroup cols="4">
+                <colspec colname="c1" colnum="1" colwidth="2.9*"/>
+                <colspec colname="c2" colnum="2" colwidth="1*"/>
+                <colspec colname="c3" colnum="3" colwidth="1.72*"/>
+                <colspec colname="c4" colnum="4" colwidth="1.72*"/>
+                <!-\-<colspec colname="c5" colnum="5" colwidth="1.72*"/>-\->
+                <!-\- <colspec colname="c6" colnum="6" colwidth="1*"/>
+          
+          <colspec colname="c7" colnum="7" colwidth="1*"/>
+          <colspec colname="c8" colnum="8" colwidth="1*"/>
+          <colspec colname="c9" colnum="9" colwidth="1*"/>
+          
+          <colspec colname="c10" colnum="10" colwidth="1*"/>
+          <colspec colname="c11" colnum="11" colwidth="1*"/>
+          <colspec colname="c12" colnum="12" colwidth="1*"/>-\->
+                <thead>
+                  <row>
+                    <entry>
+                      <sub>Tabela [ID]</sub>
+                    </entry>
+                    <!-\-<entry ><sub >Nr Rek</sub></entry>-\->
+                    <entry>
+                      <sub>Pole</sub>
+                    </entry>
+                    <entry>
+                      <sub>Wartosc</sub>
+                    </entry>
+                    <entry>
+                      <sub>Czas akcji</sub>
+                    </entry>
+                  </row>
+                </thead>
+                <tbody>
+                  <RelatedFeature xpath="A_RECORD_UPDATE_AUTHOR" xpath_value="../L_APPOITMENT_USER"
+                    typeName="p5_default_db:_ANALIZA_HISTORII_ALL"
+                    typeNameRealResource="p5_default_db:_ANALIZA_HISTORII_ALL">
+                    <simpleTypeMakeOgcFilter>
+                      <ogc:And>
+                        <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
+                          <ogc:PropertyName>A_RECORD_UPDATE_DATE</ogc:PropertyName>
+                          <ogc:Literal>*-<foreign xpath_value="miesiac"/>*-*</ogc:Literal>
+                        </ogc:PropertyIsLike>
+                        <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
+                          <ogc:PropertyName>A_RECORD_UPDATE_DATE</ogc:PropertyName>
+                          <ogc:Literal><foreign xpath_value="rok"/>-*-*</ogc:Literal>
+                        </ogc:PropertyIsLike>
+                      </ogc:And>
+                    </simpleTypeMakeOgcFilter>
+                    <row>
+                      <entry>
+                        <sub xpath="TABLE_NAME"/>
+                        <sub>[</sub>
+                        <sub xpath="TABLE_ID"/>
+                        <sub>]</sub>
+                      </entry>
+                      <entry>
+                        <sub xpath="FIELD"/>
+                      </entry>
+                      <entry>
+                        <sub xpath="VALUE"/>
+                      </entry>
+                      <entry>
+                        <sub xpath="A_RECORD_UPDATE_DATE"/>
+                      </entry>
+                      <!-\- <entry ><sub xpath="ILOSC_PRZERW"/></entry>
+                <entry ><sub xpath="DNI_W_PRACY"/></entry>
+                <entry ><sub xpath="ILOSC_DNI"/></entry>
+                <entry ><sub xpath="NADGODZINY"/></entry>
+                <entry ><sub xpath="GODZIN_W_NOCY"/></entry>
+                <entry ><sub xpath="GODZIN_PRZYJSC_PRZED_CZASEM"/></entry>
+                <entry ><sub xpath="GODZIN_WYJSC_PO_CZASIE"/></entry>-\->
+                    </row>
+                    <!-\- przejscie po relacji z nazwa kontekstowa -\->
+                    <RelatedFeature xpath="ID" xpath_value="../TABLE_ID">
+                      <typeName>
+                        <foreign>p5_default_db:</foreign>
+                        <foreign xpath_value="TABLE_NAME"/>
+                      </typeName>
+                      <typeNameRealResource>
+                        <foreign>p5_default_db:</foreign>
+                        <foreign xpath_value="TABLE_NAME"/>
+                      </typeNameRealResource>
+                      <row>
+                        <entry>
+                          <sub>Dane kontekst.</sub>
+                        </entry>
+                        <entry namest="c2" nameend="c4"> Opis <sub xpath="M_DIST_DESC"/>
+                        </entry>
+                      </row>
+                    </RelatedFeature>
+                  </RelatedFeature>
+                </tbody>
+              </tgroup>
+            </table>-->
+          </p>
+          <p>
+            <sup>wygenerowano przez procesy5.pl</sup>
+          </p>
+          <p>
+            <RelatedFeature get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy="true" 
+              xpath="ADM_ACCOUNT" xpath_value="../L_APPOITMENT_USER" typeName="p5_default_db:ADMIN_USERS" typeNameRealResource="p5_default_db:ADMIN_USERS">
+              
+            </RelatedFeature>
+          </p>
+        </body>
+      </topic>
+    </map>
+  </get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot>
+</get_wfs_recurse_xsl.RelatedFeature:RelatedFeature>

+ 118 - 15
SE/schema/build.xml

@@ -17,7 +17,8 @@
     
     <include file="WPS_Functions/system_ui_info_speech/build_system_ui_info_speech.xml" as="p5suis" optional="true"/>
     <include file="Types/build.p5Type.PRODUCT.xml" optional="true"/>
-    
+    <include file="WPS_Functions/dita-to-ant/build.d2a.PRODUCT.xml" as="d2a"/>
+    <include file="ant-object/build.ant-object.xml" as="ant-object"/>
     <!--moved to PRODUCT <property name="threadCount" value="3"/>
     <property name="debug_level_param" value="0"/>-->
     <!-- licence values are read from build_SE.xml-->
@@ -41,6 +42,32 @@
     </target>-->
     
     
+    
+    <target name="self_repair">
+        <description>To fix errors like: java.nio.file.AccessDeniedException: /opt/local/pl.procesy5/p5build_SE/temp/p5build_SE/p5build_SE.getpid1435546814.property </description>
+        <echo>#51 will try to fix perms for dir  ${p5build_SE.temp}
+            for $p5build_SE.SYSTEM.local-user = ${p5build_SE.SYSTEM.local-user}
+            dirs ${p5build_SE.SYSTEM.StandardOutPath}
+            ${p5build_SE.SYSTEM.StandardErrorPath}
+            p5build_SE.INSTALL_ROOT.temp = ${p5build_SE.INSTALL_ROOT.temp}
+            p5build_SE.INSTALL_ROOT.temp.symlink = ${p5build_SE.INSTALL_ROOT.temp.symlink}
+        </echo>
+        <fail unless="p5build_SE.SYSTEM.local-user">- not set $p5build_SE.SYSTEM.local-user</fail>
+        <chown owner="${p5build_SE.SYSTEM.local-user}"  verbose="true">
+            
+            <fileset dir="${p5build_SE.INSTALL_ROOT.temp}" includes="*"/>
+            <dirset dir="${p5build_SE.INSTALL_ROOT.temp}" includes="*"/>
+            
+            <fileset dir="${p5build_SE.temp}" includes="**/*"/>
+            <dirset dir="${p5build_SE.temp}" includes="**/*"/>
+            
+            <fileset dir="${p5build_SE.SYSTEM.StandardOutPath}" includes="**/*"/>
+            <dirset dir="${p5build_SE.SYSTEM.StandardOutPath}" includes="**/*"/>
+            <fileset dir="${p5build_SE.SYSTEM.StandardErrorPath}" includes="**/*"/>
+            <dirset dir="${p5build_SE.SYSTEM.StandardErrorPath}" includes="**/*"/>
+        </chown>
+    </target>
+    
     <target name="CRM_LISTA_ZASOBOW.get_wfs_recurse_xsl.xml" description="to retrieve CRM_LISTA_ZASOBOW.get_wfs_recurse_xsl.xml to build typespecial_to_ref.xml">
         <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue" >
             <property name="p5suis:say_text" value="we check for fresh resources list from default database for add to models current process 5 references" />
@@ -188,7 +215,7 @@
         <!-- R <loadproperties srcfile="${build_SE.properties}"/>-->
         
         <!--R <echoproperties destfile="${build_properties}" />-->
-        <!-- R <echoproperties destfile="${build_properties.xml}"  format="xml"/>-->
+         <echoproperties destfile="${build_properties.xml}"  format="xml"/>
     </target>
     
     <!--<target name="read_build_properties_check">
@@ -246,12 +273,28 @@
             $external_schema_table.path = ${external_schema_table.path}
             
         </echo>
-            
+        <!-- ${get_all_xsd.xsl}  d2a__x3A__p5xsl__x3A__p5CPTpm.xsl-->
         <xslt basedir="./" style="${get_all_xsd.xsl}"  in="${empty.xml}"  destdir="./" out="${procesy5_system_schema.xml}" >
             <factory name="net.sf.saxon.TransformerFactoryImpl">    
                 <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                 <attribute name="http://saxon.sf.net/feature/initialTemplate" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}get_all_xsd"/>
             </factory>
+            <!-- d2a -->
+            <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
+            <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
+            <param name="external_schema" expression="${external_schema}"/>
+            
+            <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
+            <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/default_db/CRM_PROCES_tree/CRM_PROCES_tree.postprocess_modules.xsd}disable.ditamap" expression=""/>
+            
+            <param name="temp" expression="${p5build.temp}"/>
+            <param
+                name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
+                expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
+            <param
+                name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
+                expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
+            <!-- EOF d2a -->
             <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
             <param name="cache" expression="refresh"/>
             <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
@@ -266,6 +309,7 @@
             <param name="basedir" expression="${basedir}"/>
             <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
             <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
+            <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
             <classpath location="/opt/local/share/java/saxon9he.jar"/>
         </xslt>
         <sequential>
@@ -284,17 +328,37 @@
                     <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                     <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}vrtfNamespaces"/>
                 </factory>
+                <!-- d2a -->
+                
+                <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
+                <param name="external_schema" expression="${external_schema}"/>
+                
+                <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
+                <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/default_db/CRM_PROCES_tree/CRM_PROCES_tree.postprocess_modules.xsd}disable.ditamap" expression=""/>
+                <param name="basedir" expression="${basedir}"/>
+                <param name="temp" expression="${p5build.temp}"/>
+                <param
+                    name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
+                    expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
+                <param
+                    name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
+                    expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
+                <!-- EOF d2a -->
                 <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
                 <param name="cache" expression="refresh"/>
                 <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
                 <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
                 <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
+                <param name="default_db.dir" expression="${default_db.dir}"/>
                 <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
                 <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
                 <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
                 <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
                 <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
+                <param name="default_db.dir" expression="${default_db.dir}"/>
                 <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
+                <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
+                <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
                 <classpath location="/opt/local/share/java/saxon9he.jar"/>
             </xslt>
             <sleep seconds="1"/>
@@ -321,7 +385,7 @@
          <mkdir dir="${transformed.local}"/>
          <delete file="${procesy5_system_schema.xml}" failonerror="false"/>
          <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
-           <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
+         <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
          <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
            <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${basedir}; </echo>
          <xslt basedir="./" style="${get_all_xsd.xsl}"  in="${empty.xml}"  destdir="./" out="${procesy5_system_schema.xml}" >
@@ -343,6 +407,11 @@
              <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
              <param name="basedir" expression="${basedir}"/>
              <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
+             <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
+             <param name="default_db.dir" expression="${default_db.dir}"/>
+             <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
+             <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
+             <param name="external_schema" expression="${external_schema}"/>
              <classpath location="/opt/local/share/java/saxon9he.jar"/>
          </xslt>
        </sequential>
@@ -385,6 +454,11 @@
                  <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
                  <param name="basedir" expression="${basedir}"/>
                  <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
+                 <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
+                 <param name="default_db.dir" expression="${default_db.dir}"/>
+                 <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
+                 <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
+                 <param name="external_schema" expression="${external_schema}"/>
                  <classpath location="/opt/local/share/java/saxon9he.jar"/>
              </xslt>
             </sequential>
@@ -417,11 +491,28 @@
                         <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
                         <attribute name="http://saxon.sf.net/feature/initialTemplate" value="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport}parse_schema_to_generate_id"/>
                     </factory>
+                    <!-- d2a -->
+                    <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
+                    <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
+                    <param name="external_schema" expression="${external_schema}"/>
+                    
+                    <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
+                    <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/default_db/CRM_PROCES_tree/CRM_PROCES_tree.postprocess_modules.xsd}disable.ditamap" expression=""/>
+                    
+                    <param name="temp" expression="${p5build.temp}"/>
+                    <param
+                        name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
+                        expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
+                    <param
+                        name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
+                        expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
+                    <!-- EOF d2a -->
                     <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
                     <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
                     <param name="targetNamespace_DEFAULTS" expression="${targetNamespace_DEFAULTS}"/>
                     <param name="new-schema-with-ID-to-move-and-rename-to-xsd" expression="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
                     <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
+                    <param name="default_db.dir" expression="${default_db.dir}"/>
                     <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
                     <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
                     <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>     
@@ -429,6 +520,8 @@
                     <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
                     <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
                     <param name="basedir" expression="${basedir}"/>
+                    <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
+                    <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
                     <!--<param name="vrtfNamespaces_file" expression="${vrtfNamespaces.xml}"/>-->
                     <classpath location="/opt/local/share/java/saxon9he.jar"/>
                 </xslt>
@@ -471,6 +564,12 @@
                     <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
                     <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
                     <param name="basedir" expression="${basedir}"/>
+                    <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
+                    <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
+                    <param name="default_db.dir" expression="${default_db.dir}"/>
+                    <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
+                    <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
+                    <param name="external_schema" expression="${external_schema}"/>
                     <classpath location="/opt/local/share/java/saxon9he.jar"/>
                 </xslt>
             </sequential>
@@ -509,6 +608,11 @@
                     <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
                     <param name="basedir" expression="${basedir}"/>
                     <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
+                    <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
+                    <param name="default_db.dir" expression="${default_db.dir}"/>
+                    <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
+                    <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
+                    <param name="external_schema" expression="${external_schema}"/>
                     <classpath location="/opt/local/share/java/saxon9he.jar"/>
                 </xslt>
             </sequential>
@@ -574,7 +678,7 @@
     
     
     
-    <target name="build_element_complexType.xml.single.task"  depends="SYSTEM.transformed.p5build.SYSTEM.transformed" description="Just element_complexType elements"> <!-- R save_build_properties,read_build_properties, -->
+    <target name="build_element_complexType.xml.single.task"  depends="SYSTEM.transformed.p5build.SYSTEM.transformed,save_build_properties" description="Just element_complexType elements"> <!-- R save_build_properties,read_build_properties, -->
         
         <parallel threadcount="2">
             <sequential>
@@ -612,7 +716,7 @@
                   <!--<param name="target" expression="xml_recursed_from_tr_map_with_RelatedFeatureLoop"/>-->
                   <param name="match_child_element" expression=""/>
                   <param name="match_child_element_property_name" expression=""/>
-                  <!--@201907 disabling properties <param name="properties.xml" expression="${build_properties.xml}"/>-->
+                  <param name="properties.xml" expression="${build_properties.xml}"/>
                   <!--<param name="properties_override.xml" expression="${properties_override.xml}"/>-->
                   <param name="parallel" expression="1"/>
                   <param name="threadCount" expression="${threadCount}"/>
@@ -1255,7 +1359,6 @@
     
     <target name="delete.external_schema_table.path" description="To delete generated by ${build_object_install_se_ant_object.xml} task system_cache__appinfo:object_install_se_ant_object.generate_tables_from_external models">
         <delete dir="${external_schema_table.path}" failonerror="false"/>
-        
     </target>
     
     <target name="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.cond" depends="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.test,new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.fail,new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.ok" />
@@ -1292,7 +1395,7 @@
                  <fileset dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
              </copy>
              <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
-               <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
+             <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
            </sequential>
         </parallel>
         
@@ -1417,17 +1520,17 @@
                      <arg line="deleting all cached complexType transactions maps and parent relations. "/>
                  </exec>-->
                 <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
-                    <property name="p5suis:say_text" value="deleting all remote cached complexType transactions maps and parent relations. " />
+                    <property name="p5suis:say_text" value="deleting all remote cached complexType transactions maps and parent relations. DISABLED DUE TO MIGRATION TO ONE SYSTEM " />
                 </ant>
                 <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-                
+             <!--   
                  <delete dir="${p5_tr_map.remote}" failonerror="no"/>
-                 <!--<copydir src="${p5_tr_map.local}" dest="${p5_tr_map.remote}" />-->
+                 <!-\-<copydir src="${p5_tr_map.local}" dest="${p5_tr_map.remote}" />-\->
                  <mkdir dir="${p5_tr_map.remote}"/>
                 <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
                     <property name="p5suis:say_text" value="Copying to remote all cached files" />
                 </ant>
-                <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
+                <!-\-<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-\->
                 
                  <copy todir="${p5_tr_map.remote}">
                      <fileset dir="${p5_tr_map.local}"/>
@@ -1435,9 +1538,9 @@
                  <delete dir="${detect_resource_type.remote}" failonerror="no"/>
                  <copy todir="${detect_resource_type.remote}">
                      <fileset dir="${detect_resource_type.local}"/>
-                 </copy>
+                 </copy>-->
               </sequential>
-              <sequential>
+             <!-- <sequential>
                  <delete dir="${table.remote}" failonerror="no"/>
                  <copy todir="${table.remote}">
                      <fileset dir="${table.local}"/>
@@ -1454,7 +1557,7 @@
                  <copy todir="${simpleSchema.remote}">
                      <fileset dir="${simpleSchema.local}"/>
                  </copy>
-              </sequential>
+              </sequential>-->
           </parallel>
     </target>
     

+ 3 - 1
SE/schema/default_db_xml_cache.public/default_db/BI_audit_BENFORD/default_db__x3A__BI_audit_BENFORD.BI_audit_BENFORD.xsl

@@ -7,6 +7,8 @@
     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
     xmlns:p5="https://biuro.biall-net.pl/wfs"
     xmlns:xlink="http://www.w3.org/1999/xlink"
+    xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_UMOWY="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_UMOWY"
     xmlns:default_db__x3A__BI_audit_BENFORD="https://biuro.biall-net.pl/wfs/default_db/BI_audit_BENFORD"
     exclude-result-prefixes="xs Benford system_cache__appinfo system_cache__dita get_wfs p5 xlink default_db__x3A__BI_audit_BENFORD"
@@ -362,7 +364,7 @@
     <xsl:template mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD" match="text()|comment()|*"/>
     
     
-    <xsl:template match="RelatedFeatureRoot" mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.preprocess_root"/>
+    <xsl:template match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot" mode="default_db__x3A__BI_audit_BENFORD:BI_audit_BENFORD.preprocess_root"/>
     
     
     

+ 4 - 2
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl

@@ -9,6 +9,8 @@
     xmlns:p5="https://biuro.biall-net.pl/wfs"
     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
     xmlns:p5gnuplot="http://biuro.biall-net.pl/WPS_Functions/graph_gnuplot"
+    xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_UMOWY="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_UMOWY"
     xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA="https://biuro.biall-net.pl/wfs/default_db/ENERGA_RUM_KONTRAHENCI_POWIAZANIA"
     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
@@ -101,7 +103,7 @@
     
    
     
-    <xsl:template match="RelatedFeatureRoot" mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA">
+    <xsl:template match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot" mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA">
         <xsl:message>#37 template match="RelatedFeatureRoot" mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA"</xsl:message>
         <xsl:apply-templates mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA"/>
     </xsl:template>
@@ -353,7 +355,7 @@
             
     </xsl:template>
     
-    <xsl:template match="RelatedFeatureRoot" mode="postprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA"/>
+    <xsl:template match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot" mode="postprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA"/>
     
     <xsl:template match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_old" mode="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row"/>
       

+ 4 - 2
SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors/BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors_tree_to_dita.xsl

@@ -1,6 +1,8 @@
 <?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"
+    xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
     xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
     xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.xsd"
     xmlns:ogr="http://ogr.maptools.org/"
@@ -33,7 +35,7 @@
         <xsl:text>&amp;#xA</xsl:text>
     </xsl:variable>
     
-    <xsl:template match="RelatedFeatureRoot" mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors">
+    <xsl:template match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot" mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors">
         <xsl:message>#37 template match="RelatedFeatureRoot" mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors"</xsl:message>
         <xsl:apply-templates mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors"/>
     </xsl:template>
@@ -58,7 +60,7 @@
         </xsl:for-each>
     </xsl:template>
     
-    <xsl:template match="RelatedFeatureRoot" mode="postprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors"/>
+    <xsl:template match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot" mode="postprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors"/>
     
     <xsl:template match="BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors" mode="ditamap_root">
         <!--<xsl:result-document href="energa_bledy_rum.ditamap">-->

+ 3 - 1
SE/schema/default_db_xml_cache.public/default_db/CRM_PROCES/PROCES_INIT_tree_to_dita.xsl

@@ -2,6 +2,8 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
     exclude-result-prefixes="xs"
     version="2.0">
     
@@ -31,7 +33,7 @@
     
     
     
-    <xsl:template mode="postprocess_root_PROCES_INIT" match="RelatedFeatureRoot">
+    <xsl:template mode="postprocess_root_PROCES_INIT" match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot">
         <xsl:comment>postprocess_root_PROCES_INIT</xsl:comment>
             <xsl:apply-templates mode="postprocess_images"/>
             <xsl:for-each-group select="//(CRM_IMAGE_CRM_PROCES|CRM_IMAGE_CRM_LISTA_ZASOBOW|CRM_IMAGE_CRM_WSKAZNIK)" group-by="ID">

+ 4 - 2
SE/schema/default_db_xml_cache.public/default_db/EXAMPLE/EXAMPLE_tree_to_dita.xsl

@@ -3,6 +3,8 @@
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
     xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
     exclude-result-prefixes="xs"
     version="2.0">
     
@@ -32,7 +34,7 @@
     <!--<xsl:apply-templates select="." mode="preprocess_root_EXAMPLE"/>-->
     <xsl:template mode="preprocess_root_EXAMPLE" match="*|text()|comment()"/>
     
-    <xsl:template mode="preprocess_root_EXAMPLE" match="RelatedFeatureRoot">
+    <xsl:template mode="preprocess_root_EXAMPLE" match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot">
         <xsl:comment>#36 mam <xsl:value-of select="ID"/></xsl:comment>
         <xsl:for-each select="//EXAMPLE//(the_geom[ text()])" > <!-- group-by="../ID" -->
             <xsl:comment>#37 mam <xsl:value-of select="../ID"/></xsl:comment>
@@ -66,7 +68,7 @@
     
     
     <!-- inform to process images from base64 -->
-    <xsl:template mode="postprocess_root_EXAMPLE" match="RelatedFeatureRoot">
+    <xsl:template mode="postprocess_root_EXAMPLE" match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot">
         <xsl:comment>postprocess_root_EXAMPLE</xsl:comment>
             <!--<xsl:apply-templates mode="postprocess_images_EXAMPLE"/>-->
             <xsl:for-each-group select="//(EXAMPLE_IMAGE)" group-by="ID">

+ 3 - 1
SE/schema/default_db_xml_cache.public/default_db/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI_tree_to_dita.xsl

@@ -4,6 +4,8 @@
     xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
     xmlns:ogr="http://ogr.maptools.org/"
     xmlns:gml="http://www.opengis.net/gml"
+    xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
     exclude-result-prefixes="xs"
     version="2.0">
     
@@ -19,7 +21,7 @@
     
     
     
-    <xsl:template mode="preprocess_root_IN7_MK_BAZA_DYSTRYBUCJI" match="RelatedFeatureRoot">
+    <xsl:template mode="preprocess_root_IN7_MK_BAZA_DYSTRYBUCJI" match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot">
         <xsl:comment>preprocess_root_IN7_MK_BAZA_DYSTRYBUCJI</xsl:comment>
             <xsl:for-each-group select="//(INWESTYCJA_BUDOWA_SIECI|IN7_MK_BAZA_DYSTRYBUCJI)" group-by="ID">
                 <xsl:comment>#24 mam <xsl:value-of select="ID"/></xsl:comment>

+ 59 - 0
SE/schema/default_db_xml_cache.public/default_db/get_wfs_recurse_xsl.RelatedFeature.preprocess.xsl

@@ -0,0 +1,59 @@
+<?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"
+    xmlns:wfs="http://www.opengis.net/wfs"
+    xmlns:gml="http://www.opengis.net/gml"
+    xmlns:ogc="http://www.opengis.net/ogc"
+    xmlns:p5="https://biuro.biall-net.pl/wfs"
+    xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
+    xmlns:get_wfs_recurse_xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl.xsd"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+    xmlns:default_objects="https://biuro.biall-net.pl/wfs/default_objects"
+    xmlns:xlink="http://www.w3.org/1999/xlink"
+    exclude-result-prefixes="xs"
+    version="2.0">
+    
+    
+    
+    <xsl:template mode="get_wfs_recurse_xsl:RelatedFeature.preprocess" match="*">
+        <!-- mosty bypass yet no idea -->
+        <!--<xsl:copy>
+            <xsl:attribute name="get_wfs_recurse_xsl:RelatedFeature.preprocess">debug20</xsl:attribute>
+            <xsl:apply-templates mode="#current" select="@*"/>-->
+            <xsl:apply-imports/>
+            <xsl:apply-templates mode="#current"/>
+        <!--</xsl:copy>-->
+    </xsl:template>
+    
+    <xsl:template mode="get_wfs_recurse_xsl:RelatedFeature.preprocess" match="@*">
+        <xsl:copy-of select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="get_wfs_recurse_xsl:RelatedFeature.preprocess" match="text()|comment()">
+        <!--<xsl:copy-of select="."/>-->
+    </xsl:template>
+    
+    
+    <xsl:template mode="get_wfs_recurse_xsl:postprocess_root" match="topic">
+        <map>
+        <xsl:comment>#39-55 todo</xsl:comment>
+        </map>
+    </xsl:template>
+    
+    <xsl:template mode="get_wfs_recurse_xsl:postprocess_root" match="*">
+        <xsl:comment>#39-555 todo</xsl:comment>
+    </xsl:template>
+    
+    <!--<xsl:template  match="topic">
+            <xsl:comment>#39-51-5 todo</xsl:comment>
+        <xsl:apply-templates mode="ditamap_root" select="."/>
+    </xsl:template>-->
+    
+    <!--<xsl:template mode="ditamap_root" match="topic">
+        <map>
+            <xsl:comment>#39-51 todo</xsl:comment>
+        </map>
+    </xsl:template>-->
+    
+</xsl:stylesheet>

+ 34 - 7
SE/schema/default_db_xml_cache.public/default_db/tree_to_dita.xsl

@@ -7,11 +7,14 @@
     xmlns:math="http://exslt.org/math"
     xmlns:func="http://exslt.org/functions"
     xmlns:get_wfs="http://biuro.biall-net.pl/WPS_Functions/get_wfs/get_wfs.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeature="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeature.xsd"
+    xmlns:get_wfs_recurse_xsl.RelatedFeatureRoot="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.RelatedFeatureRoot.xsd"
     xmlns:default_db__x3A__BI_audit_VALIDATE="https://biuro.biall-net.pl/wfs/default_db/BI_audit_VALIDATE"
     xmlns:default_db__x3A__BI_audit_BENFORD="https://biuro.biall-net.pl/wfs/default_db/BI_audit_BENFORD"
     xmlns:ogr="http://ogr.maptools.org/"
     xmlns:p5="https://biuro.biall-net.pl/wfs"
     xmlns:default_db="https://biuro.biall-net.pl/wfs/default_db"
+    xmlns:get_wfs_recurse_xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/get_wfs_recurse_xsl.xsd"
     extension-element-prefixes="math func system_cache__appinfo"
     exclude-result-prefixes="xs p5 system_cache__appinfo system_cache__dita ogr Benford default_db get_wfs"
     version="2.0">
@@ -140,6 +143,11 @@
     <xsl:import href="tree_to_dita.files.xsl"/>
     <xsl:import href="tree_to_dita.element.xsl"/>
     <xsl:import href="tree_to_dita.localname.translate.xsl"/>
+    
+    <!-- testing wfs recurse as compatibile digging method for parsing data 2019-09 -->
+    <xsl:import href="../../WPS_Functions/get_wfs_recurse_xsl/get_wfs_recurse_xsl.xsl"/>
+    <xsl:include href="get_wfs_recurse_xsl.RelatedFeature.preprocess.xsl"/>
+    
     <xsl:include href="../dita_enter_to_ph.xsl"/>
     
     <!--<xsl:include href="../default_db/enter_to_ph.xsl"/>-->
@@ -184,11 +192,11 @@
     
     
     
-    <xsl:template mode="preprocess" match="RelatedFeatureRoot">
+    <xsl:template mode="preprocess" match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot">
         <xsl:message>#170 matched RelatedFeatureRoot : mode preprocess - all modules should protect match * to protect text output problems </xsl:message>
         <preprocess_dita>
             <!-- #Register preprocess_root - line to register for preprocess gml images mainly -->
-            <xsl:comment>#27 match RelatedFeatureRoot</xsl:comment>
+            <xsl:comment>#27-A match RelatedFeatureRoot</xsl:comment>
             <xsl:apply-templates select="." mode="preprocess_root_EXAMPLE"/>
             <xsl:apply-templates select="." mode="preprocess_root_IN7_MK_BAZA_DYSTRYBUCJI"/>
             <xsl:apply-templates select="." mode="preprocess_root_BI_audit_ENERGA_RUM_KONTRAHENCI_and_BI_audit_ENERGA_RUM_UMOWY_errors"/>
@@ -200,7 +208,17 @@
         </preprocess_dita>
     </xsl:template>
     
-    <xsl:template mode="postprocess" match="RelatedFeatureRoot">
+    <!--<xsl:template mode="preprocess" match="topic">
+        <xsl:message>#170-topic matched RelatedFeatureRoot : mode preprocess - all modules should protect match * to protect text output problems </xsl:message>
+        <preprocess_dita>
+            <!-\- #Register preprocess_root - line to register for preprocess gml images mainly -\->
+            <xsl:apply-templates select="." mode="get_wfs_recurse_xsl:RelatedFeature.preprocess"/><!-\- do przerobienia dane z metody wfs_recurse - lepiej zeby zwracaly domyslne nazwy obiektow, wzglednie magia z przeplataniem gotowej dity, z mapa i z override styli globalnych -\->
+        </preprocess_dita>
+    </xsl:template>-->
+    
+    
+    
+    <xsl:template mode="postprocess" match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot">
         <postprocess_dita>
             <xsl:comment>#25 match RelatedFeatureRoot</xsl:comment>
             <!-- line for #Register postprocess_root -->
@@ -210,9 +228,16 @@
         </postprocess_dita>
     </xsl:template>
     
+    <!--<xsl:template mode="postprocess" match="topic">
+        <postprocess_dita>
+            <xsl:comment>#25-229 match RelatedFeatureRoot</xsl:comment>
+            <xsl:apply-templates select="." mode="get_wfs_recurse_xsl:postprocess_root"/>
+        </postprocess_dita>
+    </xsl:template>-->
+    
     <xsl:template mode="postprocess_root_IN7_MK_BAZA_DYSTRYBUCJI" match="*"/>
     
-    <xsl:template match="RelatedFeatureRoot">
+    <xsl:template match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot">
         <xsl:comment>#29 match RelatedFeatureRoot</xsl:comment>
         <xsl:apply-templates mode="ditamap_root"/>
     </xsl:template>
@@ -225,7 +250,7 @@
     <!-- default template for dita embedded output -->
     
     
-    <xsl:template match="map" mode="ditamap_root">
+    <xsl:template match="map|topic" mode="ditamap_root">
         <xsl:element name="{name()}">
             <xsl:copy-of select="@*" copy-namespaces="no"/>
             <xsl:copy-of select="title" copy-namespaces="no"/>
@@ -279,7 +304,7 @@
             <xsl:variable name="ditamap_root.embedded_map.body">
                 <xsl:apply-templates mode="ditamap_root.embedded_map.body"/>
             </xsl:variable>
-            <xsl:result-document href="{$temp}/{$uuid}/{@id}.dita">
+            <xsl:result-document href="{$temp}/{$uuid}/{@id}.dita" doctype-public="-//OASIS//DTD DITA Topic//EN" doctype-system="topic.dtd">
                 <xsl:element name="{name()}">
                     <xsl:apply-templates mode="ditamap_root.embedded_map" select="@*"/>
                    <!-- <debug.248><xsl:copy-of select="."/></debug.248>
@@ -309,7 +334,9 @@
     
     <xsl:template mode="ditamap_root.embedded_map.body" match="@system_cache__dita:width_cols"/>
         
-        
+    <xsl:template match="*[@get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy]" mode="ditamap_root.embedded_map.body">
+        <xsl:message>#338 ERROR NOT PARSED gml:featureMember [@get_wfs_recurse_xsl.RelatedFeature:gml.featureMember.copy] == <xsl:value-of select="name()"/> </xsl:message>
+    </xsl:template>
     
     <xsl:template match="*" mode="ditamap_root.embedded_map.body">
         <xsl:element name="{name()}">

+ 22 - 0
SE/schema/default_db_xml_cache.public/escape_functions/escape_object_prefix_to_string.xsl

@@ -0,0 +1,22 @@
+<?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"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    exclude-result-prefixes="xs"
+    version="2.0">
+   
+    <!-- funkcja do zamienienia na postac default_db__x3A__IN7_DZIENNIK_KORESP do IN7_DZIENNIK_KORESP -->
+    <xsl:function name="system_cache__appinfo:escape_object_prefix_to_string">
+        <xsl:param name="name" />
+        <!--<xsl:variable name="out1" select="replace(replace($name,'__x3A__','__x3AA__'),'__x3AA__','__x3AAA__')"/>-->
+        <xsl:value-of select="replace(replace(replace(replace(replace(replace(replace(replace($name, '/', '__x2F__'), ':', '__x3A__'),'-','__x2D__'),'%','__x25__'), '\(', '__x28__'), '\)' ,'__x29__'),'#','__x23__'),'\*','__x2A__')"/>
+        
+        
+    </xsl:function>
+    
+    <xsl:function name="system_cache__appinfo:escape_object_prefix_to_string.old">
+        <xsl:param name="name" />
+        <xsl:value-of select="replace(replace(replace(replace(replace(replace(replace(replace($name, '/', '__x2F__'), ':', '__x3A__'),'-','__x2D__'),'%','__x25__'), '\(', '__x28__'), '\)' ,'__x29__'),'#','__x23__'),'\*','__x2A__')"/>
+    </xsl:function>
+    
+</xsl:stylesheet>

+ 22 - 0
SE/schema/default_db_xml_cache.public/escape_functions/translate_object_escaped_prefix_from_string.xsl

@@ -0,0 +1,22 @@
+<?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"
+    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+    exclude-result-prefixes="xs"
+    version="2.0">
+   
+    <!-- funkcja do ponownego zamienienia na sredniki itp z np. default_db__x3A__IN7_DZIENNIK_KORESP do IN7_DZIENNIK_KORESP -->
+    <xsl:function name="system_cache__appinfo:translate_object_escaped_prefix_from_string.old">
+        <xsl:param name="name" />
+        <xsl:value-of select="replace(replace(replace(replace(replace(replace(replace(replace($name, '__x2F__', '/'), '__x3A__', ':'),'__x2D__','-'),'__x25__','%'),'__x28__','('),'__x29__',')'),'__x23__','#'),'__x2A__','*')"/>
+    </xsl:function>
+    
+    <xsl:function name="system_cache__appinfo:translate_object_escaped_prefix_from_string">
+        <xsl:param name="name" />
+        <xsl:value-of  select="replace(replace(replace(replace(replace(replace(replace(replace($name,'__x2F__', '/'), '__x3A__', ':'),'__x2D__','-'),'__x25__','%'),'__x28__','('),'__x29__',')'),'__x23__','#'),'__x2A__','*')"/>
+        <!--<xsl:variable name="out2" select="replace(replace($out1,'__x3AA__','__x3A__'),'__x3AAA__','__x3AA__')"/>-->
+        
+        
+    </xsl:function>
+    
+</xsl:stylesheet>

+ 12 - 0
SE/schema/p5build.xsl

@@ -0,0 +1,12 @@
+<?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">
+    
+    <!-- includes issue local -->
+    
+    <!--<xsl:include href="WPS_Functions/dita-to-ant/d2a__x3A__p5xsl__x3A__p5CPTpm.xsl"/>-->
+    <xsl:include href="default_db_xml_cache.public/get_all_xsd.xsl"/>
+    <xsl:include href="default_db_xml_cache.public/system_cache__appinfo/functions.xsl"/>
+</xsl:stylesheet>

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików