a.binder пре 7 година
родитељ
комит
a4d6f6bcd5
20 измењених фајлова са 1211 додато и 63 уклоњено
  1. 29 0
      SE/schema/ant-object/build.ant-object.xml
  2. 2 2
      SE/schema/ant-object/default_db.NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT.dependency.xsl
  3. 1 0
      SE/schema/ant-object/default_db.NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT.xsd
  4. 0 61
      SE/schema/ant-object/default_db.NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT/build.xml
  5. 253 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE.init.xsl
  6. 57 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE.serialize.xsl
  7. 66 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE.xsd
  8. 245 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE.xsl
  9. 91 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__CHILD.xsd
  10. 63 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES.xsd
  11. 25 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__ANT.xsd
  12. 112 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__SCHEMA.xsd
  13. 67 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XML.xsd
  14. 28 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XSLT.serialize.match.xsd
  15. 28 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XSLT.serialize.select.xsd
  16. 52 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XSLT.serialize.xsd
  17. 30 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XSLT.xsd
  18. 9 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__PARENT.xsd
  19. 49 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/build.STRUCTURE.xml
  20. 4 0
      SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/build.xml

+ 29 - 0
SE/schema/ant-object/build.ant-object.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="./../../." name="ant-object" default="default"> 
+    <!-- basedir should point to public-html or SE folder  -->
+    
+    <description>projekt dla kontroli schematow xsd do importu dla procesy5 oraz prac rozwojowych development</description>
+  
+  
+    <property name="default_db.ant-object.basedir" location="${basedir}/schema/ant-object"/>
+  
+  
+    <target name="validate.basedir">
+        
+        <condition property="default_db.ant-object.basedir.validate" value="default_db.ant-object.basedir.validate - OK">
+            <available file="${default_db.ant-object.basedir}"/>
+        </condition>
+        <fail unless="default_db.ant-object.basedir.validate">Incorrect default_db.ant-object.basedir = ${default_db.ant-object.basedir}</fail>
+        <echo>
+            
+            $default_db.ant-object.basedir = ${default_db.ant-object.basedir}
+            #12 $default_db.ant-object.basedir.validate = ${default_db.ant-object.basedir.validate}
+        </echo>
+        
+    </target>
+    
+    
+    <!--<extension-point name="validate" depends="validate_target"/>-->
+    <extension-point name="default" depends="validate.basedir"/>
+    
+</project>

+ 2 - 2
SE/schema/ant-object/default_db.NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT.dependency.xsl

@@ -28,8 +28,8 @@
     
     <xsl:template mode="default_db__x3A__STRUCTURE:dependency__begin" match="xs:schema" >
         <xsl:apply-imports>
-            <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="default_db__x3A__STRUCTURE:loop.path.init('schema',@targetNamespace)"/>
-            <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path__x3A__FLAG" select="'selece'"/>
+            <!--<xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="default_db__x3A__STRUCTURE:loop.path.init('INIT',@targetNamespace)"/>
+            <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path__x3A__FLAG" select="'selece'"/>-->
         </xsl:apply-imports>
     </xsl:template>
     

+ 1 - 0
SE/schema/ant-object/default_db.NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT.xsd

@@ -134,6 +134,7 @@
          </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
+ 
    <xs:element name="init" type="default_db__x3A__NEURO_MIND_INPUT_TEXT:init"/>
    <xs:complexType name="import">
       <xs:annotation>

+ 0 - 61
SE/schema/ant-object/default_db.NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT/build.xml

@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
-    xmlns:default_db__x3A__NEURO_MIND_INPUT_TEXT="https://biuro.biall-net.pl/wfs/default_db/table/NEURO_MIND_INPUT_TEXT.xsd"
-    basedir="../../../../." name="NEURO_MIND_INPUT_TEXT" default="default">
-    
-    <include file="../../build.ant-object.xml" as="ant-object"/>
-    
-    <property name="default_db__x3A__NEURO_MIND_INPUT_TEXT.basedir" location="${default_db.ant-object.basedir}/default_db.NEURO_MIND_INPUT_TEXT/NEURO_MIND_INPUT_TEXT"/>
-    
-    <description>2019 to test data neuron module</description>
-    
-    <property name="NEURO_MIND_INPUT_TEXT.export.xml" location="${ant.file}/../NEURO_MIND_INPUT_TEXT.export.xml"/>
-    
-    <target name="validate_target" >
-        <condition property="default_db__x3A__NEURO_MIND_INPUT_TEXT.basedir.validate" value="default_db__x3A__NEURO_MIND_INPUT_TEXT.basedir - OK">
-            <available file="${default_db__x3A__NEURO_MIND_INPUT_TEXT.basedir}"/>
-        </condition>
-        <fail unless="default_db__x3A__NEURO_MIND_INPUT_TEXT.basedir.validate"> error $default_db__x3A__NEURO_MIND_INPUT_TEXT.basedir = ${default_db__x3A__NEURO_MIND_INPUT_TEXT.basedir}</fail>
-        <echo>#12 $default_db__x3A__NEURO_MIND_INPUT_TEXT.basedir.validate </echo>
-    </target>
-    
-    <target name="init">
-        <xslt  style="${ant.file}/../NEURO_MIND_INPUT_TEXT.init.xsl"  in="${ant.file}/../NEURO_MIND_INPUT_TEXT.xsd"   out="${ant.file}/../NEURO_MIND_INPUT_TEXT.init.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="{https://biuro.biall-net.pl/wfs/default_db/table/NEURO_MIND_INPUT_TEXT.xsd}init"/>
-            </factory>
-         
-            <!--<xmlcatalog refid="dita-ot.dtd.catalog"/>-->
-            <classpath location="/opt/local/share/java/saxon9he.jar"/>
-        </xslt>
-    </target>
-    <target name="import">
-        <xslt  style="${ant.file}/../NEURO_MIND_INPUT_TEXT.import.xsl"  in="${ant.file}/../NEURO_MIND_INPUT_TEXT.init.xml"   out="${ant.file}/../NEURO_MIND_INPUT_TEXT.import.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="{https://biuro.biall-net.pl/wfs/default_db/table/NEURO_MIND_INPUT_TEXT.xsd}import"/>
-            </factory>
-            
-            <!--<xmlcatalog refid="dita-ot.dtd.catalog"/>-->
-            <classpath location="/opt/local/share/java/saxon9he.jar"/>
-        </xslt>
-    </target>
-    <target name="export">
-        <xslt  style="${ant.file}/../NEURO_MIND_INPUT_TEXT.export.xsl"  in="${ant.file}/../NEURO_MIND_INPUT_TEXT.import.xml"   out="${ant.file}/../NEURO_MIND_INPUT_TEXT.export.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="{https://biuro.biall-net.pl/wfs/default_db/table/NEURO_MIND_INPUT_TEXT.xsd}export"/>
-            </factory>
-            
-            <!--<xmlcatalog refid="dita-ot.dtd.catalog"/>-->
-            <classpath location="/opt/local/share/java/saxon9he.jar"/>
-        </xslt>
-        
-    </target>
-    
-    <extension-point name="validate" depends="validate_target, ant-object.validate" />
-    
-    <extension-point name="default" depends="init,import,export,validate"/>
-    
-</project>

+ 253 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE.init.xsl

@@ -0,0 +1,253 @@
+<?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"
+    xmlns:default_db__x3A__NEURO_MIND_INPUT_TEXT="https://biuro.biall-net.pl/wfs/default_db/table/NEURO_MIND_INPUT_TEXT.xsd"
+    xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
+    version="2.0">
+    
+    <xsl:import href="STRUCTURE.init.type.xsl"/>
+    
+    
+    <!-- *ZASADA*201904 w lokalnych schematach rozwijac refy i modele, ale w obcych zostawiac @ref - aby je resolve robic lokalnie, za pierwszym razem lecimy schematy unikalnie, ktore wariantuja sie na bazie importow -->
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+    <xsl:include href="STRUCTURE.init.ref.xsl"/>
+    
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="xs:group[descendant-or-self::*[default_db__x3A__STRUCTURE:prefix.get(@ref)=default_db__x3A__STRUCTURE:namespaceprefix.get(root())] or @id]">
+        <default_db__x3A__STRUCTURE:init__SA_DZIECI>
+            Taaka
+        </default_db__x3A__STRUCTURE:init__SA_DZIECI>
+    </xsl:template>
+    
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="xs:schema"> <!-- default_db__x3A__NEURO_MIND_INPUT_TEXT:init -->
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path" select="default_db__x3A__STRUCTURE:loop.path.init(name(),@targetNamespace)" />
+        <xsl:copy>
+            <xsl:attribute name="debug">#20 m[default_db__x3A__STRUCTURE:init] [xs:schema]</xsl:attribute>
+            <xsl:call-template name="default_db__x3A__STRUCTURE:document-uri"/>
+            <xsl:call-template name="default_db__x3A__STRUCTURE:generate-id"/>
+            <xsl:copy-of select="$default_db__x3A__STRUCTURE:loop.path"/>
+            <xsl:apply-templates mode="default_db__x3A__STRUCTURE:init" select="xs:complexType[@name='init']|xs:import|xs:element|xs:group|xs:simpleType" >
+                <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="$default_db__x3A__STRUCTURE:loop.path"/>
+            </xsl:apply-templates>
+        </xsl:copy>
+    </xsl:template>
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="*[@default_db__x3A__STRUCTURE:generate-id='d24e51']">
+        <xsl:message terminate="yes">#49 key lkoop[[<xsl:value-of select="@default_db__x3A__STRUCTURE:generate-id"/>]]
+           KEY[[ <xsl:copy-of select="key('default_db__x3A__STRUCTURE:generate-id',@default_db__x3A__STRUCTURE:generate-id)/@*"/>]]
+        </xsl:message>
+    </xsl:template>
+    
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="*">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path"/>
+        <xsl:copy>
+            <xsl:apply-templates mode="#current" select="@*"/>
+            <xsl:attribute name="debug">#34-KKX m[default_db__x3A__STRUCTURE:init][*]</xsl:attribute>
+            <xsl:call-template name="default_db__x3A__STRUCTURE:generate-id"/>
+            <xsl:apply-templates mode="#current" >
+                <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="$default_db__x3A__STRUCTURE:loop.path"/>
+            </xsl:apply-templates>
+        </xsl:copy>
+    </xsl:template>
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init default_db__x3A__STRUCTURE:init.ref" match="xs:annotation[xs:documentation and not(xs:appinfo)]"/>
+    
+    
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="xs:element[@type and @name and parent::xs:schema]" >
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path" />
+        <!--<DEENUG parent="{parent::*/name()}">
+            <xsl:copy-of select="@*"/>-->
+        <xsl:apply-imports>
+            <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="$default_db__x3A__STRUCTURE:loop.path"/>
+            
+            <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref" select="@type" />
+            <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref.name" select="name()" />
+        </xsl:apply-imports>
+       <!-- <xsl:copy>
+            <xsl:call-template name="default_db__x3A__STRUCTURE:generate-id"/>
+            <xsl:apply-templates mode="default_db__x3A__STRUCTURE:init" select="@*"/>
+            <xsl:apply-templates mode="default_db__x3A__STRUCTURE:init" >
+                <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="$default_db__x3A__STRUCTURE:loop.path"/>
+            </xsl:apply-templates>
+        </xsl:copy>-->
+        <!--</DEENUG>-->
+    </xsl:template>
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init.type" match="xs:complexType">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path" />
+        <xsl:copy>
+            <xsl:call-template name="default_db__x3A__STRUCTURE:generate-id"/>
+            <xsl:apply-templates mode="default_db__x3A__STRUCTURE:init" select="@*"/>
+            <xsl:apply-templates mode="default_db__x3A__STRUCTURE:init" >
+                <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="$default_db__x3A__STRUCTURE:loop.path"/>
+            </xsl:apply-templates>
+        </xsl:copy>
+    </xsl:template>
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="@*">
+        <xsl:copy-of select="."/>
+    </xsl:template>
+    
+    <!--<xsl:template mode="default_db__x3A__STRUCTURE:init" match="@default_db__x3A__STRUCTURE:generate-id">
+        <xsl:copy-of select="."/>
+    </xsl:template>-->
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:init.element.ref.document-uri">
+        <xsl:param name="context"/>
+        <xsl:param name="ref"/>
+        <xsl:variable name="namespace-uri-for-prefix" select="namespace-uri-for-prefix(default_db__x3A__STRUCTURE:prefix.get($ref),$context)"/>
+        <xsl:message terminate="no">#45 $namespace-uri-for-prefix  <xsl:value-of select="$context/name()"/>
+            <xsl:value-of select="$namespace-uri-for-prefix"/></xsl:message>
+        <xsl:choose>
+            <xsl:when test="count($context/preceding::xs:import[@namespace=$namespace-uri-for-prefix]) &gt;1">
+                <xsl:message terminate="yes">#50 unsupported multiple import same namespace <xsl:copy-of select="$context/ancestor::xs:schema/xs:import[@namespace=$namespace-uri-for-prefix]" copy-namespaces="no"/></xsl:message>
+            </xsl:when>
+            <xsl:when test="count($context/preceding::xs:import[@namespace=$namespace-uri-for-prefix]) = 1">
+                <xsl:value-of select="$context/preceding::xs:import[@namespace=$namespace-uri-for-prefix]/@schemaLocation"/>
+            </xsl:when>
+            <xsl:when test="$context/root()/xs:schema[@targetNamespace=$namespace-uri-for-prefix]">
+                <xsl:message>#50-B - $context/preceding::xs:schema[@targetNamespace=$namespace-uri-for-prefix] = <xsl:value-of select="$namespace-uri-for-prefix"/>;
+                    count[same tnsp] = [[<xsl:value-of select="$context/count(preceding::xs:schema)"/>]]
+                    PARENT [[ <xsl:value-of select="$context/ancestor::xs:schema/@targetNamespace"/> ]]
+                </xsl:message>
+                <xsl:value-of select="''"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message terminate="yes">#56 error not found $context/preceding::xs:import[@namespace=$namespace-uri-for-prefix]/@schemaLocation for $namespace-uri-for-prefix[<xsl:value-of select="$namespace-uri-for-prefix"/>]
+                    $context/preceding::xs:schema[@targetNamespace[[  <xsl:value-of select="$context/ancestor-or-self::xs:schema/@targetNamespace"/>]]]
+                    PARENT [[ <xsl:value-of select="$context/parent::*/name()"/> ]] 
+                </xsl:message>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    <!--<xsl:template name="default_db__x3A__STRUCTURE:init.element.ref.document-uri" match="xs:element[@ref]">
+        <!-\-<xsl:call-template name="default_db__x3A__STRUCTURE:init.element.ref.document-uri"/>-\->
+        <xsl:apply-templates mode="#current" select="doc(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))/xs:schema/xs:complexType[@name='init']|doc(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))/xs:schema/xs:element[@ref]"/>
+        <!-\-<xsl:apply-templates mode="#current" select="doc(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))/xs:schema/xs:complexType[@name='init']"/>-\->
+    </xsl:template>-->
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="xs:group[@ref]">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path" />
+        <!--<xsl:message terminate="yes">#62 mode="default_db__x3A__STRUCTURE:init" match="xs:group[@ref] <xsl:value-of select="@ref"/>;
+        </xsl:message>-->
+        <xsl:choose>
+            <xsl:when test="string-length(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))&gt;150">
+                <xsl:message terminate="yes">#89  @ref - too long name [<xsl:value-of select="string-length(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))"/>]</xsl:message>
+            </xsl:when>
+            <xsl:when test="default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref)='' and ancestor::xs:schema/xs:group[@name=substring-after(current()/@ref,':')]">
+                <xsl:apply-templates mode="#current" select="ancestor::xs:schema/xs:group[@name=substring-after(current()/@ref,':')]">
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="default_db__x3A__STRUCTURE:loop.path.test.append($default_db__x3A__STRUCTURE:loop.path,@ref,name())"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref" select="@ref"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref.name" select="name()"/>
+                </xsl:apply-templates>
+            </xsl:when>
+            <xsl:when test="string-length(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))&gt;0">
+                <xsl:apply-templates mode="default_db__x3A__STRUCTURE:init.ref" select="doc(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))">
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="default_db__x3A__STRUCTURE:loop.path.test.append($default_db__x3A__STRUCTURE:loop.path,@ref,name())"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref" select="@ref"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref.name" select="name()"/>
+                </xsl:apply-templates>
+                <xsl:apply-templates mode="#current">
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="default_db__x3A__STRUCTURE:loop.path.test.append($default_db__x3A__STRUCTURE:loop.path,@ref,name())"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref" select="@ref"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref.name" select="name()"/>
+                </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message terminate="yes">#89 error with @ref[[<xsl:value-of select="@ref"/>]] 
+                    ancestor::xs:schema/xs:group[<xsl:copy-of select="ancestor::xs:schema/xs:group/@name" copy-namespaces="no"></xsl:copy-of>]
+                    default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref) = [[<xsl:value-of select="default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref)"/>]]
+                </xsl:message>
+                <!--<xsl:comment >#89 error with @ref[[<xsl:value-of select="@ref"/>]] 
+                    strlen(url)[[<xsl:value-of select="default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref)=''"/>]]
+                    ::a/sch/@ts [[<xsl:value-of select="ancestor::xs:schema/@targetNamespace"/>]]
+                    ::a/sch/gr/n [[<xsl:value-of select="ancestor::xs:schema/xs:group[@name=substring-after(current()/@ref,':')]/name()"/>]]
+                    ancestor::xs:schema/xs:group[<xsl:copy-of select="ancestor::xs:schema/xs:group/@name" copy-namespaces="no"></xsl:copy-of>]
+                    default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref) = [[<xsl:value-of select="default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref)"/>]]
+                </xsl:comment>-->
+            </xsl:otherwise>
+        </xsl:choose>
+        
+    </xsl:template>
+    
+    
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="xs:element[@ref]">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path" />
+        <!--<xsl:apply-templates mode="#current" select="doc('NEURO_MIND_INPUT_SENTENCE.xsd')/xs:schema/xs:complexType[@name='import']"/>-->
+        <!--<xsl:copy-of select=""/>-->
+        <!--<xsl:copy-of select="default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref)"></xsl:copy-of>-->
+        <xsl:choose>
+            <xsl:when test="string-length(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))&gt;150">
+                <xsl:message terminate="no">#89 -B @ref - too long name [<xsl:value-of select="string-length(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))"/>]</xsl:message>
+                <xsl:comment >#89 -B @ref - too long name [<xsl:value-of select="string-length(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))"/>] = [<xsl:value-of select="default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref)"/>]</xsl:comment>
+            </xsl:when>
+            
+            <xsl:when test="default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref)='' and ancestor::xs:schema/(xs:complexType[@name=substring-after(current()/@ref,':')]|xs:simpleType[@name=substring-after(current()/@ref,':')])">
+                <xsl:apply-templates mode="default_db__x3A__STRUCTURE:init.ref" select="doc(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))">
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="default_db__x3A__STRUCTURE:loop.path.test.append($default_db__x3A__STRUCTURE:loop.path,@ref,name())"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref" select="@ref"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref.name" select="name()"/>
+                </xsl:apply-templates>
+            </xsl:when>
+            <xsl:when test="string-length(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))&gt;0">
+                
+                <xsl:apply-templates mode="default_db__x3A__STRUCTURE:init.ref" select="doc(default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref))">
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="default_db__x3A__STRUCTURE:loop.path.test.append($default_db__x3A__STRUCTURE:loop.path,@ref,name())"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref" select="@ref"/>
+                    <xsl:with-param name="default_db__x3A__STRUCTURE:init.ref.name" select="name()"/>
+                </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message terminate="yes">#89-B error with @ref[[<xsl:value-of select="@ref"/>]] 
+                    ancestor::xs:schema/xs:group[<xsl:copy-of select="ancestor::xs:schema/(xs:complexType|xs:simpleType)/@name" copy-namespaces="no"></xsl:copy-of>]
+                    default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref) = [[<xsl:value-of select="default_db__x3A__STRUCTURE:init.element.ref.document-uri(.,@ref)"/>]]
+                </xsl:message>
+                
+            </xsl:otherwise>
+        </xsl:choose>
+        
+         <!-- /xs:schema/xs:complexType[@name='init'] --><!-- default_db__x3A__NEURO_MIND_INPUT_SENTENCE:init -->
+    </xsl:template>
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init" match="xs:simpleType">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path" />
+        <xsl:copy>
+            <xsl:call-template name="default_db__x3A__STRUCTURE:generate-id"/>
+            <xsl:attribute name="debug">#118 migrate out</xsl:attribute>
+            <xsl:apply-templates mode="#current" select="@*"/>
+            <xsl:apply-templates mode="#current">
+                <xsl:with-param name="default_db__x3A__STRUCTURE:loop.path" select="$default_db__x3A__STRUCTURE:loop.path"/>
+            </xsl:apply-templates>
+        </xsl:copy>
+        
+    </xsl:template>
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init default_db__x3A__STRUCTURE:init.ref" match="text()">
+        <xsl:copy-of select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:init default_db__x3A__STRUCTURE:init.ref" match="comment()"/>
+    
+    
+    
+</xsl:stylesheet>

+ 57 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE.serialize.xsl

@@ -0,0 +1,57 @@
+<?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"
+    xmlns:default_db__x3A__NEURO_MIND_INPUT_TEXT="https://biuro.biall-net.pl/wfs/default_db/table/NEURO_MIND_INPUT_TEXT.xsd"
+    xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
+    version="2.0">
+    
+    
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+  
+  
+    <xsl:template mode="default_db__x3A__STRUCTURE:serialize" match="xs:schema">
+        <xsl:copy>
+            <xsl:call-template name="default_db__x3A__STRUCTURE:document-uri"/>
+            <xsl:apply-templates mode="default_db__x3A__STRUCTURE:serialize"/>
+        </xsl:copy>
+        
+    </xsl:template>
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:serialize" match="text()"/>
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:serialize" match="*">
+        <xsl:apply-templates mode="#current"/>
+    </xsl:template>
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:serialize" match="xs:element[@name]">
+        <xsl:element name="{@name}">
+            <xsl:apply-templates mode="#current" select="@*"/>
+        </xsl:element>
+    </xsl:template>
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:serialize" match="xs:assert">
+        <xsl:copy-of select="." copy-namespaces="no"/>
+    </xsl:template>
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:serialize" match="xs:element[@ref]">
+        <xsl:element name="{@ref}" inherit-namespaces="yes" namespace="{ namespace-uri-for-prefix(substring-before(@ref,':'),.)}">
+            <xsl:apply-imports/>
+        </xsl:element><!-- {root()/xs:schema/namespace::*[name()=namespace-uri-from-QName(.)]} -->
+    </xsl:template>
+    
+    
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:serialize" match="@default">
+        <xsl:value-of select="."/>
+    </xsl:template>
+    
+    <xsl:template mode="default_db__x3A__STRUCTURE:serialize" match="@*">
+        <!--<xsl:copy-of select="."></xsl:copy-of>-->
+    </xsl:template>
+    
+</xsl:stylesheet>

+ 66 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE.xsd

@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+   xmlns:default_db__x3A__STRUCTURE__CHILD="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__CHILD.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__SCHEMA="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XML="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XML.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__ANT="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__ANT.xsd">
+   <xs:annotation>
+      <xs:documentation>Ten schemat ma służyć do efektywnego tworzenia mechanizmow przetwarzania schematow w zakresie plikow ant.build xsl dla porzadku</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__CHILD.xsd"
+      schemaLocation="STRUCTURE__CHILD.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+      schemaLocation="STRUCTURE__ENTITIES.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__SCHEMA.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XML.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XML.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.serialize.xsd"/>
+   <xs:include schemaLocation="STRUCTURE.include.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__ANT.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__ANT.xsd"/>
+   <xs:include schemaLocation="STRUCTURE.dependency..xsd">
+      <xs:annotation>
+         <xs:documentation>dla mikro zadan skladania po kolei</xs:documentation>
+      </xs:annotation>
+   </xs:include>
+   <xs:element name="default_db.STRUCTURE">
+      <xs:annotation>
+         <xs:documentation>stworzony katalog</xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element name="STRUCTURE.init.xml"
+               type="default_db__x3A__STRUCTURE__ENTITIES__XML:STRUCTURE.init.xml">
+               <xs:annotation>
+                  <xs:documentation>wytworzonA struct  - powinna sie robic serialize od razu?</xs:documentation>
+               </xs:annotation>
+            </xs:element>
+            <xs:element name="build.xml" type="default_db__x3A__STRUCTURE__ENTITIES__ANT:build.xml"/>
+            <xs:element name="build.STRUCTURE.xml"
+               type="default_db__x3A__STRUCTURE__ENTITIES__ANT:build.STRUCTURE.xml"/>
+            <xs:element name="STRUCTURE.import.xml">
+               <xs:annotation>
+                  <xs:documentation>importujemy inne schematy / instancje do schematu katalogu - jakie moga byc zdefiniowane w import  - zaciagamy to przez .init</xs:documentation>
+               </xs:annotation>
+            </xs:element>
+         </xs:sequence>
+      </xs:complexType>
+   </xs:element>
+</xs:schema>

+ 245 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE.xsl

@@ -0,0 +1,245 @@
+<?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"
+    xmlns:default_db__x3A__NEURO_MIND_INPUT_TEXT="https://biuro.biall-net.pl/wfs/default_db/table/NEURO_MIND_INPUT_TEXT.xsd"
+    xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
+    version="2.0">
+    
+    <xsl:import href="../../default_db.ant-object.basedir.xsl"/>
+    
+    <xsl:key name="default_db__x3A__STRUCTURE:generate-id" match="*" use="@default_db__x3A__STRUCTURE:generate-id"/>
+    
+    <xsl:output indent="yes"/>
+    <xsl:strip-space elements="*"/>
+    
+    <xsl:param name="default_db__x3A__STRUCTURE:basedir"  select="concat($default_db.ant-object.basedir,'/default_db.STRUCTURE/STRUCTURE')"/>
+    
+    <xsl:include href="STRUCTURE.init.xsl"/>
+    <xsl:include href="STRUCTURE.serialize.xsl"/>
+    <xsl:include href="STRUCTURE.import.xsl"/>
+    <xsl:include href="STRUCTURE.export.xsl"/><!-- serialize -->
+    <xsl:include href="STRUCTURE.dependency.xsl"/>
+    <xsl:include href="STRUCTURE.dependency.context.xsl"/>
+    <!-- domyslne templates do przetwarzania -->
+    
+    
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:prefix.clean">
+        <xsl:param name="prefix_or_not"/>
+        <xsl:choose>
+            <xsl:when test="substring-before($prefix_or_not,':')">
+                <xsl:value-of select="substring-after($prefix_or_not,':')"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$prefix_or_not"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:prefix.get">
+        <xsl:param name="prefix_or_not"/>
+        <xsl:choose>
+            <xsl:when test="substring-before($prefix_or_not,':')">
+                <xsl:value-of select="substring-before($prefix_or_not,':')"/>
+                
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message terminate="yes">#47 not have prefix <xsl:value-of select="$prefix_or_not"/></xsl:message>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:namespace.get">
+        <xsl:param name="context"/>
+        <xsl:choose>
+            <xsl:when test="$context/ancestor-or-self::xs:schema[1]/@targetNamespace">
+                <xsl:variable  name="targetNamespace" select="$context/ancestor-or-self::xs:schema[1]/@targetNamespace"/>
+                <xsl:value-of select="$targetNamespace"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message terminate="yes">#67-E problem with $context/ancestor-or-self::xs:schema[@targetNamespace][1]/namespace::*[.=$targetNamespace]/name()</xsl:message>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:namespaceprefix.get">
+        <xsl:param name="context"/>
+       
+        <xsl:variable  name="namespaceprefix" select="$context/ancestor-or-self::xs:schema[@targetNamespace][1]/namespace::*[.=default_db__x3A__STRUCTURE:namespace.get($context)]/name()"/>
+                <xsl:choose>
+                    <xsl:when test="string-length($namespaceprefix) &gt;0">
+                        <xsl:value-of select="$namespaceprefix"/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                        <xsl:message terminate="yes">#67-E problem with $context/ancestor-or-self::xs:schema[@targetNamespace][1]/namespace::*[.=$targetNamespace]/name()</xsl:message>
+                    </xsl:otherwise>
+                </xsl:choose>
+          
+    </xsl:function>
+    
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:namespaceprefix.name.element">
+        <xsl:param name="context"/>
+        <xsl:param name="name"/> <!-- @name -->
+        <xsl:value-of select="concat(default_db__x3A__STRUCTURE:namespaceprefix.get($context),':',$name)"/>
+    </xsl:function>
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:loop.path.init">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:ref"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:name"/>
+        <xsl:variable name="loop.path.init.test">
+            <loop.path.init.test>
+                <xsl:copy-of select="$default_db__x3A__STRUCTURE:loop.path"/>
+            </loop.path.init.test>
+        </xsl:variable>
+        <xsl:choose>
+            <xsl:when test="$loop.path.init.test//loop.path">
+                <xsl:message terminate="yes">#99 INIT ALREADY INITLAIZED <xsl:value-of select="count($default_db__x3A__STRUCTURE:loop.path//loop.path)"/></xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:variable name="loop.path.init">
+                    <loop.path.init>
+                        <xsl:message terminate="no">#35 not(default_db__x3A__STRUCTURE:loop.path/*)  - appending</xsl:message>
+                        <loop.path  >
+                            <xsl:if test="string-length($default_db__x3A__STRUCTURE:ref)&gt;0"><xsl:attribute name="ref" select="$default_db__x3A__STRUCTURE:ref"/></xsl:if>
+                            <xsl:if test="string-length($default_db__x3A__STRUCTURE:name)&gt;0"><xsl:attribute name="name" select="$default_db__x3A__STRUCTURE:name"/></xsl:if>
+                            INIT</loop.path>
+                    </loop.path.init>
+                </xsl:variable>
+                <xsl:copy-of select="$loop.path.init" copy-namespaces="yes"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:loop.path.init">
+        <xsl:param name="default_db__x3A__STRUCTURE:ref"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:name"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:document-uri.filename"/> <!-- nazwa pliku schematu -->
+        <xsl:param name="default_db__x3A__STRUCTURE:namespaceprefix.get" /> <!-- nazwa prefixu -->
+        
+        
+        <xsl:variable name="loop.path.init">
+            <loop.path.init>
+                <xsl:message terminate="no">#35 not(default_db__x3A__STRUCTURE:loop.path/*)  - appending</xsl:message>
+                <loop.path ref="{$default_db__x3A__STRUCTURE:ref}" name="{$default_db__x3A__STRUCTURE:name}">
+                    <xsl:if test="string-length($default_db__x3A__STRUCTURE:document-uri.filename)&gt;0"><xsl:attribute name="filename" select="$default_db__x3A__STRUCTURE:document-uri.filename"/></xsl:if>
+                    <xsl:if test="string-length($default_db__x3A__STRUCTURE:namespaceprefix.get)&gt;0"><xsl:attribute name="prefix" select="$default_db__x3A__STRUCTURE:namespaceprefix.get"/></xsl:if>
+                    INIT</loop.path>
+            </loop.path.init>
+        </xsl:variable>
+        <xsl:copy-of select="$loop.path.init" copy-namespaces="yes"/>
+    </xsl:function>
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:loop.path.init">
+        <xsl:param name="default_db__x3A__STRUCTURE:ref"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:name"/>
+        <xsl:copy-of select="default_db__x3A__STRUCTURE:loop.path.init($default_db__x3A__STRUCTURE:ref,$default_db__x3A__STRUCTURE:name,'')"/>
+    </xsl:function>
+    
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:loop.path.test">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:ref"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:name"/>
+        <xsl:choose>
+            <xsl:when test="default_db__x3A__STRUCTURE:loop.path.test($default_db__x3A__STRUCTURE:loop.path)"></xsl:when>
+            <xsl:when test="$default_db__x3A__STRUCTURE:loop.path//loop.path[@ref=$default_db__x3A__STRUCTURE:ref and @name=$default_db__x3A__STRUCTURE:name]">
+                <xsl:message>#35-BC[[ LOOP FOUND]] $ref[<xsl:value-of select="$default_db__x3A__STRUCTURE:ref"/>] and $nam[<xsl:value-of select="$default_db__x3A__STRUCTURE:name"/>]</xsl:message>
+            </xsl:when>
+            <xsl:otherwise><xsl:message>#104 [TEST][LOOP][PATH] LOOP DETECTED </xsl:message></xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:loop.path.test">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path"/>
+        <xsl:variable name="default_db__x3A__STRUCTURE:loop.path.test">
+            <default_db__x3A__STRUCTURE:loop.path.test>
+                <xsl:copy-of select="$default_db__x3A__STRUCTURE:loop.path"/>
+            </default_db__x3A__STRUCTURE:loop.path.test>
+        </xsl:variable>
+        <xsl:choose>
+            <xsl:when test="count($default_db__x3A__STRUCTURE:loop.path.test//loop.path) &gt; 0">
+                <xsl:value-of select="count($default_db__x3A__STRUCTURE:loop.path//loop.path)"/>
+            </xsl:when>
+            <xsl:otherwise><xsl:message>#104 [TEST][LOOP][PATH] LOOP DETECTED </xsl:message></xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:loop.path.test.append">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:ref"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:name"/>
+        
+        <xsl:param name="default_db__x3A__STRUCTURE:document-uri.filename"/> <!-- nazwa pliku schematu -->
+        <xsl:param name="default_db__x3A__STRUCTURE:namespaceprefix.get" /> <!-- nazwa prefixu -->
+        
+        <xsl:choose>
+            <xsl:when test="not($default_db__x3A__STRUCTURE:loop.path)">
+                <xsl:message terminate="yes">#134 LOOP PATH ERROR NOT INITIALIZED by default_db__x3A__STRUCTURE:loop.path.init( </xsl:message>
+                <xsl:copy-of select="default_db__x3A__STRUCTURE:loop.path.init($default_db__x3A__STRUCTURE:ref,$default_db__x3A__STRUCTURE:name)"/>
+            </xsl:when>
+            <xsl:when test="count($default_db__x3A__STRUCTURE:loop.path//loop.path) = 0">
+                <xsl:message terminate="yes">#134 LOOP PATH ERROR NOT INITIALIZED by default_db__x3A__STRUCTURE:loop.path.init( </xsl:message>
+                <xsl:copy-of select="default_db__x3A__STRUCTURE:loop.path.init($default_db__x3A__STRUCTURE:ref,$default_db__x3A__STRUCTURE:name)"/>
+            </xsl:when>
+            <xsl:when test="$default_db__x3A__STRUCTURE:loop.path//loop.path[@ref=$default_db__x3A__STRUCTURE:ref 
+                and ( @filename=$default_db__x3A__STRUCTURE:document-uri.filename or $default_db__x3A__STRUCTURE:document-uri.filename='' )
+                and ( @prefix=$default_db__x3A__STRUCTURE:namespaceprefix.get or $default_db__x3A__STRUCTURE:namespaceprefix.get='' )
+                and @name=$default_db__x3A__STRUCTURE:name]">
+                <xsl:message>#35-B[[ LOOP FOUND]] $ref[<xsl:value-of select="$default_db__x3A__STRUCTURE:ref"/>] and $nam[<xsl:value-of select="$default_db__x3A__STRUCTURE:name"/>]</xsl:message>
+            </xsl:when>
+            <xsl:when test="count($default_db__x3A__STRUCTURE:loop.path//loop.path) &gt; 0">
+                <xsl:message>#35-D LOOP count <xsl:value-of select="count($default_db__x3A__STRUCTURE:loop.path//loop.path)"/>; appending [<xsl:value-of select="$default_db__x3A__STRUCTURE:ref"/>]</xsl:message>
+                <loop.path.init >
+                    <xsl:copy-of select="$default_db__x3A__STRUCTURE:loop.path//loop.path"/>
+                    <loop.path ref="{$default_db__x3A__STRUCTURE:ref}" name="{$default_db__x3A__STRUCTURE:name}">
+                        <xsl:if test="string-length($default_db__x3A__STRUCTURE:document-uri.filename)"><xsl:attribute name="filename" select="$default_db__x3A__STRUCTURE:document-uri.filename"/></xsl:if>
+                        <xsl:if test="string-length($default_db__x3A__STRUCTURE:namespaceprefix.get)"><xsl:attribute name="prefix" select="$default_db__x3A__STRUCTURE:namespaceprefix.get"/></xsl:if>
+                    </loop.path>
+                </loop.path.init>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:message terminate="yes">#35-E OTHERWISE ?? count[<xsl:value-of select="count($default_db__x3A__STRUCTURE:loop.path//loop.path)"/>] </xsl:message>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:loop.path.test.append">
+        <xsl:param name="default_db__x3A__STRUCTURE:loop.path"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:ref"/>
+        <xsl:param name="default_db__x3A__STRUCTURE:name"/>
+        <xsl:copy-of select="default_db__x3A__STRUCTURE:loop.path.test.append($default_db__x3A__STRUCTURE:loop.path,$default_db__x3A__STRUCTURE:ref,$default_db__x3A__STRUCTURE:name,'','')"/>        
+    </xsl:function>
+    
+    
+    
+    <xsl:function name="default_db__x3A__STRUCTURE:document-uri.filename">
+        <xsl:param name="document-uri"/>
+        <xsl:choose>
+            <xsl:when test="string-length(substring-after($document-uri,'/'))&gt;1">
+                <xsl:value-of select="default_db__x3A__STRUCTURE:document-uri.filename(substring-after($document-uri,'/'))"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$document-uri"/>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:function>
+    
+    
+    <xsl:template name="default_db__x3A__STRUCTURE:document-uri">
+        <xsl:attribute name="document-uri" select="document-uri(root())" />
+    </xsl:template>
+    
+    
+    <xsl:template name="default_db__x3A__STRUCTURE:generate-id">
+        <xsl:choose>
+            <xsl:when test="@default_db__x3A__STRUCTURE:generate-id"/>
+            <xsl:otherwise><xsl:attribute name="default_db__x3A__STRUCTURE:generate-id" select="generate-id()"/></xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+    
+    
+</xsl:stylesheet>

+ 91 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__CHILD.xsd

@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:default_db__x3A__STRUCTURE__CHILD="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__CHILD.xsd"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__CHILD.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__SCHEMA="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XML="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XML.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.xsd">
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+      schemaLocation="STRUCTURE__ENTITIES.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__SCHEMA.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XML.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XML.xsd"/>
+   <xs:complexType name="schema">
+      <xs:annotation>
+         <xs:documentation>zawiera schemat</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+         <xs:extension base="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:schema">
+            <xs:group ref="default_db__x3A__STRUCTURE__CHILD:schema"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="schema" type="default_db__x3A__STRUCTURE__CHILD:schema"/>
+   <xs:group name="schema">
+      <xs:sequence>
+         <xs:element ref="default_db__x3A__STRUCTURE__CHILD:import"/>
+         <xs:element ref="default_db__x3A__STRUCTURE__CHILD:STRUCTURE.complexType"/>
+         <xs:element ref="default_db__x3A__STRUCTURE__CHILD:STRUCTURE.root-element"/>
+      </xs:sequence>
+   </xs:group>
+   <xs:complexType name="import">
+      <xs:complexContent>
+         <xs:extension base="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:import">
+            <xs:group ref="default_db__x3A__STRUCTURE__CHILD:import"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:group name="import">
+      <xs:sequence/>
+   </xs:group>
+   <xs:element name="import" type="default_db__x3A__STRUCTURE__CHILD:import"/>
+   <xs:complexType name="STRUCTURE.complexType">
+      <xs:complexContent>
+         <xs:extension base="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:complexType">
+            <xs:group ref="default_db__x3A__STRUCTURE__CHILD:STRUCTURE.complexType"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:group name="STRUCTURE.complexType">
+      <xs:sequence/>
+   </xs:group>
+   <xs:element name="STRUCTURE.complexType"
+      type="default_db__x3A__STRUCTURE__CHILD:STRUCTURE.complexType"/>
+   <xs:complexType name="STRUCTURE.root-element">
+      <xs:complexContent>
+         <xs:extension base="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:STRUCTURE.root-element">
+            <xs:group ref="default_db__x3A__STRUCTURE__CHILD:STRUCTURE.root-element"/>
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="STRUCTURE.root-element"
+      type="default_db__x3A__STRUCTURE__CHILD:STRUCTURE.root-element"/>
+   <xs:group name="STRUCTURE.root-element">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="STRUCTURE.xsd">
+      <xs:annotation>
+         <xs:documentation>plik nie jest tworzony - jest to zdalny schemat</xs:documentation>
+      </xs:annotation>
+      <xs:group ref="default_db__x3A__STRUCTURE__CHILD:STRUCTURE.xsd"/>
+   </xs:complexType>
+   <xs:group name="STRUCTURE.xsd">
+      <xs:annotation>
+         <xs:documentation>plik nie jest tworzony - jest to zdalny schemat</xs:documentation>
+      </xs:annotation>
+      <xs:sequence>
+         <xs:element ref="default_db__x3A__STRUCTURE__CHILD:schema"/>
+      </xs:sequence>
+   </xs:group>
+   <xs:element name="STRUCTURE.xsd" type="default_db__x3A__STRUCTURE__CHILD:STRUCTURE.xsd"/>
+</xs:schema>

+ 63 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES.xsd

@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd">
+   <xs:annotation>
+      <xs:documentation>Ten schemat ma służyć do efektywnego tworzenia mechanizmow przetwarzania schematow w zakresie plikow ant.build xsl dla porzadku</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__CHILD.xsd"
+      schemaLocation="STRUCTURE__CHILD.xsd"/>
+   <xs:complexType name="yed"/>
+   <xs:complexType name="schema">
+      <xs:annotation>
+         <xs:documentation>wygenerowana struktura zawierajaca element z jego schematem w namespace xs:</xs:documentation>
+      </xs:annotation>
+      <xs:group ref="default_db__x3A__STRUCTURE__ENTITIES:init"/>
+   </xs:complexType>
+   <xs:group name="schema">
+      <xs:sequence>
+         <xs:element ref="default_db__x3A__STRUCTURE__ENTITIES:schema"/>
+      </xs:sequence>
+   </xs:group>
+   <xs:element name="schema" type="default_db__x3A__STRUCTURE__ENTITIES:schema"/>
+   <xs:complexType name="init">
+      <xs:annotation>
+         <xs:documentation>to pusty XML (instacja) na podstaiwe schematu danego modelu z domyslnymi wartosciami z modelu</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="serialize"/>
+   <xs:complexType name="serialized"/>
+   <xs:group name="init">
+      <xs:sequence/>
+   </xs:group>
+   <xs:element name="init"/>
+   <xs:complexType name="import">
+      <xs:annotation>
+         <xs:documentation>zaimportowanie tekstu</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="initialized">
+      <xs:annotation>
+         <xs:documentation>to pusty XML (instacja) na podstaiwe schematu danego modelu z domyslnymi wartosciami z modelu</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="build_ant">
+      <xs:sequence>
+         <xs:element name="project">
+            <xs:complexType>
+               <xs:sequence>
+                  <xs:element name="target"/>
+               </xs:sequence>
+            </xs:complexType>
+         </xs:element>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:complexType name="STRUCTURE">
+      <xs:annotation>
+         <xs:documentation>Prototype structure name - default_db:PROTOTYPE...</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+</xs:schema>

+ 25 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__ANT.xsd

@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__ANT.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__ANT="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__ANT.xsd">
+   <xs:annotation>
+      <xs:documentation>Elementy ant build</xs:documentation>
+   </xs:annotation>
+   <xs:complexType name="project"/>
+   <xs:complexType name="target"/>
+   <xs:complexType name="extension-point"/>
+   <xs:complexType name="xslt"/>
+   <xs:complexType name="style"/>
+   <xs:complexType name="mode"/>
+   <xs:complexType name="in"/>
+   <xs:complexType name="out"/>
+   <xs:complexType name="build.xml">
+      <xs:sequence>
+         <xs:element name="newElement"/>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:complexType name="build.STRUCTURE.xml"/>
+</xs:schema>

+ 112 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__SCHEMA.xsd

@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__SCHEMA="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd">
+   <xs:annotation>
+      <xs:documentation>Elementy schematu</xs:documentation>
+   </xs:annotation>
+   <xs:element name="schema" type="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:schema"/>
+   <xs:group name="schema">
+      <xs:sequence>
+         <xs:element ref="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:import"/>
+      </xs:sequence>
+   </xs:group>
+   <xs:complexType name="schema">
+      <xs:group ref="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:schema"/>
+      <xs:attribute name="targetNamespace"/>
+      <xs:attribute name="document-uri">
+         <xs:annotation>
+            <xs:documentation>ex file:/Users/a.binder/Documents/se/SE/schema/ant-object/default_db.NEURO_MIND_INPUT_LETTER/NEURO_MIND_INPUT_LETTER/NEURO_MIND_INPUT_LETTER.xsd</xs:documentation>
+         </xs:annotation>
+      </xs:attribute>
+   </xs:complexType>
+   <xs:group name="complexType">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="complexType"/>
+   <xs:complexType name="restriction"/>
+   <xs:group name="restriction">
+      <xs:sequence/>
+   </xs:group>
+   <xs:group name="assert">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="assert"/>
+   <xs:group name="element">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="element"/>
+   <xs:complexType name="STRUCTURE.complexType.element">
+      <xs:annotation>
+         <xs:documentation>element dziecko w schema</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:group name="root-element">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="root-element"/>
+   <xs:group name="attribute">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="attribute"/>
+   <xs:complexType name="Default">
+      <xs:annotation>
+         <xs:documentation>Default value in schema</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="minOccurs"/>
+   <xs:complexType name="maxOccurs"/>
+   <xs:element name="import" type="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:import"/>
+   <xs:complexType name="import">
+      <xs:group ref="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:import"/>
+      <xs:attribute name="namespace"/>
+      <xs:attribute name="schemaLocation"/>
+   </xs:complexType>
+   <xs:group name="import">
+      <xs:sequence>
+         <xs:element ref="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:schema"/>
+      </xs:sequence>
+   </xs:group>
+   <xs:group name="STRUCTURE.complexType">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="STRUCTURE.complexType">
+      <xs:annotation>
+         <xs:documentation>podstawowy schemat</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="STRUCTURE.root-element">
+      <xs:annotation>
+         <xs:documentation>glowna definicja nazwy elementu w schemacie</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="STRUCTURE.complexType.init">
+      <xs:annotation>
+         <xs:documentation>struktura dla kontektu inicjalizacji - czy to konieczne ?</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="STRUCTURE.root-element.init"/>
+   <xs:complexType name="STRUCTURE.complexType.serialize">
+      <xs:annotation>
+         <xs:documentation>podstawiamy domyslne wartosci ze schema oraz serializujemy z xs:.... na elementy XML</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="STRUCTURE.root-element.import">
+      <xs:annotation>
+         <xs:documentation>pokazywanie z czego importuje ? todo zakres importu</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="STRUCTURE.complexType.import">
+      <xs:annotation>
+         <xs:documentation>pokazywanie z czego importuje ? todo zakres importu</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="STRUCTURE.complexType.export">
+      <xs:annotation>
+         <xs:documentation>pokazywanie z do czego eksportuje - TODO czy to ma sens - nie kontekst child/parent?</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+</xs:schema>

+ 67 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XML.xsd

@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XML.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XML="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XML.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.xsd">
+   <xs:annotation>
+      <xs:documentation>Elementy plikow XML ktore maja byc tworzone</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+      schemaLocation="STRUCTURE__ENTITIES.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.serialize.xsd"/>
+   <xs:group name="STRUCTURE.init.xml">
+      <xs:annotation>
+         <xs:documentation>plik inicjalizacji czystych struktur</xs:documentation>
+      </xs:annotation>
+      <xs:sequence/>
+   </xs:group>
+   <xs:group name="STRUCTURE.xsd">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="STRUCTURE.xsd"/>
+   <xs:element name="STRUCTURE.xsd">
+      <xs:annotation>
+         <xs:documentation>definicja struktury</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:element name="STRUCTURE.init.xml"/>
+   <xs:complexType name="STRUCTURE.init.xml"/>
+   <xs:complexType name="STRUCTURE.serialize.xml">
+      <xs:annotation>
+         <xs:documentation>strukura zamieniona juz na pliki xml</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+   <xs:complexType name="STRUCTURE.root-element.serialize">
+      <xs:annotation>
+         <xs:documentation>glowny element instancyjny w XML</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+         <xs:extension
+            base="default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize:STRUCTURE.root-element.serialize"
+         > </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="STRUCTURE.root-element.serialize"/>
+   <xs:complexType name="element.serialize">
+      <xs:annotation>
+         <xs:documentation>element zaraz pod glownym </xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+         <xs:extension
+            base="default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize:STRUCTURE.complexType.element"
+         > </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:complexType name="atrybut.serialize"/>
+   <xs:complexType name="text.serialize">
+      <xs:annotation>
+         <xs:documentation>zawartosc tekstu w elemencie</xs:documentation>
+      </xs:annotation>
+   </xs:complexType>
+</xs:schema>

+ 28 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XSLT.serialize.match.xsd

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.match.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize.match="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.match.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__SCHEMA="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XML="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XML.xsd"
+   xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd">
+   <xs:annotation>
+      <xs:documentation>Elementy plikow xslt - implementacja - z czego zamienic cos</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+      schemaLocation="STRUCTURE__ENTITIES.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__SCHEMA.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.serialize.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XML.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XML.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
+      schemaLocation="STRUCTURE.xsd"/>
+</xs:schema>

+ 28 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XSLT.serialize.select.xsd

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.select.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize.select="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.select.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__SCHEMA="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize.match="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.match.xsd"
+   xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd">
+   <xs:annotation>
+      <xs:documentation>Elementy plikow xslt - implementacja - na co zamienic cos</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+      schemaLocation="STRUCTURE__ENTITIES.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__SCHEMA.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.serialize.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.match.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.serialize.match.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
+      schemaLocation="STRUCTURE.xsd"/>
+</xs:schema>

+ 52 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XSLT.serialize.xsd

@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__SCHEMA="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize.match="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.match.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize.select="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.select.xsd">
+   <xs:annotation>
+      <xs:documentation>Elementy plikow xslt - implementacja transformacji czegos na cos - w select</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+      schemaLocation="STRUCTURE__ENTITIES.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__SCHEMA.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__SCHEMA.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.match.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.serialize.match.xsd"/>
+   <xs:import
+      namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.serialize.select.xsd"
+      schemaLocation="STRUCTURE__ENTITIES__XSLT.serialize.select.xsd"/>
+   <xs:complexType name="STRUCTURE.root-element.serialize">
+      <xs:annotation>
+         <xs:documentation>tworzenie de facto elementu root-element w xmlu</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+         <xs:extension base="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:STRUCTURE.root-element">
+            <xs:group
+               ref="default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize:STRUCTURE.root-element.serialize"
+            />
+         </xs:extension>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="STRUCTURE.root-element.serialize"
+      type="default_db__x3A__STRUCTURE__ENTITIES__XSLT.serialize:STRUCTURE.root-element.serialize"/>
+   <xs:group name="STRUCTURE.root-element.serialize">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="STRUCTURE.complexType.element">
+      <xs:annotation>
+         <xs:documentation>serializacja elementu ze schema</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent>
+         <xs:extension
+            base="default_db__x3A__STRUCTURE__ENTITIES__SCHEMA:STRUCTURE.complexType.element"/>
+      </xs:complexContent>
+   </xs:complexType>
+</xs:schema>

+ 30 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__ENTITIES__XSLT.xsd

@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.xsd"
+   vc:minVersion="1.1"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES__XSLT="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES__XSLT.xsd"
+   xmlns:default_db__x3A__STRUCTURE__ENTITIES="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd">
+   <xs:annotation>
+      <xs:documentation>Elementy plikow xslt</xs:documentation>
+   </xs:annotation>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__ENTITIES.xsd"
+      schemaLocation="STRUCTURE__ENTITIES.xsd"/>
+   <xs:complexType name="stylesheet">
+      <xs:complexContent>
+         <xs:extension base="xs:anyType"/>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:group name="stylesheet">
+      <xs:sequence/>
+   </xs:group>
+   <xs:complexType name="template-mode"/>
+   <xs:complexType name="template-name"/>
+   <xs:group name="template-name">
+      <xs:sequence/>
+   </xs:group>
+   <xs:group name="template-mode">
+      <xs:sequence/>
+   </xs:group>
+</xs:schema>

+ 9 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/STRUCTURE__PARENT.xsd

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:default_db__x3A__STRUCTURE__PARENT="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__PARENT.xsd"
+   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE__PARENT.xsd"
+   vc:minVersion="1.1">
+   <xs:complexType name="SCHEMA"/>
+</xs:schema>

+ 49 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/build.STRUCTURE.xml

@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="./../../../../." name="STRUCTURE" default="default"
+    xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
+    > 
+    
+    <include file="../../build.ant-object.xml" as="ant-object"/>
+    <description>2019 do podstawowych akcji triggerowych i porzadku</description>
+    
+    
+    
+    <property name="default_db__x3A__STRUCTURE.basedir" location="${default_db.ant-object.basedir}/default_db.STRUCTURE/STRUCTURE"/>
+    <property name="default_db__x3A__STRUCTURE.targetNamespace" value="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"/>
+    
+    <property name="default_db__x3A__STRUCTURE.STRUCTURE.xsl" location="${default_db__x3A__STRUCTURE.basedir}/STRUCTURE.xsl"/>
+    
+    
+    
+    <target name="validate.basedir">
+        
+        <condition property="default_db__x3A__STRUCTURE.basedir.validate" value="default_db__x3A__STRUCTURE.basedir.validate - OK">
+            <available file="${default_db__x3A__STRUCTURE.basedir}"/>
+        </condition>
+        <fail unless="default_db__x3A__STRUCTURE.basedir.validate">Incorrect default_db__x3A__STRUCTURE.basedir = ${default_db__x3A__STRUCTURE.basedir}</fail>
+        <echo>
+            #12 $default_db__x3A__STRUCTURE.basedir.validate = ${default_db__x3A__STRUCTURE.basedir.validate}
+        </echo>
+        
+    </target>
+    
+    <macrodef name="available">
+        <element name="available"/>
+        <attribute name="file"/>
+        <sequential>
+            <local name="temp.available.validate"/>
+            <condition property="temp.available.validate" value="@{file} - OK EXISTS">
+                <available file="@{file}"/>
+            </condition>
+            <fail unless="temp.available.validate">
+                #14 BRAK OCZEKIWANEGO PLIKU @{file}
+            </fail>
+        </sequential>
+    </macrodef>
+    
+    
+    
+    
+    <extension-point name="default" depends="validate.basedir"/>
+    
+</project>

+ 4 - 0
SE/schema/ant-object/default_db.STRUCTURE/STRUCTURE/build.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir="./../../../../." name="STRUCTURE.build">
+    <include file="build.STRUCTURE.xml" /> <!-- as="[TEMPLATE]" -->
+</project>