Re: global and local variable

I have several other questions :

1- if i have a multi page result (composed by a table) how to make go the
border of the designed table-row on the second page until the beginning of
the footer....
2- i'm not able to make the table in the footer centered..... it's align on
the right only... why??
3- for the marker i will test again....

example of my page master

<fo:layout-master-set>
<fo:simple-page-master master-name="spm1" page-height="841.9pt"
page-width="595.3pt">
<fo:region-body column-count="1" margin-bottom="100pt" margin-left="42.55pt"
margin-right="42.55pt" margin-top="42.55pt" region-name="region-body"/>
<fo:region-before extent="2cm" overflow="visible" padding-before="36pt"
padding-left="90.0pt" padding-right="45.0pt" precedence="true"
region-name="header"/>
<fo:region-after extent="2cm" overflow="visible" margin-bottom="42.55pt"
margin-left="42.55pt" margin-right="42.55pt" margin-top="42.55pt"
padding-after="36pt" padding-left="90.0pt" padding-right="45.0pt"
precedence="true" region-name="footer"/>
<fo:region-start extent="80pt" padding-left="20pt" region-name="regstart"/>
<fo:region-end extent="80pt" padding-left="20pt" region-name="regend"/>
</fo:simple-page-master>

my chapter content

<!-- Chapter 3 : Content -->
 <fo:page-sequence master-reference="spm1" initial-page-number="1">
  <fo:static-content flow-name="footer">
    <fo:block>
     <fo:table>
      <fo:table-column column-width="59.1pt"/>
      <fo:table-column column-width="90.3pt"/>
      <fo:table-column column-width="241.25pt"/>
      <fo:table-column column-width="48.75pt"/>
      <fo:table-column column-width="77.7pt"/>
      <fo:table-body>
       <fo:table-row height="16.5pt">
        <fo:table-cell background-color="#C0C0C0"
border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.5pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black" border-top-style="solid"
border-top-width="0.5pt" display-align="center" number-columns-spanned="5"
padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="black"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="bold" keep-with-next="always" orphans="2"
text-align="center" text-decoration="none" vertical-align="baseline"
widows="2">
          <fo:leader line-height="10pt"/>
         </fo:block>
        </fo:table-cell>
       </fo:table-row>
       <fo:table-row height="15.0pt">
        <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.5pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="black"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="bold" keep-with-next="always" orphans="2"
text-align="start" text-decoration="none" vertical-align="baseline"
widows="2">Project</fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.5pt" border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="#0000FF"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="normal" orphans="2" text-align="start"
text-decoration="none" vertical-align="baseline"
widows="2">&lt;PROJECT_ID&gt;</fo:block>
        </fo:table-cell>
        <fo:table-cell border-color="black" border-style="solid"
border-width="0.5pt" display-align="center" number-rows-spanned="2"
padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="black"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="normal" orphans="2" text-align="start"
text-decoration="none" vertical-align="baseline" widows="2">
          <fo:leader line-height="10pt"/>
         </fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.5pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.5pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="black"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="bold" keep-with-next="always" orphans="2"
text-align="start" text-decoration="none" vertical-align="baseline"
widows="2">Cha,ter</fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.5pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="black"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="normal" orphans="2" text-align="start"
text-decoration="none" vertical-align="baseline"
widows="2">CONTENTS</fo:block>
        </fo:table-cell>
       </fo:table-row>
       <fo:table-row height="15.0pt">
        <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="1.0pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.5pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.5pt"
display-align="center" padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="black"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="bold" orphans="2" text-align="start"
text-decoration="none" vertical-align="baseline" widows="2">Issue /
Date</fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="1.0pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.5pt" border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.5pt"
display-align="center" padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="#0000FF"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="normal" orphans="2" text-align="start"
text-decoration="none" vertical-align="baseline" widows="2">&lt;ISSUE&gt;
&lt;DATE&gt;</fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="1.0pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.5pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.5pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.5pt"
display-align="center" padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="black"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="bold" orphans="2" text-align="start"
text-decoration="none" vertical-align="baseline" widows="2">Page</fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="1.0pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.5pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.5pt"
display-align="center" padding-left="1.4pt" padding-right="1.4pt">
         <fo:block background-color="white" color="#FF0000"
font-family="Arial, Helvetica" font-size="10.0pt" font-style="normal"
font-variant="normal" font-weight="normal" orphans="2" text-align="start"
text-decoration="none" text-transform="uppercase" vertical-align="baseline"
widows="2">&lt;PAGE&gt;</fo:block>
        </fo:table-cell>
       </fo:table-row>
      </fo:table-body>
     </fo:table>
    </fo:block>
   </fo:static-content>
         <fo:flow flow-name="region-body">
         <xsl:apply-templates select="//CHAPTER3/IR_INSPECTION_OP"/>
         </fo:flow>
 </fo:page-sequence>


and the chapter process : 3 main blocks are defined and i would like that
the ATA_REF and the SECT appear in the footer too........
the ATA_REF and the SECT is only "find" in the first page "INSPECTION
block"....... and when INSPECTION is multi page it appears only in the first
page.......


<!-- Chapter 3 : content -->

<xsl:template match="CHAPTER3/IR_INSPECTION_OP">
 <xsl:variable name="ATA_REF">
  <xsl:value-of select="ATA_REF"/>
 </xsl:variable>
 <xsl:variable name="SECT">
  <xsl:value-of select="SECT"/>
 </xsl:variable>
 <fo:block break-after="page" background-color="white" color="black"
font-family="Times New Roman, Times" font-size="12.0pt" font-style="normal"
font-variant="normal" font-weight="normal" orphans="2" text-align="start"
text-decoration="none" text-indent="0pt" vertical-align="baseline"
white-space-collapse="false" widows="2">
  <fo:table>
   <fo:table-column column-width="34.9pt"/>
   <fo:table-column column-width="34.55pt"/>
   <fo:table-column column-width="15.3pt"/>
   <fo:table-column column-width="4.85pt"/>
   <fo:table-column column-width="21.25pt"/>
   <fo:table-column column-width="44.5pt"/>
   <fo:table-column column-width="4.1pt"/>
   <fo:table-column column-width="172.95pt"/>
   <fo:table-column column-width="47.45pt"/>
   <fo:table-column column-width="11.35pt"/>
   <fo:table-column column-width="32.3pt"/>
   <fo:table-column column-width="11.25pt"/>
   <fo:table-column column-width="80.9pt"/>
        <fo:table-header>
      <fo:table-row height="14.65pt">
       <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-style="none" border-top-color="black"
border-top-style="solid" border-top-width="1.0pt" display-align="center"
number-rows-spanned="2" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block font-family="Arial, Helvetica" font-size="10.0pt">
         <fo:external-graphic content-height="32pt" content-width="32pt"
height="32pt" src="images\pict1.jpeg" width="32pt"/>
        </fo:block>
       </fo:table-cell>
       <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-style="none" border-right-color="black"
border-right-style="solid" border-right-width="0.25pt"
border-top-color="black" border-top-style="solid" border-top-width="1.0pt"
display-align="center" number-columns-spanned="5" number-rows-spanned="2"
padding-left="2.85pt" padding-right="2.85pt">
        <fo:block font-family="Arial Black, Helvetica" font-size="10.0pt"
font-style="italic" text-align="center"
text-transform="uppercase">company</fo:block>
        <fo:block font-family="Arial, Helvetica" font-size="10.0pt"
font-style="italic" text-align="center" text-transform="uppercase">REPAIR
FILE</fo:block>
       </fo:table-cell>
       <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.25pt" border-right-color="black"
border-right-style="solid" border-right-width="0.25pt"
border-top-color="black" border-top-style="solid" border-top-width="1.0pt"
display-align="center" number-columns-spanned="4" number-rows-spanned="2"
padding-left="2.85pt" padding-right="2.85pt">
        <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="14.0pt" font-weight="bold" text-align="center"
text-transform="uppercase">&lt;CHAPTER_TITLE&gt;</fo:block>
       </fo:table-cell>
       <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.25pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.25pt"
border-top-color="black" border-top-style="solid" border-top-width="1.0pt"
display-align="center" number-columns-spanned="2" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-family="Arial, Helvetica" font-size="10.0pt"
font-weight="bold" keep-with-next="always">Type</fo:block>
       </fo:table-cell>
       <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.25pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="1.0pt"
display-align="center" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt" font-weight="bold">&lt;TYPE&gt;</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="14.6pt">
       <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.25pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.25pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
display-align="center" number-columns-spanned="2" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-family="Arial, Helvetica" font-size="10.0pt"
font-weight="bold">MSN</fo:block>
       </fo:table-cell>
       <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.25pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
display-align="center" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt" font-weight="bold">&lt;MSN&gt;</fo:block>
       </fo:table-cell>
      </fo:table-row>
        </fo:table-header>
   <fo:table-body>
    <fo:table-row height="7.35pt">
     <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block font-family="Arial, Helvetica" font-weight="bold"
keep-with-next="always" text-align="center">INSPECTION</fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="15.65pt">
     <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="0.25pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="3" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block font-family="Arial, Helvetica" font-size="10.0pt">Inspection
Type</fo:block>
     </fo:table-cell>
     <fo:table-cell background-color="#FFFFFF" border-color="black"
border-style="solid" border-width="0.25pt" display-align="center"
number-columns-spanned="5" padding-left="2.85pt" padding-right="2.85pt">
      <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt">
       <xsl:value-of select="IN_TYPE"/>
      </fo:block>
     </fo:table-cell>
     <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.25pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="5" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block font-family="Arial, Helvetica" font-size="10.0pt">Ref
<fo:inline color="#0000FF">
        <xsl:value-of select="IN_ORDER"/>-<xsl:value-of select="IN_OP"/>
       </fo:inline>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="19.45pt">
     <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt" font-weight="bold">
       <xsl:value-of select="IN_INSP_TASK_DESC"/>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="164.7pt">
     <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black" border-top-style="solid"
border-top-width="0.25pt" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt">
       <xsl:value-of
select="INSP_TASK_LONGTEXT"/>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
       aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="8.25pt">
     <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="0.25pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="4" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block font-family="Arial, Helvetica" font-weight="bold">Defect
Yes/No</fo:block>
     </fo:table-cell>
     <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.25pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="9" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-weight="bold">
       <xsl:value-of select="IN_DEFECT_YN"/>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="18.75pt">
     <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block font-family="Arial, Helvetica" font-size="10.0pt"
font-weight="bold">
       <fo:leader line-height="10pt"/>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="11.6pt">
     <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block font-family="Arial, Helvetica" font-size="10.0pt"
font-weight="bold" keep-with-next="always" text-align="center">Inspection
Confirmation</fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="3.7pt">
     <fo:table-cell border-bottom-color="black" border-bottom-style="dotted"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black" border-top-style="solid"
border-top-width="0.25pt" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt" font-weight="bold">
       <xsl:value-of select="INCONF_SHORTTEXT"/>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="111.95pt">
     <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black"
border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="13" padding-left="2.85pt" padding-right="2.85pt">
      <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt">
       <xsl:value-of select="INCONF_LONGTEXT"/>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="93.0pt">
     <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="0.25pt" border-top-color="black"
border-top-style="dotted" border-top-width="0.25pt" display-align="center"
number-columns-spanned="5" padding-left="2.85pt" padding-right="2.85pt">
      <fo:block color="#000000" font-family="Arial, Helvetica"
font-size="10.0pt" font-weight="bold">Inspector&#8217;s Stamp</fo:block>
     </fo:table-cell>
     <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="0.25pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black"
border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="8" padding-left="2.85pt" padding-right="2.85pt">
      <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt">
       <fo:leader line-height="10pt"/>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="10.1pt">
     <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black" border-top-style="solid"
border-top-width="0.25pt" display-align="center" number-columns-spanned="13"
padding-left="2.85pt" padding-right="2.85pt">
      <fo:block font-family="Arial, Helvetica" font-size="10.0pt"
text-align="end">Ref <fo:inline color="#0000FF">
        <xsl:value-of select="INCONF_NUMBER"/>
       </fo:inline>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="63.05pt">
     <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black" border-top-style="solid"
border-top-width="0.25pt" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block color="#0000FF" font-family="Arial, Helvetica"
font-size="10.0pt">
       <fo:leader line-height="10pt"/>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
    <fo:table-row height="16.5pt">
     <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
      <fo:block font-family="Arial, Helvetica" font-size="10.0pt"
font-weight="bold" keep-with-next="always" text-align="center">
       <fo:leader line-height="10pt"/>
      </fo:block>
     </fo:table-cell>
    </fo:table-row>
   </fo:table-body>
  </fo:table>
 </fo:block>
 <xsl:for-each select="IR_DAMAGE">
  <fo:block break-after="page" background-color="white" color="black"
font-family="Arial, Helvetica" font-size="1.0pt" font-style="normal"
font-variant="normal" font-weight="normal" orphans="2" text-align="start"
text-decoration="none" text-indent="0pt" vertical-align="baseline"
white-space-collapse="false" widows="2">
   <fo:table>
    <fo:table-column column-width="34.95pt"/>
    <fo:table-column column-width="32.45pt"/>
    <fo:table-column column-width="2.05pt"/>
    <fo:table-column column-width="85.95pt"/>
    <fo:table-column column-width="13.05pt"/>
    <fo:table-column column-width="65.85pt"/>
    <fo:table-column column-width="145.55pt"/>
    <fo:table-column column-width="11.35pt"/>
    <fo:table-column column-width="32.3pt"/>
    <fo:table-column column-width="11.25pt"/>
    <fo:table-column column-width="80.9pt"/>
    <fo:table-body>
     <fo:table-row height="11.6pt">
      <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="11" padding-left="2.85pt"
padding-right="2.85pt">
       <fo:block font-size="10.0pt" font-weight="bold"
keep-with-next="always" text-align="center">Damage Findings</fo:block>
      </fo:table-cell>
     </fo:table-row>
     <fo:table-row height="3.7pt">
      <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
number-columns-spanned="11" padding-left="2.85pt" padding-right="2.85pt">
       <fo:block color="#0000FF" font-size="10.0pt" font-weight="bold">
        <xsl:value-of select="DN_DAMAGE_DESC"/>
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
     <fo:table-row height="148.0pt">
      <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black"
border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="11" padding-left="2.85pt" padding-right="2.85pt">
       <fo:block color="#0000FF" font-size="10.0pt">
        <xsl:value-of select="DN_DAMAGE_LONGTEXT"/>
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
     <fo:table-row height="10.1pt">
      <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="0.25pt" border-top-color="black"
border-top-style="solid" border-top-width="0.25pt" display-align="center"
number-columns-spanned="2" padding-left="2.85pt" padding-right="2.85pt">
       <fo:block font-size="10.0pt" font-weight="bold">Decision</fo:block>
      </fo:table-cell>
      <fo:table-cell border-color="black" border-style="solid"
border-width="0.25pt" display-align="center" number-columns-spanned="4"
padding-left="2.85pt" padding-right="2.85pt">
       <fo:block color="#0000FF" font-size="10.0pt" font-weight="bold">
        <xsl:value-of select="DN_DECISION"/>
       </fo:block>
      </fo:table-cell>
      <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="0.25pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black" border-top-style="solid"
border-top-width="0.25pt" display-align="center" number-columns-spanned="5"
padding-left="2.85pt" padding-right="2.85pt">
       <fo:block font-size="10.0pt" text-align="end">ref <fo:inline
color="#0000FF">
         <xsl:value-of select="DN_NUMBER"/>
        </fo:inline>
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
     <fo:table-row height="12.75pt">
      <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black" border-right-style="sol
id" border-right-width="1.0pt" border-top-color="black"
border-top-style="solid" border-top-width="0.25pt" display-align="center"
number-columns-spanned="11" padding-left="2.85pt" padding-right="2.85pt">
       <fo:block font-size="10.0pt" font-weight="bold"
keep-with-next="always" text-align="center">Attachments</fo:block>
      </fo:table-cell>
     </fo:table-row>
     <xsl:for-each select="IR_DAMAGE/DOC_DESCRIPTION">
      <fo:table-row height="12.75pt">
       <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
number-columns-spanned="11" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block color="#0000FF"
font-size="10.0pt">&lt;DOC_DESCRIPTION&gt;[1]</fo:block>
       </fo:table-cell>
      </fo:table-row>
     </xsl:for-each>
     <fo:table-row height="355.5pt">
      <fo:table-cell border-bottom-color="black" border-bottom-style="solid"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black" border-top-style="solid"
border-top-width="0.25pt" number-columns-spanned="11" padding-left="2.85pt"
padding-right="2.85pt">
       <fo:block color="#0000FF" font-size="10.0pt">
        <fo:leader line-height="10pt"/>
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
     <fo:table-row height="16.5pt">
      <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="11" padding-left="2.85pt"
padding-right="2.85pt">
       <fo:block font-size="10.0pt" font-weight="bold"
keep-with-next="always" text-align="center">
        <fo:leader line-height="10pt"/>
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
    </fo:table-body>
   </fo:table>
   <fo:block>
    <fo:leader line-height="1pt"/>
   </fo:block>
   <fo:block font-family="Times New Roman, Times" font-size="12.0pt"
orphans="1" widows="1"/>
  </fo:block>
  <xsl:for-each select="IR_REPAIR_ORDER">
   <fo:block break-after="page" color="black" font-family="Arial, Helvetica"
font-size="10.0pt" font-style="normal" font-variant="normal"
font-weight="normal" orphans="2" text-align="start" text-decoration="none"
text-indent="0pt" vertical-align="baseline" white-space-collapse="false"
widows="2">
    <fo:table>
     <fo:table-column column-width="36.0pt"/>
     <fo:table-column column-width="26.4pt"/>
     <fo:table-column column-width="25.1pt"/>
     <fo:table-column column-width="18.0pt"/>
     <fo:table-column column-width="0.55pt"/>
     <fo:table-column column-width="54.45pt"/>
     <fo:table-column column-width="68.2pt"/>
     <fo:table-column column-width="75.35pt"/>
     <fo:table-column column-width="62.4pt"/>
     <fo:table-column column-width="20.1pt"/>
     <fo:table-column column-width="33.9pt"/>
     <fo:table-column column-width="6.65pt"/>
     <fo:table-column column-width="88.55pt"/>
     <fo:table-body>
      <fo:table-row height="4.5pt">
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-size="12.0pt" font-weight="bold"
text-align="center">REPAIR INFORMATION</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="1.4pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
number-columns-spanned="13" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block color="#0000FF" font-weight="bold">
         <xsl:value-of select="RO_DESCRIPTION"/>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="118.5pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="13" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block color="#0000FF">
         <xsl:value-of select="RO_LONGTEXT"/>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="13.5pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
number-columns-spanned="5" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block font-weight="bold">Repair Status</fo:block>
       </fo:table-cell>
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.5pt" border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
number-columns-spanned="3" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block color="#0000FF">&lt;RO_STATUS&gt;</fo:block>
       </fo:table-cell>
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="0.5pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
number-columns-spanned="5" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block text-align="end">Ref <fo:inline color="#0000FF">
          <xsl:value-of select="RO_NUMBER"/>
         </fo:inline>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="7.15pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
number-columns-spanned="13" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block font-weight="bold" keep-with-next="always"
text-align="center">Repair Approvals</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="7.7pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="13" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block color="#0000FF">
         <xsl:value-of select="RO_APPROVAL"/>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="9.4pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
number-columns-spanned="13" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block font-weight="bold" keep-with-next="always"
text-align="center">Repair Parts</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="6.15pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.25pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="4" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block>Part Number</fo:block>
       </fo:table-cell>
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.25pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.25pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="3" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block>Quantity</fo:block>
       </fo:table-cell>
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.25pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="6" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block>Description</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <xsl:for-each select="SO_MAT">
       <fo:table-row height="5.1pt">
        <fo:table-cell background-color="#FFFFFF"
border-bottom-color="black" border-bottom-style="dotted"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="solid" border-left-width="1.0pt"
border-right-color="black" border-right-style="dotted"
border-right-width="0.25pt" border-top-color="black"
border-top-style="solid" border-top-width="0.5pt" number-columns-spanned="4"
padding-left="2.85pt" padding-right="2.85pt">
         <fo:block color="#0000FF">
          <xsl:value-of select="RO_MAT"/>
         </fo:block>
        </fo:table-cell>
        <fo:table-cell background-color="#FFFFFF"
border-bottom-color="black" border-bottom-style="dotted"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="dotted" border-left-width="0.25pt"
border-right-color="black" border-right-style="dotted"
border-right-width="0.25pt" border-top-color="black"
border-top-style="solid" border-top-width="0.5pt" number-columns-spanned="3"
padding-left="2.85pt" padding-right="2.85pt">
         <fo:block color="#0000FF">
          <xsl:value-of select="RO_MQ"/>
         </fo:block>
        </fo:table-cell>
        <fo:table-cell background-color="#FFFFFF"
border-bottom-color="black" border-bottom-style="dotted"
border-bottom-width="0.25pt" border-left-color="black"
border-left-style="dotted" border-left-width="0.25pt"
border-right-color="black" border-right-style="solid"
border-right-width="1.0pt" border-top-color="black" border-top-style="solid"
border-top-width="0.5pt" number-columns-spanned="6" padding-left="2.85pt"
padding-right="2.85pt">
         <fo:block color="#0000FF">
          <xsl:value-of select="RO_MAT_DESC"/>
         </fo:block>
        </fo:table-cell>
       </fo:table-row>
      </xsl:for-each>
      <fo:table-row height="11.7pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-weight="bold" keep-with-next="always"
text-align="center">Repair Attachments</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="2.95pt">
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.25pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="4" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block text-align="center">Type</fo:block>
       </fo:table-cell>
       <fo:table-cell background-color="#FFFFFF" border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.25pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
number-columns-spanned="9" padding-left="2.85pt" padding-right="2.85pt">
        <fo:block>Description</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <xsl:for-each select="DIR_DOC">
       <fo:table-row height="12.75pt">
        <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="dotted" border-right-width="0.25pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
display-align="center" number-columns-spanned="4" padding-left="2.85pt"
padding-right="2.85pt">
         <fo:block color="#0000FF">
          <xsl:value-of select="DOC_TYPE"/>
         </fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="dotted" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="dotted"
border-left-width="0.25pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="dotted" border-top-width="0.25pt"
display-align="center" number-columns-spanned="9" padding-left="2.85pt"
padding-right="2.85pt">
         <fo:block color="#0000FF">
          <xsl:value-of select="DOC_DESCRIPTION"/>
         </fo:block>
        </fo:table-cell>
       </fo:table-row>
      </xsl:for-each>
      <fo:table-row height="17.35pt">
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-weight="bold" text-align="center">Inspector
Visa</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="102.1pt">
       <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block color="#0000FF">
         <fo:leader line-height="10pt"/>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="73.8pt">
       <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="0.5pt"
border-top-color="black" border-top-style="solid" border-top-width="0.25pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block color="#0000FF">
         <fo:leader line-height="10pt"/>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="16.5pt">
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="13" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-weight="bold" keep-with-next="always"
text-align="center">
         <fo:leader line-height="10pt"/>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
     </fo:table-body>
    </fo:table>
   </fo:block>
   <fo:block break-after="page" color="black" font-family="Arial, Helvetica"
font-size="10.0pt" font-style="normal" font-variant="normal"
font-weight="normal" orphans="2" text-align="start" text-decoration="none"
text-indent="0pt" vertical-align="baseline" white-space-collapse="false"
widows="2">
    <fo:table>
     <fo:table-column column-width="32.6pt"/>
     <fo:table-column column-width="36.85pt"/>
     <fo:table-column column-width="6.0pt"/>
     <fo:table-column column-width="78.4pt"/>
     <fo:table-column column-width="5.6pt"/>
     <fo:table-column column-width="199.5pt"/>
     <fo:table-column column-width="2.4pt"/>
     <fo:table-column column-width="10.55pt"/>
     <fo:table-column column-width="29.55pt"/>
     <fo:table-column column-width="10.0pt"/>
     <fo:table-column column-width="27.25pt"/>
     <fo:table-column column-width="76.95pt"/>
     <fo:table-body>
      <fo:table-row height="10.15pt">
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="6" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-weight="bold" text-align="center">Repair
Details</fo:block>
       </fo:table-cell>
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="6" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block text-align="end">Ref <fo:inline color="#0000FF">
          <xsl:value-of select="RO_NUMBER"/>
         </fo:inline>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="14.6pt">
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="3" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-weight="bold" text-align="center">Task</fo:block>
       </fo:table-cell>
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="6" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-weight="bold"
text-align="center">Description</fo:block>
       </fo:table-cell>
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.25pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="3" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block font-weight="bold" text-align="center">Status</fo:block>
       </fo:table-cell>
      </fo:table-row>
      <xsl:for-each select="IR_REPAIR_OP">
       <fo:table-row height="31.65pt">
        <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="3" padding-left="2.85pt"
padding-right="2.85pt">
         <fo:block color="#0000FF">
          <xsl:value-of select="OP_NO"/>
         </fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="6" padding-left="2.85pt"
padding-right="2.85pt">
         <fo:block color="#0000FF">
          <xsl:value-of select="ROOP_DESC"/>
         </fo:block>
        </fo:table-cell>
        <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="3" padding-left="2.85pt"
padding-right="2.85pt">
         <fo:block color="#0000FF" text-align="center">
          <xsl:value-of select="ROOP_STATUS"/>
         </fo:block>
        </fo:table-cell>
       </fo:table-row>
      </xsl:for-each>
      <fo:table-row height="482.15pt">
       <fo:table-cell border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="12" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block color="#0000FF">
         <fo:leader line-height="10pt"/>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
      <fo:table-row height="16.5pt">
       <fo:table-cell background-color="#C0C0C0" border-bottom-color="black"
border-bottom-style="solid" border-bottom-width="0.5pt"
border-left-color="black" border-left-style="solid"
border-left-width="1.0pt" border-right-color="black"
border-right-style="solid" border-right-width="1.0pt"
border-top-color="black" border-top-style="solid" border-top-width="0.5pt"
display-align="center" number-columns-spanned="12" padding-left="2.85pt"
padding-right="2.85pt">
        <fo:block>
         <fo:leader line-height="10pt"/>
        </fo:block>
       </fo:table-cell>
      </fo:table-row>
     </fo:table-body>
    </fo:table>
    <fo:block font-size="1.0pt">
     <fo:leader line-height="1pt"/>
    </fo:block>
    <fo:block font-family="Times New Roman, Times" font-size="12.0pt"
orphans="1" widows="1"/>
   </fo:block>
  </xsl:for-each>
 </xsl:for-each>
</xsl:template>


----- Original Message -----
From: "Max Froumentin" <mf@w3.org>
To: "Sébastien Dartigues" <sdartigu@capgemini.fr>
Cc: <www-xsl-fo@w3.org>
Sent: Wednesday, August 21, 2002 11:18 AM
Subject: Re: global and local variable


Sébastien Dartigues <sebastien.dartigues@cgey.com> writes:

> i have a header, a body and a footer in the body i write plenty
> information that can be on more than one page and this information
> has an id (from the xml database) i would like to remind this id on
> each header

remind this id? As in

...
<fo:block id="aha">foo</fo:block>
...

producing:

+--------------+
| aha          |
|--------------|
| ...          |
| foo          |
| ...          |
+--------------+

?

> with a global variable it doesn't work because this id is only
> process in the body

A global XSLT variable? Containing what?

> with a marker i lost the variable in the second page.....

Is this what you are looking for?

+--------------+  +--------------+
| aha          |  | aha          |
|--------------|  |--------------|
| ...          |  |              |
| foo          |  |              |
| ...          |  |              |
+--------------+  +--------------+


And you don't get the 'aha' on the second page? Seems like a bug in
your XSLFO processor. Could you post the source code with the markers?

Max.

Received on Wednesday, 21 August 2002 07:15:14 UTC