a.binder 5 anni fa
parent
commit
4bd241fcc3

+ 31 - 19
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/pismo/GRAFIK_PRACY_view.ditamap

@@ -17,7 +17,7 @@
     -->
   <!-- oznacza to refa z w $var=ID_BILLING_OWNER jest FeatureID=BILLING_OWNER.$var do sciagniecia z p5_default_db:BILLING_OWNER -->
   <get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot>
-    <map xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:map.xsd">
+    <map xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:map.xsd" id="GRAFIK_PRACY_view.map">
       <topic id="GRAFIK_PRACY_view">
         <title>
           <ph>Raport pracy nr </ph>
@@ -47,23 +47,24 @@
           <ph>-</ph>
         </title>
         <body>
-          <foreign>
+          <!--<foreign>-->
             <!--<ph xpath="A_STATUS_INFO"  CONTENT.TEXT="1"/>-->
             <data xpath="A_STATUS_INFO" datatype="CONTENT.TEXT"/>
             <svg-container
-              system_cache__dita__x3A__svg:data.y1.name="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y1.name"
-              system_cache__dita__x3A__svg:data.y1.value="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y1.value"
-              system_cache__dita__x3A__svg:data.y1.label="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.data.y1.label"
-              system_cache__dita__x3A__svg:data.y2.name="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.data.y2.name"
-              system_cache__dita__x3A__svg:data.y2.value="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.data.y2.value"
-              system_cache__dita__x3A__svg:data.x.label="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.label.DATE"
-              system_cache__dita__x3A__svg:data.x.name="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.name"
+                     system_cache__dita__x3A__svg:data.y1.name="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y1.name"
+                    system_cache__dita__x3A__svg:data.y1.value="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y1.value"
+                    system_cache__dita__x3A__svg:data.y1.label="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y1.label"
+                     system_cache__dita__x3A__svg:data.y2.name="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y2.name"
+                    system_cache__dita__x3A__svg:data.y2.value="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y2.value"
+                     system_cache__dita__x3A__svg:data.x.label="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.label"
+                      system_cache__dita__x3A__svg:data.x.name="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.name"
               system_cache__dita__x3A__svg:data.x.name.value="GRAFIK_PRACY_view.raport"
-              system_cache__dita__x3A__svg:data.x.value="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.data.x.value"
+                     system_cache__dita__x3A__svg:data.x.value="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.value"
+              system_cache__dita__x3A__svg:data.x.value.bounds="system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.value.bounds"
               >
             </svg-container>
-          </foreign>
-          <table frame="all" id="table_rgg_vfh_bjb">
+          <!--</foreign>-->
+          <table frame="all" id="table_rgg_vfh_bjb" props="nograph">
             <title>Raport dniowy-godzinowy</title>
             <tgroup cols="12">
               <colspec colname="c1" colnum="1" colwidth="1*"/>
@@ -135,22 +136,33 @@
                       </ogc:PropertyIsLike>
                     </ogc:And>
                   </simpleTypeMakeOgcFilter>
-                  <row>
+                  <row 
+                    system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.name="GRAFIK_PRACY_view.raport"
+                    
+                    >
                     <entry>
-                      <sub xpath="DATE"/>
+                      <sub xpath="DATE" system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.label="text()"/>
                     </entry>
-                    <entry xpath="WEEK"/>
+                    <entry xpath="WEEK"
+                      system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.value="text()"
+                      system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.x.value.bounds="text()"
+                    />
                     <entry>
                       <sub xpath="DAY_OF_WEEK"/>
                     </entry>
                     <entry>
                       <sub xpath="T_TELBOX_NEIGHBOUR_IN_ID"/>
                     </entry>
-                    <entry>
-                      <sub xpath="START_WORK_HOUR"/>
+                    <entry 
+                      system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y1.name="START_WORK_HOUR"
+                      >
+                      <sub xpath="START_WORK_HOUR" system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y1.value="text()"
+                        />
                     </entry>
                     <entry>
-                      <sub xpath="END_WORK_HOUR"/>
+                      <sub xpath="END_WORK_HOUR" system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y2.name="END_WORK_HOUR"
+                        system_cache__dita__x3A__svg:GRAFIK_PRACY_view.raport.data.y2.value="text()"
+                      />
                     </entry>
                     <entry>
                       <sub xpath="START_WORK_HOUR_CONFIRM"/>
@@ -226,7 +238,7 @@
         </strow>
       </RelatedFeature>-->
           <!---->
-          <table frame="all" id="podsumowanie_godzinowe">
+          <table frame="all" id="podsumowanie_godzinowe" props="nograph">
             <title>Raport dniowy-godzinowy - podsumowanie</title>
             <tgroup cols="12">
               <colspec colname="c1" colnum="1" colwidth="1*"/>

+ 14 - 4
SE/schema/default_db_xml_cache.public/default_db/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI_tree_to_dita.xsl

@@ -113,7 +113,7 @@
     
     <xsl:template match="INWESTYCJA_BUDOWA_SIECI|IN7_MK_BAZA_DYSTRYBUCJI" mode="ditamap_root">
         <map xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-            xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:map.xsd">
+            xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:map.xsd" rev="#117 matched n/{name()};">
             <title>
                 <xsl:value-of select="M_DIST_DESC"/>
             </title>
@@ -162,7 +162,7 @@
     
     <xsl:template match="IN7_MK_BAZA_DYSTRYBUCJI">
         <topic id="topic_IN7_MK_BAZA_DYSTRYBUCJI_{ID}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-            xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd">
+            xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd" rev="#165 deb">
             <title><ph>Sprawa nr </ph> <xsl:value-of select="P_ID"/> <ph>-</ph> 
                 <xsl:value-of select="ID"/>
                 związana z <xsl:value-of select="M_DISTRIBUTOR"/>
@@ -418,8 +418,18 @@
     </xsl:template>    
     
     
-    <xsl:template match="INWESTYCJA_BUDOWA_SIECI|IN7_MK_BAZA_DYSTRYBUCJI|IN7_DZIENNIK_KORESP" mode="ditamap">
-        <topicref href="{ID}_{local-name()}_topic.dita">
+    <xsl:template match="INWESTYCJA_BUDOWA_SIECI|IN7_MK_BAZA_DYSTRYBUCJI|IN7_DZIENNIK_KORESP" mode="ditamap ">
+        <topicref href="{ID}_{local-name()}_topic.dita" rev="#422 mode ditamap match:{name()}; ">
+            <xsl:result-document href="{$temp}/{$uuid}/{ID}_{local-name()}_topic.dita">
+                <xsl:apply-templates select="."/>
+            </xsl:result-document>
+            <xsl:apply-templates mode="ditamap"/>
+        </topicref>
+    </xsl:template>
+    
+    
+    <xsl:template match="INWESTYCJA_BUDOWA_SIECI|IN7_MK_BAZA_DYSTRYBUCJI|IN7_DZIENNIK_KORESP" mode="ditamap_root.embedded_map ">
+        <topicref href="{ID}_{local-name()}_topic.dita" rev="#422-432 mode ditamap match:{name()}; ">
             <xsl:result-document href="{$temp}/{$uuid}/{ID}_{local-name()}_topic.dita">
                 <xsl:apply-templates select="."/>
             </xsl:result-document>

+ 159 - 35
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.plot.Hi-Lo-Close.xsl

@@ -49,9 +49,14 @@
         <xsl:variable name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length - ( 2 * $system_cache__dita__x3A__svg:offsetY.default )"/>
         
         
-        <xsl:comment>#37 mode system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal cont/n=<xsl:value-of select="name()"/>; 
+        <xsl:message>#37 mode system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal cont/n=<xsl:value-of select="name()"/>; 
         $system_cache__dita__x3A__svg:data.x.value.bounds = <xsl:value-of select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
-        </xsl:comment>
+            T1 $system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate = <xsl:value-of select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
+            T2 $system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate = <xsl:value-of select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
+            
+            
+            
+        </xsl:message>
         <!--<system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal>-->
             <!--<xsl:copy>-->
                 <!--<xsl:copy-of select="@*"/>-->
@@ -145,11 +150,12 @@
         
         
        
-        <xsl:comment>#15 system_cache__dita__x3A__svg:openHiLoClose matched /n <xsl:value-of select="name()"/>;
+        <xsl:message>#15 system_cache__dita__x3A__svg:openHiLoClose matched /n <xsl:value-of select="name()"/>;
             $system_cache__dita__x3A__svg:openHiLoCloseXaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseXaxis"/>
             $system_cache__dita__x3A__svg:openHiLoCloseYaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseYaxis"/> ;
             $system_cache__dita__x3A__svg:data.x.value.bounds = <xsl:value-of select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
-        </xsl:comment>
+            $system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal"/>
+        </xsl:message>
         
         
         <!--<xsl:variable name="system_cache__dita__x3A__svg:x.count.data.current-group" select="count(descendant-or-self::system_cache__dita__x3A__svg:data.current-group/@system_cache__dita__x3A__svg:data.id)" />-->
@@ -164,6 +170,8 @@
             </xsl:call-template>
         </xsl:variable>
         
+        <xsl:message>#T172 $system_cache__dita__x3A__svg:x1.count.leadingTimeDate [<xsl:value-of select="$system_cache__dita__x3A__svg:x1.count.leadingTimeDate"/>]</xsl:message>
+        
         <xsl:variable name="system_cache__dita__x3A__svg:x1.min.leadingTimeDate"  ><!-- select="min(descendant-or-self::system_cache__dita__x3A__svg:leadingTimeDate/@system_cache__dita__x3A__svg:data.position)" -->
             <xsl:call-template name="system_cache__dita__x3A__svg:x.min__x3A__read">
                 <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name" select="$system_cache__dita__x3A__svg:data.x.name"/>
@@ -171,7 +179,7 @@
                 <xsl:with-param name="system_cache__dita__x3A__svg:data.x.value" select="$system_cache__dita__x3A__svg:data.x.value"/>
             </xsl:call-template>
         </xsl:variable>
-        
+        <xsl:message>#T175 $system_cache__dita__x3A__svg:x1.min.leadingTimeDate [<xsl:value-of select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>]</xsl:message>
         
         
         <xsl:variable name="system_cache__dita__x3A__svg:x1.max.leadingTimeDate"  ><!-- select="max(descendant-or-self::system_cache__dita__x3A__svg:leadingTimeDate/@system_cache__dita__x3A__svg:data.position)" -->
@@ -238,22 +246,28 @@
        
         <xsl:variable name="system_cache__dita__x3A__svg:y.max.relation_DateRangeElements" select="system_cache__dita__x3A__svg:math.max($system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements, $system_cache__dita__x3A__svg:y2.max.relation_DateRangeElements)"/>
         <xsl:variable name="system_cache__dita__x3A__svg:y.min.relation_DateRangeElements" select="system_cache__dita__x3A__svg:math.min($system_cache__dita__x3A__svg:y1.min.relation_DateRangeElements, $system_cache__dita__x3A__svg:y2.min.relation_DateRangeElements)"/>
-        <xsl:variable name="system_cache__dita__x3A__svg:range.x1" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate - $system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>
-        <xsl:variable name="system_cache__dita__x3A__svg:range.y" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements - $system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
+        <!--??<xsl:variable name="system_cache__dita__x3A__svg:range.x1" select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate - $system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>-->
+        <!--??<xsl:variable name="system_cache__dita__x3A__svg:range.y" select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements - $system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>-->
         
         <xsl:variable name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
             <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
                 <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
             </xsl:call-template>
         </xsl:variable>
+        <xsl:message>260 $system_cache__dita__x3A__svg:bounds.x.max__x3A__read =[<xsl:value-of select="$system_cache__dita__x3A__svg:bounds.x.max__x3A__read"/>]</xsl:message>
         
         <xsl:variable name="system_cache__dita__x3A__svg:bounds.x.min__x3A__read">
             <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.min__x3A__read">
                 <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
             </xsl:call-template>
         </xsl:variable>
+        <xsl:message>263 $system_cache__dita__x3A__svg:bounds.x.min__x3A__read =[<xsl:value-of select="$system_cache__dita__x3A__svg:bounds.x.min__x3A__read"/>]</xsl:message>
+        
+        <xsl:message>#256 T1: $system_cache__dita__x3A__svg:x1.max.leadingTimeDate = <xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/></xsl:message>
         
-       <xsl:comment>#151 testing evaluated vars 
+        <xsl:comment>#151 testing evaluated vars 
+            TEST_Y1= <xsl:value-of select="max(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y1.name  ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.y1.value and not(.='') ])"/>
+            TEST_Y2= <xsl:value-of select="max(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y1.name  ] ]//@*[ name() = $system_cache__dita__x3A__svg:data.y1.value and not(.='') ])"/>
            $system_cache__dita__x3A__svg:bounds.x.max__x3A__read = <xsl:value-of select="$system_cache__dita__x3A__svg:bounds.x.max__x3A__read"/>
            $system_cache__dita__x3A__svg:bounds.x.min__x3A__read = <xsl:value-of select="$system_cache__dita__x3A__svg:bounds.x.min__x3A__read"/>
                vs $system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements = <xsl:value-of select="$system_cache__dita__x3A__svg:y1.max.relation_DateRangeElements"/>
@@ -269,7 +283,7 @@
            
             $system_cache__dita__x3A__svg:y.min.relation_DateRangeElements = <xsl:value-of select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
             $system_cache__dita__x3A__svg:x1.min.leadingTimeDate = <xsl:value-of select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>
-            $system_cache__dita__x3A__svg:x1.max.leadingTimeDate = <xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>
+           T1 $system_cache__dita__x3A__svg:x1.max.leadingTimeDate = <xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>
            $system_cache__dita__x3A__svg:x1.count.leadingTimeDate = <xsl:value-of select="$system_cache__dita__x3A__svg:x1.count.leadingTimeDate"/>
            
            $system_cache__dita__x3A__svg:y1.min.relation_DateRangeElements = <xsl:value-of select="$system_cache__dita__x3A__svg:y1.min.relation_DateRangeElements"/>
@@ -298,23 +312,27 @@
                     </xsl:call-template>
                 </xsl:when>
                 <xsl:otherwise>
+                    <xsl:message terminate="yes">#315 ERROR oth - not set offsetY.minY Opposite to X</xsl:message>
                     <xsl:value-of select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
                 </xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
-        
+        <xsl:message>#316 T $system_cache__dita__x3A__svg:offsetY.minY[<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.minY"/>]</xsl:message>
         
         <xsl:variable name="system_cache__dita__x3A__svg:offsetY.maxY">
             <xsl:choose>
                 <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
                     <xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>
+                    <xsl:message>#326 OVERRR $:offsetY.maxY hiriz  to x1.max.leadingTimeDate=[<xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>]</xsl:message>
                 </xsl:when>
                 <xsl:when test="$system_cache__dita__x3A__svg:data.x.value.bounds">
                     <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
                         <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
                     </xsl:call-template>
+                    <xsl:message>#331 offsetY.maxY STD to read var from :data.x.value.bounds</xsl:message>
                 </xsl:when>
                 <xsl:otherwise>
+                    <xsl:message terminate="yes">#38 not opposited offsetY.maxY to X - otherwise</xsl:message>
                     <xsl:value-of select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements"/>
                 </xsl:otherwise>
             </xsl:choose>
@@ -323,32 +341,36 @@
         <xsl:variable name="system_cache__dita__x3A__svg:offsetX.maxX">
             <xsl:choose>
                 
-                <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal and $system_cache__dita__x3A__svg:data.x.value.bounds">
+                <!--<xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal and $system_cache__dita__x3A__svg:data.x.value.bounds">
                     <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
                         <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
                     </xsl:call-template>
-                </xsl:when>
+                </xsl:when>-->
                 <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
                     <xsl:value-of select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements"/>
+                    <xsl:message>#349 offsetX.maxX OVVERR by $system_cache__dita__x3A__svg:y.max.relation_DateRangeElements = [<xsl:value-of select="$system_cache__dita__x3A__svg:y.max.relation_DateRangeElements"/>]</xsl:message>
                 </xsl:when>
                 <xsl:otherwise>
                     <xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>
+                    <xsl:message>#362 STD offsetX.maxX to x1.max.leadingTimeDate=[<xsl:value-of select="$system_cache__dita__x3A__svg:x1.max.leadingTimeDate"/>]</xsl:message>
                 </xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
       
         <xsl:variable name="system_cache__dita__x3A__svg:offsetX.minX">
             <xsl:choose>
-                <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal and $system_cache__dita__x3A__svg:data.x.value.bounds">
+                <!--<xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal and $system_cache__dita__x3A__svg:data.x.value.bounds">
                     <xsl:call-template name="system_cache__dita__x3A__svg:bounds.x.min__x3A__read">
                         <xsl:with-param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" select="$system_cache__dita__x3A__svg:data.x.value.bounds"/>
                     </xsl:call-template>
-                </xsl:when>
+                </xsl:when>-->
                 <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
                     <xsl:value-of select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>
+                    <xsl:message>#367 offsetX.minX OVVERR by $system_cache__dita__x3A__svg:y.min.relation_DateRangeElements = [<xsl:value-of select="$system_cache__dita__x3A__svg:y.min.relation_DateRangeElements"/>]</xsl:message>
                 </xsl:when>
                 <xsl:otherwise>
                     <xsl:value-of select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>
+                    <xsl:message>#367 STD offsetX.maxX to min.leadingTimeDate=[<xsl:value-of select="$system_cache__dita__x3A__svg:x1.min.leadingTimeDate"/>]</xsl:message>
                 </xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
@@ -412,10 +434,10 @@
             <xsl:attribute name="system_cache__dita__x3A__svg:x1.spacing" select="$system_cache__dita__x3A__svg:x1.spacing"/>
             -->
                     
-                    <xsl:attribute name="system_cache__dita__x3A__svg:range.x1" select="$system_cache__dita__x3A__svg:range.x1"/>
+                    <!--<xsl:attribute name="system_cache__dita__x3A__svg:range.x1" select="$system_cache__dita__x3A__svg:range.x1"/>-->
                     
                     
-                    <xsl:attribute name="system_cache__dita__x3A__svg:range.y" select="$system_cache__dita__x3A__svg:range.y"/>
+                    <!--<xsl:attribute name="system_cache__dita__x3A__svg:range.y" select="$system_cache__dita__x3A__svg:range.y"/>-->
                     
                     <DEBUG107>
                     <xsl:copy-of select="."/>
@@ -438,13 +460,16 @@
                 $system_cache__dita__x3A__svg:data.x2.bounds.max.length <xsl:value-of select="$system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
                 
                 system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate == ($system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate) <xsl:value-of select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
-            
+                
+                T $system_cache__dita__x3A__svg:offsetX.maxX = <xsl:value-of select="$system_cache__dita__x3A__svg:offsetX.maxX"/>
+                T $system_cache__dita__x3A__svg:offsetY.maxY = <xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.maxY"/>
             
             </xsl:comment>
         
         
         <xsl:choose>
             <xsl:when test="number($system_cache__dita__x3A__svg:offsetX.maxX) and number($system_cache__dita__x3A__svg:offsetY.maxY)">
+                <xsl:message>#462 OK is number($system_cache__dita__x3A__svg:offsetX.maxX) and number($system_cache__dita__x3A__svg:offsetY.maxY)</xsl:message>
                 <svg:g system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.x51a"  >
                     
                     <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds">
@@ -461,7 +486,7 @@
                         
                     </xsl:call-template>
                     
-                    <xsl:variable name="system_cache__dita__x3A__svg:openHiLoClose__x3A__plot">
+                   <!-- <xsl:variable name="system_cache__dita__x3A__svg:openHiLoClose__x3A__plot">-->
                         <xsl:apply-templates mode="#current">
                             <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="$system_cache__dita__x3A__svg:cursor"/>
                             <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
@@ -507,9 +532,9 @@
                             <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$system_cache__dita__x3A__svg:offsetY.maxY"/>
                             <xsl:with-param name="system_cache__dita__x3A__svg:x1.count.leadingTimeDate" select="$system_cache__dita__x3A__svg:x1.count.leadingTimeDate"/>
                         </xsl:apply-templates>
-                    </xsl:variable>
-                    
+                    <!--</xsl:variable>-->
                     
+                   <!-- 
                     <xsl:comment>
                         #513 call system_cache__dita__x3A__svg:transform.translate.text__x3A__collision__x3A__eliminate__x3A__sort
                     </xsl:comment>
@@ -517,14 +542,14 @@
                             <xsl:with-param name="system_cache__dita__x3A__svg:plot" select="$system_cache__dita__x3A__svg:openHiLoClose__x3A__plot"/>
                         </xsl:call-template>
                     
-                    <!--<xsl:copy-of select="$system_cache__dita__x3A__svg:openHiLoClose__x3A__plot"/>-->
+                    <xsl:copy-of select="$system_cache__dita__x3A__svg:openHiLoClose__x3A__plot"/>
                     
                     <xsl:variable name="system_cache__dita__x3A__svg:transform.translate.sibling__x3A__range__x3A__associate">
                         <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.sibling__x3A__range__x3A__associate.root">
                             <xsl:with-param name="system_cache__dita__x3A__svg:plot" select="$system_cache__dita__x3A__svg:openHiLoClose__x3A__plot"/>
                         </xsl:call-template>
                     </xsl:variable>
-                    <!--<xsl:copy-of select="$system_cache__dita__x3A__svg:transform.translate.sibling__x3A__range__x3A__associate"></xsl:copy-of>-->
+                    <!-\-<xsl:copy-of select="$system_cache__dita__x3A__svg:transform.translate.sibling__x3A__range__x3A__associate"></xsl:copy-of>-\->
                     <xsl:apply-templates mode="system_cache__dita__x3A__svg:transform.translate.sibling__x3A__range__x3A__associate.position__x3A__candidate__x3A__plot" select="$system_cache__dita__x3A__svg:transform.translate.sibling__x3A__range__x3A__associate">
                         <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" tunnel="yes"/>
                         <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" tunnel="yes"/>
@@ -536,10 +561,14 @@
                         
                         <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.minY" select="$system_cache__dita__x3A__svg:offsetY.minY" tunnel="yes"/>
                         <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$system_cache__dita__x3A__svg:offsetY.maxY" tunnel="yes"/>
-                    </xsl:apply-templates>
+                    </xsl:apply-templates>-->
                     
                 </svg:g>
             </xsl:when>
+            <xsl:otherwise>
+                <xsl:message>#544 NOT EXPECTED number($system_cache__dita__x3A__svg:offsetX.maxX[<xsl:value-of select="$system_cache__dita__x3A__svg:offsetX.maxX"/>]) 
+                    and number($system_cache__dita__x3A__svg:offsetY.maxY[<xsl:value-of select="$system_cache__dita__x3A__svg:offsetY.maxY"/>])</xsl:message>
+            </xsl:otherwise>
         </xsl:choose>
                 
         
@@ -641,8 +670,24 @@
         
     </xsl:template>
     
+    <!-- ALL DEFAULT TODO  --><!-- ALL DEFAULT TODO  --><!-- ALL DEFAULT TODO  --><!-- ALL DEFAULT TODO  -->
+    
+    
+    
+    
+    
+    <!-- ALL DEFAULT TODO  --><!-- ALL DEFAULT TODO  --><!-- ALL DEFAULT TODO  --><!-- ALL DEFAULT TODO  -->
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:relation_DateRangeElements[@system_cache__dita__x3A__svg:data.position]">
+        <xsl:message>#670 FORGET TO PLACE COUNTING ATTRIUBUTE @system_cache__dita__x3A__svg:data.position</xsl:message>
+    </xsl:template>
+  
+  
+  
+    
+  
   
-    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:leadingTimeDate[not(count(relation_DateRangeElements) &gt;1)  and @system_cache__dita__x3A__svg:data.position and relation_DateRangeElements[@system_cache__dita__x3A__svg:data.y1.value]]">
+    <xsl:template mode="system_cache__dita__x3A__svg:openHiLoClose" match="system_cache__dita__x3A__svg:leadingTimeDate[not(count(relation_DateRangeElements) &gt;1)  and @system_cache__dita__x3A__svg:data.position and relation_DateRangeElements[@system_cache__dita__x3A__svg:data.y1.value]]|system_cache__dita__x3A__svg:relation_DateRangeElements[@system_cache__dita__x3A__svg:data.position]">
         <xsl:param name="system_cache__dita__x3A__svg:labelMajor" tunnel="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal" tunnel="yes"/>
@@ -740,7 +785,11 @@
         <xsl:variable name="x1Value">
             <xsl:choose>
                 <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
-                    <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"/>
+                    <!--<xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"/>-->
+                    <xsl:call-template name="system_cache__dita__x3A__svg:dataY__x3A__read">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:data.y.value" select="$system_cache__dita__x3A__svg:data.y1.value"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:data.y.name" select="$system_cache__dita__x3A__svg:data.y1.name"/>
+                    </xsl:call-template>
                 </xsl:when>
                 <xsl:otherwise>
                     <xsl:value-of select="@system_cache__dita__x3A__svg:data.position"/>
@@ -751,21 +800,34 @@
         <xsl:variable name="x2Value">
             <xsl:choose>
                 <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
-                    <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:dataY__x3A__read">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:data.y.name" select="$system_cache__dita__x3A__svg:data.y2.name"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:data.y.value" select="$system_cache__dita__x3A__svg:data.y2.value"/>
+                    </xsl:call-template>
+                    <xsl:message> #810-A $x2Value forced horizontal to y2</xsl:message>
+                    <!--<xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>-->
                 </xsl:when>
                 <xsl:otherwise>
                     <xsl:value-of select="@system_cache__dita__x3A__svg:data.position"/>
+                    <xsl:message> #810-B $x2Value STD to @pos[<xsl:value-of select="@system_cache__dita__x3A__svg:data.position"/>]</xsl:message>
                 </xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
+        <xsl:message>#795 [$x2Value]==[<xsl:value-of select="$x2Value"/>]</xsl:message>
         
         <xsl:variable name="y1Value">
             <xsl:choose>
                 <xsl:when test="$system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal">
                     <xsl:value-of select="@system_cache__dita__x3A__svg:data.position"/>
+                    <xsl:message> #814-A $y1Value forced horizontal to @pos[<xsl:value-of select="@system_cache__dita__x3A__svg:data.position"/>]</xsl:message>
                 </xsl:when>
                 <xsl:otherwise>
-                    <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"/>
+                    <xsl:call-template name="system_cache__dita__x3A__svg:dataY__x3A__read">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:data.y.name" select="$system_cache__dita__x3A__svg:data.y1.name"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:data.y.value" select="$system_cache__dita__x3A__svg:data.y1.value"/>
+                    </xsl:call-template>
+                    <xsl:message> #814-B $y1Value NOT horizontal to  - STANDARD</xsl:message>
+                    <!--<xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y1.value"/>-->
                 </xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
@@ -781,6 +843,8 @@
                 </xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
+        <xsl:message>#850 $yValue.min [<xsl:value-of select="$yValue.min"/>]</xsl:message>
+        
         
         <xsl:variable name="yValue.max">
             <xsl:choose>
@@ -792,6 +856,8 @@
                 </xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
+        <xsl:message>#860 $yValue.max [<xsl:value-of select="$yValue.max"/>]</xsl:message>
+        
         
         <xsl:variable name="y2Value">
             <xsl:choose>
@@ -799,15 +865,20 @@
                     <xsl:value-of select="@system_cache__dita__x3A__svg:data.position"/>
                 </xsl:when>
                 <xsl:otherwise>
-                    <xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>
+                    <!--<xsl:value-of select="relation_DateRangeElements/@system_cache__dita__x3A__svg:data.y2.value"/>-->
+                    <xsl:call-template name="system_cache__dita__x3A__svg:dataY__x3A__read">
+                        <xsl:with-param name="system_cache__dita__x3A__svg:data.y.value" select="$system_cache__dita__x3A__svg:data.y2.value"/>
+                        <xsl:with-param name="system_cache__dita__x3A__svg:data.y.name"  select="$system_cache__dita__x3A__svg:data.y2.name"/>
+                    </xsl:call-template>
                 </xsl:otherwise>
             </xsl:choose>
         </xsl:variable>
+        <xsl:message>#862 $y2Value [<xsl:value-of select="$y2Value"/>]</xsl:message>
         
         
         <xsl:comment>#openHiLoClose.229 matched/n<xsl:value-of select="name()"/>
-            $system_cache__dita__x3A__svg:openHiLoCloseXaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseXaxis"/> ;
-            $system_cache__dita__x3A__svg:openHiLoCloseYaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseYaxis"/> ;
+            $system_cache__dita__x3A__svg:openHiLoCloseXaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseXaxis"/> ;[tysowanie osi]
+            $system_cache__dita__x3A__svg:openHiLoCloseYaxis = <xsl:value-of select="$system_cache__dita__x3A__svg:openHiLoCloseYaxis"/> ;[tysowanie osi]
             $xScale = <xsl:value-of select="$xScale"/> ; yScale = <xsl:value-of select="$yScale"/>
             
         </xsl:comment>
@@ -847,10 +918,34 @@
         </xsl:copy>-->
         
         <xsl:choose>
-            <xsl:when test="not(number($system_cache__dita__x3A__svg:offsetX.minX))">
+            <xsl:when test="not(number($system_cache__dita__x3A__svg:offsetY.minY)) and not($system_cache__dita__x3A__svg:offsetY.minY=0)">
+                <xsl:comment>#750 ERROR not(number($system_cache__dita__x3A__svg:offsetY.minY))</xsl:comment>
+                <xsl:message>#750 ERROR not(number($system_cache__dita__x3A__svg:offsetY.minY))</xsl:message>
+            </xsl:when>
+            <xsl:when test="not(number($system_cache__dita__x3A__svg:offsetY.maxY)) and not($system_cache__dita__x3A__svg:offsetY.maxY=0)">
+                <xsl:comment>#750 ERROR not(number($system_cache__dita__x3A__svg:offsetY.maxY))</xsl:comment>
+                <xsl:message>#750 ERROR not(number($system_cache__dita__x3A__svg:offsetY.maxY))</xsl:message>
+            </xsl:when>
+            <xsl:when test="not(number($system_cache__dita__x3A__svg:offsetX.maxX)) and not($system_cache__dita__x3A__svg:offsetX.maxX=0)">
+                <xsl:comment>#791 ERROR not(number($system_cache__dita__x3A__svg:offsetX.maxX))</xsl:comment>
+                <xsl:message>#791 ERROR not(number($system_cache__dita__x3A__svg:offsetX.maxX))</xsl:message>
+            </xsl:when>
+            <xsl:when test="not(number($system_cache__dita__x3A__svg:offsetX.minX)) and not($system_cache__dita__x3A__svg:offsetX.minX=0)">
                 <xsl:comment>#791 ERROR not(number($system_cache__dita__x3A__svg:offsetX.minX))</xsl:comment>
                 <xsl:message>#791 ERROR not(number($system_cache__dita__x3A__svg:offsetX.minX))</xsl:message>
             </xsl:when>
+            <xsl:when test="not(number($y1Value))">
+                <xsl:comment>#790 ERROR not(number($y1Value))</xsl:comment>
+                <xsl:message>#790 ERROR not(number($y1Value))</xsl:message>
+            </xsl:when>
+            <xsl:when test="not(number($y2Value))">
+                <xsl:comment>#793 ERROR not(number($y2Value))</xsl:comment>
+                <xsl:message>#793 ERROR not(number($y2Value))</xsl:message>
+            </xsl:when>
+            <xsl:when test="not(number($x1Value))">
+                <xsl:comment>#791A ERROR not(number($x1Value))</xsl:comment>
+                <xsl:message>#791A ERROR not(number($x1Value))</xsl:message>
+            </xsl:when>
             <xsl:when test="not(number($x2Value))">
                 <xsl:comment>#795 ERROR not(number($x2Value))</xsl:comment>
                 <xsl:message>#795 ERROR not(number($x2Value))</xsl:message>
@@ -978,6 +1073,7 @@
                 </xsl:call-template>
             </xsl:when>
             <xsl:otherwise>
+                <xsl:message>#1016 OK otherwise - bouds collisikon </xsl:message>
                 <xsl:variable name="system_cache__dita__x3A__svg:x__x3A__read__x3A__preceding__x3A__translate.bounds__x3A__collision">
                     <xsl:call-template name="system_cache__dita__x3A__svg:x__x3A__read__x3A__preceding__x3A__translate.bounds__x3A__collision">
                         <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name.value" select="$system_cache__dita__x3A__svg:data.x.name.value"/>
@@ -1007,7 +1103,13 @@
                     </xsl:call-template>
                 </xsl:variable>
                 
-                <svg:line   system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.74_896 {@*/relation_DateRangeElements/name()} $system_cache__dita__x3A__svg:x1.count.leadingTimeDate={$system_cache__dita__x3A__svg:x1.count.leadingTimeDate} $system_cache__dita__x3A__svg:data.x2.bounds.max.length={$system_cache__dita__x3A__svg:data.x2.bounds.max.length} $xScale={$xScale}">
+                <svg:line   system_cache__dita__x3A__svg:debug="svgu:openHiLoClose.74_896X {@*/relation_DateRangeElements/name()} $system_cache__dita__x3A__svg:x1.count.leadingTimeDate={$system_cache__dita__x3A__svg:x1.count.leadingTimeDate}
+                    $system_cache__dita__x3A__svg:data.x2.bounds.max.length={$system_cache__dita__x3A__svg:data.x2.bounds.max.length} 
+                    $xScale={$xScale} $yScale={$yScale} offsetX.minX={$system_cache__dita__x3A__svg:offsetX.minX} offsetX.maxX={$system_cache__dita__x3A__svg:offsetX.maxX}
+                    offsetY.minY={$system_cache__dita__x3A__svg:offsetY.minY} offsetY.maxY={$system_cache__dita__x3A__svg:offsetY.maxY}
+                    "
+                    
+                    >
                     
                     <!--id="{$context}_highLow_{$pos}"-->
                     <!--x1="{$spacing * $pos}"-->
@@ -1063,8 +1165,30 @@
                             <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>-->
                         </xsl:call-template>
                     </xsl:attribute>      
-                    <!--<xsl:attribute name="transform.validate.y.1.{$y1Value}">
-                        <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug"><!-\- system_cache__dita__x3A__svg:transform.translate.bounds__x3A__height__x3A__limit__x3A__validate -\->
+                    <xsl:attribute name="transform.validate.y.1.{$y1Value}">
+                        <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug"><!-- system_cache__dita__x3A__svg:transform.translate.bounds__x3A__height__x3A__limit__x3A__validate -->
+                            <xsl:with-param name="yValue" select="$y1Value"/>
+                            <xsl:with-param name="xValue" select="$x1Value"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug.y" select="true()"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug.write" select="true()"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.minX" select="$system_cache__dita__x3A__svg:offsetX.minX"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetX.maxX" select="$system_cache__dita__x3A__svg:offsetX.maxX"/>
+                            
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
+                            
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
+                            
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.minY" select="$system_cache__dita__x3A__svg:offsetY.minY"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:offsetY.maxY" select="$system_cache__dita__x3A__svg:offsetY.maxY"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
+                            
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="$system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
+                            <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
+                        </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:attribute name="transform.validate.x.1.{$y1Value}">
+                        <xsl:call-template name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug"><!-- system_cache__dita__x3A__svg:transform.translate.bounds__x3A__height__x3A__limit__x3A__validate -->
                             <xsl:with-param name="yValue" select="$y1Value"/>
                             <xsl:with-param name="xValue" select="$x1Value"/>
                             <xsl:with-param name="system_cache__dita__x3A__svg:transform.translate.bounds__x3A__debug.x" select="true()"/>
@@ -1085,7 +1209,7 @@
                             <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="$system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
                         </xsl:call-template>
                         
-                    </xsl:attribute>-->
+                    </xsl:attribute>
                     <xsl:copy-of select="$system_cache__dita__x3A__svg:x__x3A__read__x3A__preceding__x3A__translate.bounds__x3A__collision"/>
                     
                     

+ 1 - 1
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.cursor.region.plot.xsl

@@ -236,7 +236,7 @@
         <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.id" tunnel="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.region.position" tunnel="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:data__x3A__assign" required="yes" tunnel="yes"/>
-        
+        <xsl:message>#40-mode-B system_cache__dita__x3A__svg:cursor.region.plot</xsl:message>
         <xsl:comment>#40-mode-B system_cache__dita__x3A__svg:cursor.region.plot
             [<xsl:value-of select="parent::*/parent::*/name()"/>]
             [<xsl:value-of select="parent::*/name()"/>]

+ 4 - 0
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.data.xsl

@@ -415,6 +415,10 @@
     </xsl:template>
     
     <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="@*"/>
+    
+    <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="@*[.='text()']">
+        <xsl:attribute name="{name()}" select="../text()"/>
+    </xsl:template>
         
     
     <xsl:template mode="system_cache__dita__x3A__svg:data__x3A__assign" match="@leadingTimeDate-From">

+ 23 - 16
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.data__x3A__read.xsl

@@ -48,11 +48,17 @@
         <xsl:value-of select="count(root()/descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.x.name] = $system_cache__dita__x3A__svg:data.x.name.value ])"/>
     </xsl:template>
     
+    <xsl:template name="system_cache__dita__x3A__svg:x.data.position__x3A__read">
+        <xsl:param name="system_cache__dita__x3A__svg:data.x.name.value" required="yes"/>
+        <!--<xsl:param name="system_cache__dita__x3A__svg:data.x.name" required="yes"/>-->
+        <xsl:value-of select="count(preceding-sibling::*[ @*[ . = $system_cache__dita__x3A__svg:data.x.name.value ]])"/>
+    </xsl:template>
+    
     <xsl:template name="system_cache__dita__x3A__svg:x.min__x3A__read">
         <xsl:param name="system_cache__dita__x3A__svg:data.x.name.value" required="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:data.x.name" required="yes" />
         <xsl:param name="system_cache__dita__x3A__svg:data.x.value" required="yes"/>
-        <xsl:value-of select="min(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.x.name  and . = $system_cache__dita__x3A__svg:data.x.name.value] ]/@*[ name() = $system_cache__dita__x3A__svg:data.x.value ])"/>
+        <xsl:value-of select="min(descendant-or-self::*[ @*[. = $system_cache__dita__x3A__svg:data.x.name.value] ]//@*[ name() = $system_cache__dita__x3A__svg:data.x.value ])"/><!-- name() = $system_cache__dita__x3A__svg:data.x.name  and  -->
     </xsl:template>
     
     
@@ -60,15 +66,15 @@
         <xsl:param name="system_cache__dita__x3A__svg:data.y.value" required="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:data.y.name" required="yes" />
         
-        <xsl:value-of select="min(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y.name  ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.y.value and not(.='') ])"/>
+        <xsl:value-of select="min(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y.name  ] ]//@*[ name() = $system_cache__dita__x3A__svg:data.y.value and not(.='') ])"/>
     </xsl:template>
     
     
     <xsl:template name="system_cache__dita__x3A__svg:y.max__x3A__read">
         <xsl:param name="system_cache__dita__x3A__svg:data.y.value" required="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:data.y.name" required="yes" />
-        <xsl:value-of select="max(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y.name  ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.y.value and not(.='') ])"/>
-        <xsl:if test="descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y.name  ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.y.value and .='' ]">
+        <xsl:value-of select="max(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y.name  ] ]//@*[ name() = $system_cache__dita__x3A__svg:data.y.value and not(.='') ])"/>
+        <xsl:if test="descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y.name  ] ]//@*[ name() = $system_cache__dita__x3A__svg:data.y.value and .='' ]">
             <xsl:message>#65 ERROR WITH $system_cache__dita__x3A__svg:data.y.name=
                 =<xsl:value-of select="$system_cache__dita__x3A__svg:data.y.name"/>; 
                 system_cache__dita__x3A__svg:data.y.value=<xsl:value-of select="$system_cache__dita__x3A__svg:data.y.value"/></xsl:message>
@@ -78,35 +84,36 @@
     
     <xsl:template name="system_cache__dita__x3A__svg:bounds.x.min__x3A__read">
         <xsl:param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" required="yes"/><!-- 'leadingTimeYear-month.bounds.X' -->
-        <xsl:variable name="system_cache__dita__x3A__svg:data.x.name.value" select="$system_cache__dita__x3A__svg:data.x.bounds.name.value"/><!-- system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/>-->
-        <xsl:variable name="system_cache__dita__x3A__svg:data.x.name" select="concat('system_cache__dita__x3A__svg:data.x.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.data.name')" /><!-- system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/> -->
-        <xsl:variable name="system_cache__dita__x3A__svg:data.y.name" select="concat('system_cache__dita__x3A__svg:data.y.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.data.name')" /><!--system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/> -->
-        <xsl:variable name="system_cache__dita__x3A__svg:data.x.value" select="concat('system_cache__dita__x3A__svg:data.x.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.value')"/><!--system_cache__dita__x3A__svg:data.x.leadingTimeYear-month.bounds.X.value="733100"-->
-        <xsl:value-of select="min(root()/descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y.name and . = $system_cache__dita__x3A__svg:data.x.name.value ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.x.value ])"/>
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:data.x.name.value" select="$system_cache__dita__x3A__svg:data.x.bounds.name.value"/>--><!-- system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/>-->
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:data.x.name" select="concat('system_cache__dita__x3A__svg:data.x.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.data.name')" />--><!-- system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/> -->
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:data.y.name" select="concat('system_cache__dita__x3A__svg:data.y.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.data.name')" />--><!--system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/> -->
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:data.x.value" select="concat('system_cache__dita__x3A__svg:data.x.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.value')"/>--><!--system_cache__dita__x3A__svg:data.x.leadingTimeYear-month.bounds.X.value="733100"-->
+        <!--<xsl:value-of select="min(root()/descendant-or-self::*[ @*[ . = $system_cache__dita__x3A__svg:data.x.bounds.name.value ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.x.bounds.name.value ])"/>-->
+        <xsl:value-of select="min(root()/descendant-or-self::*[ @*[ name() = $system_cache__dita__x3A__svg:data.x.bounds.name.value ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.x.bounds.name.value ])"/>
     </xsl:template>
     
     
     <xsl:template name="system_cache__dita__x3A__svg:bounds.x.max__x3A__read">
         <xsl:param name="system_cache__dita__x3A__svg:data.x.bounds.name.value" required="yes"/><!-- 'leadingTimeYear-month.bounds.X' -->
-        <xsl:variable name="system_cache__dita__x3A__svg:data.x.name.value" select="$system_cache__dita__x3A__svg:data.x.bounds.name.value"/><!-- system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/>-->
-        <xsl:variable name="system_cache__dita__x3A__svg:data.x.name" select="concat('system_cache__dita__x3A__svg:data.x.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.data.name')" /><!-- system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/> -->
-        <xsl:variable name="system_cache__dita__x3A__svg:data.y.name" select="concat('system_cache__dita__x3A__svg:data.y.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.data.name')" /><!--system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/> -->
-        <xsl:variable name="system_cache__dita__x3A__svg:data.x.value" select="concat('system_cache__dita__x3A__svg:data.x.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.value')"/><!--system_cache__dita__x3A__svg:data.x.leadingTimeYear-month.bounds.X.value="733100"-->
-        <xsl:value-of select="max(root()/descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.y.name and . = $system_cache__dita__x3A__svg:data.x.name.value ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.x.value ])"/>
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:data.x.name.value" select="$system_cache__dita__x3A__svg:data.x.bounds.name.value"/>--><!-- system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/>-->
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:data.x.name" select="concat('system_cache__dita__x3A__svg:data.x.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.data.name')" />--><!-- system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/> -->
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:data.y.name" select="concat('system_cache__dita__x3A__svg:data.y.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.data.name')" />--><!--system_cache__dita__x3A__svg:data.y.leadingTimeYear-month.bounds.X.data.name="leadingTimeYear-month.bounds.X"/> -->
+        <!--<xsl:variable name="system_cache__dita__x3A__svg:data.x.value" select="concat('system_cache__dita__x3A__svg:data.x.',$system_cache__dita__x3A__svg:data.x.bounds.name.value,'.value')"/>--><!--system_cache__dita__x3A__svg:data.x.leadingTimeYear-month.bounds.X.value="733100"-->
+        <xsl:value-of select="max(root()/descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.x.bounds.name.value ] ]/@*[ name() = $system_cache__dita__x3A__svg:data.x.bounds.name.value ])"/>
     </xsl:template>
     
     <xsl:template name="system_cache__dita__x3A__svg:x.max__x3A__read">
         <xsl:param name="system_cache__dita__x3A__svg:data.x.name.value" required="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:data.x.name" required="yes" />
         <xsl:param name="system_cache__dita__x3A__svg:data.x.value" required="yes"/>
-        <xsl:value-of select="max(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.x.name] = $system_cache__dita__x3A__svg:data.x.name.value ]/@*[ name() = $system_cache__dita__x3A__svg:data.x.value ])"/>
+        <xsl:value-of select="max(descendant-or-self::*[ @*[name() = $system_cache__dita__x3A__svg:data.x.name] = $system_cache__dita__x3A__svg:data.x.name.value ]//@*[ name() = $system_cache__dita__x3A__svg:data.x.value and number(.) and not(.='') ])"/>
     </xsl:template>
     
     <xsl:template name="system_cache__dita__x3A__svg:x__x3A__read">
         <xsl:param name="system_cache__dita__x3A__svg:data.x.name.value" required="yes"/>
         <xsl:param name="system_cache__dita__x3A__svg:data.x.name" required="yes" />
         <xsl:param name="system_cache__dita__x3A__svg:data.x.value" required="yes"/>
-        <xsl:value-of select=".[ @*[name() = $system_cache__dita__x3A__svg:data.x.name] = $system_cache__dita__x3A__svg:data.x.name.value ]/@*[ name() = $system_cache__dita__x3A__svg:data.x.value ]"/>
+        <xsl:value-of select=".[ @*[. = $system_cache__dita__x3A__svg:data.x.name.value ]//@*[ name() = $system_cache__dita__x3A__svg:data.x.value ]]"/>
     </xsl:template>
     
     

BIN
SE/schema/default_db_xml_cache.public/default_db/system_cache__dita__x3A__svg/system_cache__dita__x3A__svg.utils.resolution.numbers


+ 5 - 1
SE/schema/default_db_xml_cache.public/default_db/tree_to_dita.xsl

@@ -248,7 +248,7 @@
     <xsl:template mode="postprocess_root_IN7_MK_BAZA_DYSTRYBUCJI" match="*"/>
     
     <xsl:template match="RelatedFeatureRoot|get_wfs_recurse_xsl.RelatedFeatureRoot:RelatedFeatureRoot">
-        <xsl:comment>#29 match RelatedFeatureRoot - mode default - now going mode ditamap_root; 
+        <xsl:comment>#29B match RelatedFeatureRoot - mode default - now going mode ditamap_root; 
                 next match name=<xsl:value-of select="*/name()"/>;
         </xsl:comment>
         <xsl:apply-templates mode="ditamap_root"/>
@@ -267,6 +267,7 @@
             <xsl:copy-of select="@*" copy-namespaces="no"/>
             <xsl:copy-of select="title" copy-namespaces="no"/>
             <xsl:apply-templates mode="ditamap_root.embedded_map" />
+            <xsl:comment>#196 in mode="ditamap_root" digging! matched/n:<xsl:value-of select="name()"/> </xsl:comment>
             <xsl:message>#196 in mode="ditamap_root" digging! </xsl:message>
             <!--<debug197><xsl:copy-of select="."/></debug197>-->
             <!--<xsl:variable name="Benford:ditamap_root.embedded_map">
@@ -853,6 +854,9 @@
     
     <xsl:template match="*" mode="system_cache__dita:xref.topic.result-document">
         <topicref href="{@id}.dita">
+            <xsl:message>#584 mode system_cache__dita:xref.topic.result-document - res to @id==[<xsl:value-of select="@id"/>]
+                        n/[<xsl:value-of select="name()"/>] ; 
+            </xsl:message>
             <xsl:result-document href="{system_cache__dita:xref_result-document(@id)}">
                 <xsl:element name="{name()}">
                     <xsl:apply-templates select="@*" mode="system_cache__dita:xref.topic.result-document"/>

+ 17 - 2
se.oxygen.xpr

@@ -2002,7 +2002,7 @@
                         <scenarioAssociation-array>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/recurse_ant/2019-10-18-03_29_0395b503/2019-10-18-03_29_0395b503.out_task.dita.final_with_RelatedFeatureLoop.xml</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/2019-10-18-04_32_32e06687/GRAFIK_PRACY_view.dita</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
@@ -2017,7 +2017,7 @@
                             </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
-                                    <String>SE/schema/WPS_Functions/default_db/recurse_ant/out/2019-10-18-03_29_0395b503.out_task.dita.final_with_RelatedFeatureLoop.xml</String>
+                                    <String>../../../../opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/recurse_ant/2019-10-18-03_29_0395b503/2019-10-18-03_29_0395b503.out_task.dita.final_with_RelatedFeatureLoop.xml</String>
                                 </field>
                                 <field name="scenarioIds">
                                     <list>
@@ -2045,6 +2045,21 @@
                                     </list>
                                 </field>
                             </scenarioAssociation>
+                            <scenarioAssociation>
+                                <field name="url">
+                                    <String>SE/schema/WPS_Functions/default_db/recurse_ant/out/2019-10-18-03_29_0395b503.out_task.dita.final_with_RelatedFeatureLoop.xml</String>
+                                </field>
+                                <field name="scenarioIds">
+                                    <list>
+                                        <String>DITA Map PDF - based on XSL-FO - Copy</String>
+                                    </list>
+                                </field>
+                                <field name="scenarioTypes">
+                                    <list>
+                                        <String>DITAMAP</String>
+                                    </list>
+                                </field>
+                            </scenarioAssociation>
                             <scenarioAssociation>
                                 <field name="url">
                                     <String>SE/schema/WPS_Functions/default_db/recurse_ant/out/2019-10-17-22_39_07ab223e.out_task.dita.final_with_RelatedFeatureLoop.xml</String>