Browse Source

todo do folders interface

a.binder 8 năm trước cách đây
mục cha
commit
1860cec0be

+ 3 - 0
SE/schema/WPS_Functions/folders_interface/build.p5fi.PRODUCT.xml

@@ -31,6 +31,9 @@
    <target depends="basedir,p5xsls.xml"
            description="to create basedir, includes and install"
            name="PRODUCT"/>
+   
+   
+   
    <target description="to create local dirs" name="basedir">
       <propertyset id="p5fi.local.properties">
          <propertyref prefix="p5fi"/>

+ 171 - 95
SE/schema/WPS_Functions/folders_interface/build_folders_interface.xml

@@ -1,17 +1,182 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns:p5fi="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/folders_interface.xsd"
+         xmlns:props="antlib:org.apache.ant.props"
          basedir="../../."
          default="default"
          name="folders_interface">
    
-   <description>To communicate with folders in SE/Procesy5 based on 
+   <description>To communicate with folders in SE/Procesy5 based on </description>
+   
+   <include as="PRODUCT" file="build.p5fi.PRODUCT.xml"/>
+   <include as="SYSTEM" file="build.p5fi.SYSTEM.xml"/>
+   <include as="INSTALL" file="build.p5fi.INSTALL.xml"/>
+  
+   <include file="../xmlschema_interface/build_xmlschema_interface.xml" as="p5xmli"/>
+   <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
+   <include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>
+   <include file="../documentation_generator/build.p5dg.PRODUCT.xml"/>
+   <include file="${p5build_SE.build}" as="p5build_SE"/>   
+   
+   
+   
+   
+   
+   <target depends="PRODUCT.PRODUCT,INSTALL.INSTALL" name="default"/>
+   
+   
+   
+   <!-- https://biuro.biall-net.pl/SE/version-git/index.php?
+      -D_route=UrlAction_Ant -D_task=ant -Dpath=default_db.in7_dziennik_koresp/etykieta -Dtemplate=recurse_ant.buildpdf_recursed_xsl_mail -DtypeName=default_db:IN7_DZIENNIK_KORESP -DprimaryKey=62875 -DprimaryKeyField=ID 
+   -Dp5xmli.TypeName.local=default_db:IN7_DZIENNIK_KORESP  -DNamespaceObjectInstanceTable.local=IN7_DZIENNIK_KORESP -DconfirmAntfile=confirmAntfile -DconfirmAntfileTarget=confirmAntfileTarget  -D_route=UrlAction_Ant -D_task=ant -Dpath=default_db.in7_dziennik_koresp/etykieta -Dtemplate=recurse_ant.buildpdf_recursed_xsl_mail -Dfolders_interface.primaryKey.local=62875 -Dfolders_interface.primaryKeyField.local=ID -DantFunctionUrl=https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&amp;_task=ant&amp;path=default_db.in7_dziennik_koresp/etykieta&amp;template=buildpdf_recursed_xsl_mail&amp;typeName=default_db:IN7_DZIENNIK_KORESP&amp;primaryKey=63007&amp;primaryKeyField=ID
+   -->
+   
+   <target name="p5build_SE_build_procesy5_config_folders_root_points_mount_point_isset" unless="p5build_SE.build_procesy5_config.folders.root_points.mount_point">
+      <fail>#32 not set expected property p5build_SE.build_procesy5_config.folders.root_points.mount_point = ${p5build_SE.build_procesy5_config.folders.root_points.mount_point} by p5build_SE.build_SE_read_procesy5_file_properties</fail>
+   </target>
+   
+   <target name="fetch_dir_by_TypeName_and_PK" depends="p5build_SE.build_SE_read_procesy5_file_properties,p5build_SE_build_procesy5_config_folders_root_points_mount_point_isset,p5xmli.NamespaceObjectInstanceTable.local" description="To detect @feature folder by typename = table and its PK ">
+      <input addproperty="p5xmli.NamespaceObjectInstanceTable.local" message="Type NamespaceObjectInstanceTable.local = like IN7_DZIENNIK_KORESP "/>
+      <input addproperty="p5xmli.TypeName.local"  message="Type folders_interface.TypeName.local like p5_default_db:IN7_DZIENNIK_KORESP - to be calculated"/>
+      <input addproperty="folders_interface.primaryKey.local"/>
+      <input addproperty="folders_interface.primaryKeyField.local"/>
+      
+      <input addproperty="antFunctionUrl" message="like https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&amp;_task=ant&amp;path=default_db.in7_dziennik_koresp/etykieta&amp;template=buildpdf_recursed_xsl_mail&amp;typeName=default_db:IN7_DZIENNIK_KORESP&amp;primaryKey=63007&amp;primaryKeyField=ID" />
+      <input addproperty="confirmAntfile" message="path to ant file to confirm something" />
+      <input addproperty="confirmAntfileTarget" message="name of target to confirm something" />
+      <input addproperty="p5xmli.NamespaceDatabaseStorageDefinitionOptSuffix" defaultvalue="p5"/>
+      
+      <echo>#46 test if ok $p5build_SE.build_procesy5_config.folders.root_points.mount_point = ${p5build_SE.build_procesy5_config.folders.root_points.mount_point}
+         $p5xmli.NamespaceObjectInstanceTable.local = ${p5xmli.NamespaceObjectInstanceTable.local}
+         $folders_interface.TypeName.local = ${folders_interface.TypeName.local}
+         $p5xmli.NamespaceDatabaseStorageDefinitionOptSuffix = ${p5xmli.NamespaceDatabaseStorageDefinitionOptSuffix}
+         test eval p5build_SE.build_procesy5_config.folders.IN7_DZIENNIK_KORESP_COLUMN.mount_point = ${p5build_SE.build_procesy5_config.folders.IN7_DZIENNIK_KORESP_COLUMN.mount_point}
+      </echo>
+      
+     <!-- <input addproperty="p5build_SE.build_procesy5_config.folders.root_points.mount_point" defaultvalue="/Library/Server/Web/Data/Sites/Default/PLIKI/"/>
+      <input addproperty="p5build_SE.build_procesy5_config.folders.root_points.share_point" defaultvalue="//biuro.biall-net.pl/PLIKI"/>
+      <input addproperty="p5build_SE.build_procesy5_config.folders.root_points.www_share_point" defaultvalue="https://biuro.biall-net.pl/PLIKI/"/>
+      -->
+     
+      <!--   mount_point="DRUKI"
+      share_point="DRUKI"
+      www_share_point="DRUKI"
+      LOOKAT_FOLDER_LOOK_GLOB="<VARNAME>.*"
+         LOOKAT_FOLDER_VARNAME="ID"
+         DEST_FOLDER_FORMAT="<VARNAME1>.<VARNAME2>"
+            DEST_FOLDER_VARNAME1="ID"
+            DEST_FOLDER_VARNAME2="DESC"-->
+      
+      
+      <!--<ant antfile="${p5suis.build}" target="p5suis:say_to_queue">
+         <property name="p5suis:say_text" value="Indexing files from remote ant object repository" />
+      </ant>-->
+      
+      <!--<macrodef name="setToken">
+         <attribute name="loc"/>
+         <attribute name="box"/>
+         <sequential>
+            <property name="token" value="${@{loc}.@{box}.server}" />
+         </sequential>
+      </macrodef>-->
+      <setToken loc="${loc}" box="${box}"/>
+      
+      <local name="p5build_SE.build_procesy5_config.folders.COLUMN.path.mount_point.local"/>
+      <local name="p5build_SE.build_procesy5_config.folders.COLUMN.dir.mount_point.local"/>
+      <property name="p5build_SE.build_procesy5_config.folders.COLUMN.dir.mount_point.local" value="${p5build_SE.build_procesy5_config.folders.${p5xmli.NamespaceObjectInstanceTable.local}_COLUMN.mount_point}"/>
+      <echo>#701 calculated $p5build_SE.build_procesy5_config.folders.COLUMN.dir.mount_point.local = ${p5build_SE.build_procesy5_config.folders.COLUMN.dir.mount_point.local} from ${p5xmli.NamespaceObjectInstanceTable.local} </echo>
+      <!--<property name="p5build_SE.build_procesy5_config.folders.BUILDINGS_COLUMN.LOOKAT_FOLDER_LOOK_GLOB" value="&lt;VARNAME&gt;.*"/>-->
+      
+      <local name="p5build_SE.build_procesy5_config.folders.COLUMN.LOOKAT_FOLDER_LOOK_GLOB.local"/>
+      <property name="p5build_SE.build_procesy5_config.folders.COLUMN.LOOKAT_FOLDER_LOOK_GLOB.local"  value="${p5build_SE.build_procesy5_config.folders.${p5xmli.NamespaceObjectInstanceTable.local}_COLUMN.LOOKAT_FOLDER_LOOK_GLOB}"/>
+      <echo>#706 calculated $p5build_SE.build_procesy5_config.folders.COLUMN.LOOKAT_FOLDER_LOOK_GLOB.local = ${p5build_SE.build_procesy5_config.folders.COLUMN.LOOKAT_FOLDER_LOOK_GLOB.local} </echo>
+      
+      <local name="p5build_SE.build_procesy5_config.folders.COLUMN.LOOKAT_FOLDER_VARNAME.local"/>
+      <property name="p5build_SE.build_procesy5_config.folders.COLUMN.LOOKAT_FOLDER_VARNAME.local"  value="${p5build_SE.build_procesy5_config.folders.${p5xmli.NamespaceObjectInstanceTable.local}_COLUMN.LOOKAT_FOLDER_VARNAME}"/>
+      <echo>#710 calculated $p5build_SE.build_procesy5_config.folders.COLUMN.LOOKAT_FOLDER_VARNAME.local = ${p5build_SE.build_procesy5_config.folders.COLUMN.LOOKAT_FOLDER_VARNAME.local} </echo>
       
-      [root_points]
-      mount_point="/Library/Server/Web/Data/Sites/Default/PLIKI/"
-      share_point="//biuro.biall-net.pl/PLIKI"
-      www_share_point="https://biuro.bial...
+      <local name="p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_FORMAT.local"/>
+      <property name="p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_FORMAT.local"  value="${p5build_SE.build_procesy5_config.folders.${p5xmli.NamespaceObjectInstanceTable.local}_COLUMN.DEST_FOLDER_FORMAT}"/>
+      <echo>#714 calculated $p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_FORMAT.local = ${p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_FORMAT.local} </echo>
       
-   </description>
+      <local name="p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME1.local"/>
+      <property name="p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME1.local"  value="${p5build_SE.build_procesy5_config.folders.${p5xmli.NamespaceObjectInstanceTable.local}_COLUMN.DEST_FOLDER_VARNAME1}"/>
+      <echo>#718 calculated $p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME1.local = ${p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME1.local} </echo>
+      
+      <local name="p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME2.local"/>
+      <property name="p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME2.local"  value="${p5build_SE.build_procesy5_config.folders.${p5xmli.NamespaceObjectInstanceTable.local}_COLUMN.DEST_FOLDER_VARNAME2}"/>
+      <echo>#722 calculated $p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME2.local = ${p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME1.local} </echo>
+      
+      <local name="p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME2.local"/>
+      <property name="p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME2.local"  value="${p5build_SE.build_procesy5_config.folders.${p5xmli.NamespaceObjectInstanceTable.local}_COLUMN.DEST_FOLDER_VARNAME2}"/>
+      <echo>#722 calculated $p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME2.local = ${p5build_SE.build_procesy5_config.folders.COLUMN.DEST_FOLDER_VARNAME1.local} </echo>
+      
+      
+      <tempfile property="p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index.xml" destdir="${p5fi.temp}" prefix="p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index" suffix=".xml"/>
+      <tempfile property="p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index_fileset.xml" destdir="${p5fi.temp}" prefix="p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index_fileset" suffix=".xml"/>
+      
+      <fileset id="p5build_SE.build_procesy5_config.folders.root_points.mount_point.fileset" dir="${p5build_SE.build_procesy5_config.folders.root_points.mount_point}"  excludes="(.*recurse_cache.*)|(.*/temp/.*)"  >
+         <include name="**/*.xsd"/>
+         <exclude name="**/*build.xml"/>
+      </fileset>
+      <local name="object_merge_ant_object.from_remote_ant_object.files.index.fileset"/>
+      <property name="object_merge_ant_object.from_remote_ant_object.files.index.fileset.local" refid="p5build_SE.build_procesy5_config.folders.root_points.mount_point.fileset"/>
+      
+      <echo>#32 saved to $p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index.xml = ${p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index.xml}</echo>
+      <echoxml file="${p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index.xml}" namespacepolicy="all">
+         <object_merge_ant_object.from_remote_ant_object.files.index.xml xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/object_merge_ant_object.xsd">
+            ${object_merge_ant_object.from_remote_ant_object.files.index.fileset}
+         </object_merge_ant_object.from_remote_ant_object.files.index.xml>
+      </echoxml>
+      
+      <xslt basedir="${p5fi.temp}" style="${p5dg.documentation_generator.xsl}" in="${object_merge_ant_object.from_remote_ant_object.files.index.xml}"   out="${p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index_fileset.xml}"  force="true"  >
+         <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="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd}p5dg.documentation.files.index_fileset.xml"/>
+         </factory>
+         <classpath location="/opt/local/share/java/saxon9he.jar"/>
+         <param name="p5build_SE.build" expression="${p5build_SE.build}"/>
+         <param name="p5dg.repository.dita" expression="${object_merge_ant_object.repository}"/>
+         <param name="p5dg.temp" expression="${object_merge_ant_object.temp}"/>
+         <param name="p5dg.repository" expression="${object_merge_ant_object.repository}"/>
+         <param name="p5dg.documentation.files.index.root_dir" expression="${remote.ant-object}"/>
+         <param name="p5dg.documentation.files.index.excludes.regex" expression=""/>
+      </xslt>
+      
+      <xslt basedir="${p5fi.temp}" style="${p5dg.documentation_generator.xsl}" in="${p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index_fileset.xml}"   out="${p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index_fileset.xml}" force="true"  >
+         <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="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd}p5dg.documentation.files.index_analyzed.xml"/>
+         </factory>
+         <classpath location="/opt/local/share/java/saxon9he.jar"/>
+         <param name="p5build_SE.build" expression="${p5build_SE.build}"/>
+         <param name="p5dg.repository.dita" expression="${object_merge_ant_object.repository}"/>
+         <param name="p5dg.temp" expression="${object_merge_ant_object.temp}"/>
+         <param name="p5dg.repository" expression="${object_merge_ant_object.repository}"/>
+         <param name="p5dg.documentation.files.index.root_dir" expression="${remote.ant-object}"/>
+         <param name="p5dg.documentation.files.index.excludes.regex" expression="none"/>
+      </xslt>
+      
+      
+      <tempfile property="folders_interface.action.build.xml" destdir="${p5fi.temp}" prefix="folders_interface.action.build" suffix=".xml"/>
+      
+      <xslt basedir="${object_merge_ant_object.temp}" style="${object_merge_ant_object.xsl}" in="${p5build_SE.build_procesy5_config.folders.root_points.mount_point.files.index_fileset.xml}"   out="${folders_interface.action.build.xml}" force="true"  >
+         <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="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/folders_interface/p5fi.xsd}folders_interface.action.build.xml"/>
+         </factory>
+         <classpath location="/opt/local/share/java/saxon9he.jar"/>
+         <param name="remote.ant-object" expression="${remote.ant-object}"/>
+         <param name="basedir" expression="${basedir}"/>
+         <param name="object_modeling_new.build.xml" expression="${object_modeling_new.build.xml}"/>
+         <param name="object_merge_ant_object.build.xml" expression="${object_merge_ant_object.build.xml}"/>
+         
+      </xslt>
+      
+      
+   </target>
+   
+   
+   
    
    
    <!-- Exammple folders config which would parse 
@@ -651,95 +816,6 @@ DEST_FOLDER_VARNAME1="ID"
    <property name="p5build_SE.build_procesy5_config.folders.BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_COLUMN.DEST_FOLDER_VARNAME1"
              value="ID"/> -->
    
-   <include as="PRODUCT" file="build.p5fi.PRODUCT.xml"/>
-   <include as="SYSTEM" file="build.p5fi.SYSTEM.xml"/>
-   <include as="INSTALL" file="build.p5fi.INSTALL.xml"/>
-  
-   <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
-   <include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>
-   <include file="../documentation_generator/build.p5dg.PRODUCT.xml"/>
-   
-
-   <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
-   <include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>
-   <include file="../documentation_generator/build.p5dg.PRODUCT.xml"/>
-   
-   <target depends="PRODUCT.PRODUCT,INSTALL.INSTALL" name="default"/>
-   
-   
-   
-   
-   <target name="fetch_dir_by_TypeName_and_PK" description="To detect @feature folder by typename = table and its PK ">
-      
-      <input addproperty="folders_interface.TypeName.local" message="Type folders_interface.TypeName.local"/>
-      <input addproperty="folders_interface.primaryKey.local"/>
-      <input addproperty="folders_interface.primaryKeyField.local"/>
-      <input addproperty="p5build_SE.build_procesy5_config.folders.root_points.mount_point" defaultvalue="/Library/Server/Web/Data/Sites/Default/PLIKI/"/>
-      <input addproperty="p5build_SE.build_procesy5_config.folders.root_points.share_point" defaultvalue="//biuro.biall-net.pl/PLIKI"/>
-      <input addproperty="p5build_SE.build_procesy5_config.folders.root_points.www_share_point" defaultvalue="https://biuro.biall-net.pl/PLIKI/"/>
-      
-      <property name="p5build_SE.build_procesy5_config.folders.DEALS_TABLE_COLUMN.mount_point"/>
-      <property name="p5build_SE.build_procesy5_config.folders.DEALS_TABLE_COLUMN.LOOKAT_FOLDER_LOOK_GLOB"/>
-      <!--   mount_point="DRUKI"
-      share_point="DRUKI"
-      www_share_point="DRUKI"
-      LOOKAT_FOLDER_LOOK_GLOB="<VARNAME>.*"
-         LOOKAT_FOLDER_VARNAME="ID"
-         DEST_FOLDER_FORMAT="<VARNAME1>.<VARNAME2>"
-            DEST_FOLDER_VARNAME1="ID"
-            DEST_FOLDER_VARNAME2="DESC"-->
-      
-      
-      <!--<ant antfile="${p5suis.build}" target="p5suis:say_to_queue">
-         <property name="p5suis:say_text" value="Indexing files from remote ant object repository" />
-      </ant>-->
-      
-      <fileset id="object_merge_ant_object.from_remote_ant_object.files.index.fileset" dir="${p5build_SE.build_procesy5_config.folders.root_points.mount_point}"  excludes="(.*recurse_cache.*)|(.*/temp/.*)"  >
-         <include name="**/*.xsd"/>
-         <exclude name="**/*build.xml"/>
-      </fileset>
-      
-      <property name="object_merge_ant_object.from_remote_ant_object.files.index.fileset" refid="object_merge_ant_object.from_remote_ant_object.files.index.fileset"/>
-      
-      <echo>#32 saved to $object_merge_ant_object.from_remote_ant_object.files.index.xml = ${object_merge_ant_object.from_remote_ant_object.files.index.xml}</echo>
-      <echoxml file="${object_merge_ant_object.from_remote_ant_object.files.index.xml}" namespacepolicy="all">
-         <object_merge_ant_object.from_remote_ant_object.files.index.xml xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/object_merge_ant_object.xsd">
-            ${object_merge_ant_object.from_remote_ant_object.files.index.fileset}
-         </object_merge_ant_object.from_remote_ant_object.files.index.xml>
-      </echoxml>
-      
-      <xslt basedir="${object_merge_ant_object.temp}" style="${p5dg.documentation_generator.xsl}" in="${object_merge_ant_object.from_remote_ant_object.files.index.xml}"   out="${object_merge_ant_object.from_remote_ant_object.files.index_fileset.xml}"  force="true"  >
-         <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="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd}p5dg.documentation.files.index_fileset.xml"/>
-         </factory>
-         <classpath location="/opt/local/share/java/saxon9he.jar"/>
-         <param name="p5build_SE.build" expression="${p5build_SE.build}"/>
-         <param name="p5dg.repository.dita" expression="${object_merge_ant_object.repository}"/>
-         <param name="p5dg.temp" expression="${object_merge_ant_object.temp}"/>
-         <param name="p5dg.repository" expression="${object_merge_ant_object.repository}"/>
-         <param name="p5dg.documentation.files.index.root_dir" expression="${remote.ant-object}"/>
-         <param name="p5dg.documentation.files.index.excludes.regex" expression=""/>
-      </xslt>
-      
-      <xslt basedir="${object_merge_ant_object.temp}" style="${p5dg.documentation_generator.xsl}" in="${object_merge_ant_object.from_remote_ant_object.files.index_fileset.xml}"   out="${object_merge_ant_object.from_remote_ant_object.files.index_analyzed.xml}" force="true"  >
-         <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="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd}p5dg.documentation.files.index_analyzed.xml"/>
-         </factory>
-         <classpath location="/opt/local/share/java/saxon9he.jar"/>
-         <param name="p5build_SE.build" expression="${p5build_SE.build}"/>
-         <param name="p5dg.repository.dita" expression="${object_merge_ant_object.repository}"/>
-         <param name="p5dg.temp" expression="${object_merge_ant_object.temp}"/>
-         <param name="p5dg.repository" expression="${object_merge_ant_object.repository}"/>
-         <param name="p5dg.documentation.files.index.root_dir" expression="${remote.ant-object}"/>
-         <param name="p5dg.documentation.files.index.excludes.regex" expression="none"/>
-      </xslt>
-   </target>
-   
-   
-   
-   
    
    
    

+ 9 - 0
SE/schema/WPS_Functions/folders_interface/p5fi.include.xsl.p5xsls.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<stylesheet_buildlist xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd">
+  <namespaces.list>
+    <namespaces.list.namespace namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/folders_interface/folders_interface.xsd" prefix="p5fi" />
+  </namespaces.list>
+  <include.list>
+    <include.list.href href="/Users/a.binder/Documents/se/SE/schema/WPS_Functions/ant/p5ant.xsl" />
+  </include.list>
+</stylesheet_buildlist>

+ 16 - 11
SE/schema/WPS_Functions/folders_interface/p5fi.xsd

@@ -1,17 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
-           xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
-           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-           xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
-           xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
-           xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
-           xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
-           xmlns:p5fi="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/folders_interface/p5fi.xsd"
-           xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           vc:minVersion="1.1"
-           targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/folders_interface/p5fi.xsd">
+   xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
+   xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
+   xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+   xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
+   xmlns:p5fi="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/folders_interface/p5fi.xsd"
+   xmlns:xs="http://www.w3.org/2001/XMLSchema" vc:minVersion="1.1"
+   targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/folders_interface/p5fi.xsd">
    <xs:import schemaLocation="../../default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd"
-              namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"/>
+      namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"/>
    <xs:element name="PRODUCT">
       <xs:complexType>
          <xs:complexContent>
@@ -30,4 +29,10 @@
          <xs:element ref="p5fi:PRODUCT"/>
       </xs:sequence>
    </xs:group>
+   <xs:simpleType name="NamespaceObjectInstanceTable">
+      <xs:annotation>
+         <xs:documentation>value="Rozdzielcza_Kabel_swiatl_obcy"</xs:documentation>
+      </xs:annotation>
+      <xs:restriction base="xs:string"/>
+   </xs:simpleType>
 </xs:schema>

+ 8 - 11
SE/schema/WPS_Functions/folders_interface/p5fi.xsl

@@ -36,12 +36,12 @@
    <!--<xsl:param name="object_modeling_new.build.xml" required="yes"/>
    <xsl:param name="object_merge_ant_object.build.xml" required="yes"/>-->
    
-   <xsl:template match="p5dg:p5dg.documentation.files.index_analyzed.xml" mode="p5fi:fetch_dir_by_TypeName_and_PK.xml">
-      <project basedir="{$basedir}" name="object_merge_ant_object.merge.try.build.xml" default="object_merge_ant_object.merge.try.build.xml"> <!-- object_merge_ant_object.merge.try.build.xml -->
+   <xsl:template match="p5dg:p5dg.documentation.files.index_analyzed.xml" mode="p5fi:folders_interface.action.build.xml">
+      <project basedir="{$basedir}" name="folders_interface.action.build.xml" default="folders_interface.action.build.xml"> <!-- object_merge_ant_object.merge.try.build.xml -->
         <!-- <include file="{$object_modeling_new.build.xml}" as="object_modeling_new"/>
          <include file="{$object_merge_ant_object.build.xml}" as="object_merge_ant_object"/>-->
          
-         <target name="fetch_dir_by_TypeName_and_PK.xml">
+         <target name="folders_interface.action.build.xml">
             <xsl:apply-templates mode="#current"/>
          </target>
       </project>
@@ -49,9 +49,9 @@
    
    
    
-   <xsl:template match="p5ant:filelist[@dir='/Users/a.binder/Documents/se/SE/schema/ant-object/default_db.ADMIN_USERS/ADMIN_USERS']" mode="p5fi:object_merge_ant_object.merge.try.build.xml">
+   <xsl:template match="p5ant:filelist[@dir='/Users/a.binder/Documents/se/SE/schema/ant-object/default_db.ADMIN_USERS/ADMIN_USERS']" mode="p5fi:folders_interface.action.build.xml">
       
-      <xsl:variable name="quess_path" select="substring-after(@dir,concat($remote.ant-object,'/'))"/>
+      <xsl:variable name="quess_path" select="substring-after(@dir,concat($p5build_SE.build_procesy5_config.folders.root_points.mount_point,'/'))"/>
       <xsl:variable name="NamespaceObjectInstanceTable" select=" substring-before(substring-after($quess_path,'.'),'/')" />
       <xsl:variable name="NamespaceDatabaseStorageDefinitionPrefix" select=" substring-before($quess_path,'.')"/>
       <xsl:variable name="NamespaceObjectInstanceTable.check" select=" substring-after($quess_path,'/')"/>
@@ -67,14 +67,11 @@
                <xsl:attribute name="filePath" select="concat(@dir,'/',p5ant:file[ contains(@name,$NamespaceObjectInstanceTable)]/@name)"/>
             </objectMergeAntObjectTry>
          </xsl:when>
-         <!--<xsl:otherwise>
+         <xsl:otherwise>
                 <object_merge_ant_object:try_not>
-                    <xsl:attribute name="NamespaceObjectInstanceTable" select="$NamespaceObjectInstanceTable"/>
-                    <xsl:attribute name="NamespaceDatabaseStorageDefinitionPrefix" select="$NamespaceDatabaseStorageDefinitionPrefix"/>
-                    <xsl:attribute name="quess_path" select="$quess_path"/>
-                    <xsl:attribute name="NamespaceObjectInstanceTable.check" select="$NamespaceObjectInstanceTable.check"/>
+                    <xsl:copy-of select="."/>
                 </object_merge_ant_object:try_not>
-            </xsl:otherwise>-->
+            </xsl:otherwise>
       </xsl:choose>
       
    </xsl:template>

+ 6 - 2
SE/schema/WPS_Functions/object_modeling_new/object_modeling_new.xsd

@@ -5,7 +5,8 @@
     xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
     targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/object_modeling_new/object_modeling_new.xsd"
     vc:minVersion="1.1" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
-    xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd">
+    xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd"
+    xmlns:p5xmli="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface/p5xmli.xsd">
     <xs:annotation>
         <xs:documentation>To define main function modelling for merging objects into system schema parameters</xs:documentation>
     </xs:annotation>
@@ -13,6 +14,9 @@
         namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/object_modeling/object_modeling.xsd"/>
     <xs:import namespace="http://biuro.biall-net.pl/build_SE.xsd"
         schemaLocation="../../build_SE.xsd"/>
+    <xs:import
+        namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface/p5xmli.xsd"
+        schemaLocation="../xmlschema_interface/p5xmli.xsd"/>
     <xs:element name="object_modeling_new.build_from_typespecial_refs">
         <xs:annotation>
             <xs:documentation>ANT_TARGET @2017-12-27 do tworzenia z typespecial to ref przetworzen zapisanych w default_db/id_zasob_36.xsd etc</xs:documentation>
@@ -54,7 +58,7 @@
         <xs:annotation>
             <xs:documentation>value="default_db"</xs:documentation>
         </xs:annotation>
-        <xs:restriction base="xs:string"/>
+        <xs:restriction base="p5xmli:NamespaceDatabaseStorageDefinitionPrefix"/>
     </xs:simpleType>
     <xs:simpleType name="NamespaceObjectInstanceType">
         <xs:annotation>

+ 4 - 0
SE/schema/WPS_Functions/send_email/build.send_email.INSTALL.xml

@@ -4,6 +4,8 @@
   <property location="${send_email.install}/install_example.file" name="send_email.INSTALL.install_example" />
   <property location="${send_email.install}/javax.mail-1.6.1.jar" name="send_email.INSTALL.javax.mail-1.6.1.jar" />
   
+  <!--<property name="send_email.INSTALL.sent.dir" location="/Library/WebServer/sent"/>-->
+  
   <condition property="send_email.INSTALL.javax.mail-1.6.1.jar.ifdef" taskname="INSTALL.javax.mail-1.6.1.jar">
     <not>
       <available file="${ant.library.dir}/javax.mail-1.6.1.jar" />
@@ -25,4 +27,6 @@
     <copy file="${send_email.INSTALL.javax.mail-1.6.1.jar}" tofile="${ant.library.dir}/javax.mail-1.6.1.jar" />
   </target>
   
+  
+  
 </project>

+ 14 - 0
SE/schema/WPS_Functions/xmlschema_interface/build.p5xmli.INSTALL.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="../../." default="INSTALL" name="p5xmli.INSTALL">
+  <include file="build.p5xmli.PRODUCT.xml" />
+  <property location="${p5xmli.install}/install_example.file" name="p5xmli.INSTALL.install_example" />
+  <condition property="p5xmli.INSTALL.install_example.ifdef" taskname="INSTALL.install_example">
+    <not>
+      <available file="${p5xmli.repository}/install_example.file" />
+    </not>
+  </condition>
+  <target depends="INSTALL.install_example" name="INSTALL" />
+  <target if="p5xmli.INSTALL.install_example.ifdef" name="INSTALL.install_example">
+    <copy file="${p5xmli.INSTALL.install_example}" tofile="${p5xmli.install_example}" />
+  </target>
+</project>

+ 81 - 0
SE/schema/WPS_Functions/xmlschema_interface/build.p5xmli.PRODUCT.xml

@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:p5xmli="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface/xmlschema_interface.xsd"
+         xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
+         basedir="../../."
+         default="PRODUCT"
+         name="p5xmli.PRODUCT">
+   <description>p5suis:say Created function xmlschema_interface with prefix p5xmli by p5ant module</description>
+   <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
+   <condition property="p5xmli.PRODUCT.ifdef.parent"
+              taskname="p5xmli.parent.PRODUCT.ifdef">
+      <isset property="WPS_Functions.PRODUCT.name"/>
+   </condition>
+   <property name="p5xmli.PRODUCT.name"
+             value="${WPS_Functions.PRODUCT.name}.xmlschema_interface"/>
+   <property name="p5xmli.PRODUCT.vendor-domain"
+             value="${WPS_Functions.PRODUCT.name}.p5xmli"/>
+   <property name="p5xmli.basedir"
+             value="${WPS_Functions.basedir}/xmlschema_interface"/>
+   <property name="p5xmli.build.xml" value="${p5xmli.basedir}/build_p5xmli.xml"/>
+   <property name="p5xmli.repository"
+             value="${WPS_Functions.repository}/xmlschema_interface"/>
+   <property name="p5xmli.install" value="${p5xmli.basedir}/install"/>
+   <property location="${WPS_Functions.temp}/xmlschema_interface" name="p5xmli.temp"/>
+   <property location="${p5xmli.basedir}/p5xmli.xsl" name="p5xmli.xsl"/>
+   <property location="${p5xmli.basedir}/p5xmli.xsd" name="p5xmli.xsd"/>
+   <property location="${p5xmli.basedir}/p5xmli.include.structure.xml"
+             name="p5xmli.include.structure.xml"/>
+   <property location="${p5xmli.basedir}/p5xmli.include.xsl.p5xsls.xml"
+             name="p5xmli.include.xsl.p5xsls.xml"/>
+   <property location="${p5xmli.repository}/install_example.file"
+             name="p5xmli.install_example"/>
+   <target depends="basedir,p5xsls.xml"
+           description="to create basedir, includes and install"
+           name="PRODUCT"/>
+   
+   <property name="p5xmli.NamespaceDatabaseStorageDefinitionOptSuffix" value="p5"/>
+   <!--<property location="${p5xmli.repository}/p5xmli.procesy5_system_schema.xml" name="p5xmli.procesy5_system_schema.xml"/> TODO -->
+   <property location="${procesy5_system_schema.xml}" name="p5xmli.procesy5_system_schema.xml"/>
+   
+   
+   <target description="to create local dirs" name="basedir">
+      <propertyset id="p5xmli.local.properties">
+         <propertyref prefix="p5xmli"/>
+         <mapper from="p5xmli.*" to="local.*" type="glob"/>
+      </propertyset>
+      <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs">
+         <propertyset refid="p5xmli.local.properties"/>
+      </antcall>
+   </target>
+   <target description="To delete all temp and repository" name="clean">
+      <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs.clean">
+         <propertyset refid="p5xmli.local.properties"/>
+      </antcall>
+   </target>
+   <target description="To delete all temp and repository" name="clean.temp">
+      <antcall inheritall="false"
+               target="WPS_Functions.basedir.p5bw.p5bws:dirs.temp.clean">
+         <propertyset refid="p5xmli.local.properties"/>
+      </antcall>
+   </target>
+   <target name="parent.PRODUCT.ifdef"
+           unless="p5xmli.WPS_Functions.PRODUCT.ifdef.parent">
+      <fail>There is not set correct parent PRODUCT from expected file="../build.WPS_Functions.PRODUCT.xml"</fail>
+   </target>
+   <target name="p5xsls.xml" depends="basedir">
+      <description>
+                    TODO to be fixed by xslt to allow dynamic create of multi include xsl templates
+                </description>
+      <echoxml namespacepolicy="elementsOnly" file="${p5xmli.include.xsl.p5xsls.xml}">
+         <stylesheet_buildlist xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd">
+            <namespaces.list>
+               <namespaces.list.namespace prefix="p5xmli"
+                                          namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface/xmlschema_interface.xsd"/>
+            </namespaces.list>
+            <include.list>
+               <include.list.href href="/Users/a.binder/Documents/se/SE/schema/WPS_Functions/ant/p5ant.xsl"/>
+            </include.list>
+         </stylesheet_buildlist>
+      </echoxml>
+   </target>
+</project>

+ 7 - 0
SE/schema/WPS_Functions/xmlschema_interface/build.p5xmli.SYSTEM.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="../../" name="p5xmli.SYSTEM">
+  <include file="../build.WPS_Functions.SYSTEM.xml" optional="true" />
+  <include as="PRODUCT" file="build.p5xmli.PRODUCT.xml" optional="true" />
+  <property location="${p5build_SE.SYSTEM.StandardOutPath}/xmlschema_interface.log" name="p5xmli.SYSTEM.StandardOutPath" />
+  <property location="${p5build_SE.SYSTEM.StandardErrorPath}/xmlschema_interface.log" name="p5xmli.SYSTEM.StandardErrorPath" />
+</project>

+ 48 - 0
SE/schema/WPS_Functions/xmlschema_interface/build_xmlschema_interface.xml

@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:p5xmli="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface.xsd"
+         basedir="../../."
+         default="default"
+         name="xmlschema_interface">
+   <include as="PRODUCT" file="build.p5xmli.PRODUCT.xml"/>
+   <include as="SYSTEM" file="build.p5xmli.SYSTEM.xml"/>
+   <include as="INSTALL" file="build.p5xmli.INSTALL.xml"/>
+   <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
+   <include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>
+   <target depends="PRODUCT.PRODUCT,INSTALL.INSTALL" name="default"/>
+   
+   
+   
+   <property name="p5xmli.default_db_targetNamespace_detect_string" value="${default_db_targetNamespace_detect_string}"/> <!-- value="default_db/table/" intended to be in ${basedir}/table ? -->
+   <property name="p5xmli.zasob_id_db_targetNamespace_detect_string" value="${zasob_id_db_targetNamespace_detect_string}"/> <!-- value="https://biuro.biall-net.pl/api/" example targetNamespace="https://biuro.biall-net.pl/api/17666/" -->
+   
+   <target name="NamespaceObjectInstanceTable.local" if="p5xmli.TypeName.local"  depends="NamespaceObjectInstanceTable.local.error,p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix,p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix.true,p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix.false" description="to detect by using p5xmli.procesy5_system_schema.xml root object name">
+      <input addproperty="p5xmli.TypeName.local" message="type like p5_default_db:IN7_DZIENNIK_KORESP "/>
+      <echo>#20 detecting ${p5xmli.NamespaceObjectInstanceTable.local} from $p5xmli.TypeName.local = ${p5xmli.TypeName.local}</echo>
+      <!--<property name="p5xmli.NamespaceObjectInstanceTable.local" value="IN7_DZIENNIK_KORESP"/>-->
+      <!--<echo>#26 detected $p5xmli.NamespaceObjectInstanceTable.local = ${p5xmli.NamespaceObjectInstanceTable.local} </echo>-->
+   </target>
+   
+   <target name="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix">
+      <condition property="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix">
+         <contains string="${p5xmli.TypeName.local}" substring=":"/>
+      </condition>
+   </target>
+   
+   <target name="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix.true" if="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix">
+      
+      <exec  executable="bash" dir="." outputproperty="p5xmli.NamespaceObjectInstanceTable.local">
+         <arg value="-c"/>
+         <arg value="echo ${p5xmli.TypeName.local} |sed 's/.*://'"/>
+      </exec>
+      <echo>#38 setting $p5xmli.NamespaceObjectInstanceTable.local with prefix detected by regex replace from  ${p5xmli.TypeName.local} to ${p5xmli.NamespaceObjectInstanceTable.local}</echo>
+   </target>
+   <target name="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix.false" unless="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix">
+      <echo>#40 setting $p5xmli.NamespaceObjectInstanceTable.local without prefix detected to = ${p5xmli.TypeName.local}</echo>
+      <property name="p5xmli.NamespaceObjectInstanceTable.local" value="${p5xmli.TypeName.local}"/>
+   </target>
+   
+   <target name="NamespaceObjectInstanceTable.local.error" unless="p5xmli.TypeName.local" >
+      <fail>#45 to detect p5xmli.NamespaceObjectInstanceTable.local - You should set $p5xmli.TypeName.local - now is ${p5xmli.TypeName.local}</fail>
+   </target>
+   
+</project>

+ 6 - 0
SE/schema/WPS_Functions/xmlschema_interface/install/install_example.file

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<example>
+  <description>This is {p5ant.WPS_Functions.INSTALL.install_example} to be 
+                                                        copied to {p5ant.WPS_Functions.install_example} = /Users/a.binder/Documents/se/SE/schema/WPS_Functions/xmlschema_interface/repository/install_example.file
+                                                        by {p5ant.WPS_Functions.INSTALL.xml} = /Users/a.binder/Documents/se/SE/schema/WPS_Functions/xmlschema_interface/build.p5xmli.INSTALL.xml target INSTALL</description>
+</example>

+ 62 - 0
SE/schema/WPS_Functions/xmlschema_interface/p5xmli.xsd

@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
+   xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
+   xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
+   xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
+   xmlns:p5xmli="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface/p5xmli.xsd"
+   xmlns:xs="http://www.w3.org/2001/XMLSchema" vc:minVersion="1.1"
+   targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface/p5xmli.xsd">
+   <xs:import schemaLocation="../../default_db_xml_cache.public/system_cache__appinfo/PRODUCT.xsd"
+      namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"/>
+   <xs:element name="PRODUCT">
+      <xs:complexType>
+         <xs:complexContent>
+            <xs:extension base="system_cache__appinfo:PRODUCT">
+               <xs:sequence>
+                  <xs:element name="SYSTEM" type="system_cache__appinfo:SYSTEM"/>
+                  <xs:element name="GLOBALS" type="system_cache__appinfo:GLOBALS"/>
+                  <xs:element name="INSTALL" type="system_cache__appinfo:INSTALL"/>
+               </xs:sequence>
+            </xs:extension>
+         </xs:complexContent>
+      </xs:complexType>
+   </xs:element>
+   <xs:group name="PRODUCT">
+      <xs:sequence>
+         <xs:element ref="p5xmli:PRODUCT"/>
+      </xs:sequence>
+   </xs:group>
+   <xs:simpleType name="NamespaceDatabaseStorageDefinitionOptSuffix">
+      <xs:annotation>
+         <xs:documentation>Sometimes used in p5_default_db:IN7_DZIENNIK_KORESP - the suffix is p5</xs:documentation>
+      </xs:annotation>
+      <xs:restriction base="xs:string">
+         <xs:enumeration value="p5"/>
+         <xs:enumeration value=""/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="NamespaceDatabaseStorageDefinitionPrefix">
+      <xs:annotation>
+         <xs:documentation>value="default_db"</xs:documentation>
+      </xs:annotation>
+      <xs:union memberTypes="p5xmli:NamespaceDatabaseStorageDefinitionOptSuffix xs:string"/>
+   </xs:simpleType>
+   <xs:simpleType name="default_db_targetNamespace_detect_string">
+      <xs:annotation>
+         <xs:documentation>value="default_db/table/" intended to be in ${basedir}/table</xs:documentation>
+      </xs:annotation>
+      <xs:restriction base="xs:string"/>
+   </xs:simpleType>
+   <xs:simpleType name="zasob_id_db_targetNamespace_detect_string">
+      <xs:annotation>
+         <xs:documentation>value="https://biuro.biall-net.pl/api/" example targetNamespace="https://biuro.biall-net.pl/api/17666/"</xs:documentation>
+      </xs:annotation>
+      <xs:restriction base="xs:string"/>
+   </xs:simpleType>
+   <xs:simpleType name="newSimpleType">
+      <xs:restriction base="xs:string"/>
+   </xs:simpleType>
+</xs:schema>

+ 13 - 0
SE/schema/WPS_Functions/xmlschema_interface/p5xmli.xsl

@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+                xmlns:xs="http://www.w3.org/2001/XMLSchema"
+                xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
+                xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+                xmlns:p5xmli="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface/p5xmli.xsd"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                exclude-result-prefixes="xs"
+                version="2.0">
+   <xsl:output indent="yes"/>
+   <xsl:strip-space elements="*"/>
+   <xsl:param name="basedir"/>
+</xsl:stylesheet>