<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rx="http://www.renderx.com/XSL/Extensions">
<!-- ============================================================ -->
<!--                                                              -->
<!-- 	This file makes a part of RenderX XSL Test Suite          -->
<!--                                                              -->
<!--    Author: Alexander Peshkov                                 -->
<!--                                                              -->
<!--    (c) RenderX, 2003                                         -->
<!--                                                              -->
<!-- ============================================================ -->
   <fo:layout-master-set>
      <fo:simple-page-master master-name="document-master" margin="0.4in">
         <fo:region-body margin="20pt" padding="0pt"/>
      </fo:simple-page-master>
   </fo:layout-master-set>
   
  
   <fo:page-sequence master-reference="document-master">
      <fo:flow flow-name="xsl-region-body" padding="6pt">
  
         <fo:block font="bold 16pt Helvetica" space-before="16pt" space-after="16pt" text-align="center" span="all">Create SVG in XSL FO programmatically. Usecase #2: diagrams</fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt">
    XSL FO allows you to embed different types of graphic in your documents.
    One of such types is SVG:
    <fo:block font-size="12pt" font-style="italic" space-before="6pt" space-after="6pt">
      
               <fo:basic-link external-destination="url(http://www.w3.org/Graphics/SVG/Overview.htm8)" color="#0000C0" text-decoration="underline">Scalabe Vector Graphics (SVG)</fo:basic-link>
    
            </fo:block>
  
         </fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt"> 
    Apart from common vector graphics advantages
    (such as no-loss quality and relatively small size for certain drawing types) SVG is an XML itself.
    Thus you can not only embed images produced by external applications, but create SVG programmatically 
    from arbitrary XML data by means of XSLT.
    If you have some private data in XML you can present them both in textual and graphical forms
    using single stylesheet that produce XSL FO and SVG.
  </fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt">
    In this test we will show yet another possible usecase that requires SVG creation
    "on the fly". While tabular form is very useful then representing
    numeric data it may be needed to produce it's graphical view in the form of diagram.
    SVG is a natural choice in this case.
    This document contains a set of numbers describing one-month history of temperature variations
    in Moscow. It is stored in the form of the following XML:
    <fo:block white-space="pre" font-family="monospace">
    &lt;meteodata&gt;  
      &lt;point date="1" min="0.8"  avg="3.7"  max="6.2"/&gt;
      &lt;point date="2" min="-0.6"  avg="1.1"  max="3.5"/&gt;
      &lt;point date="3" min="-4.0"  avg="3.6"  max="11.0"/&gt;
      &lt;point date="4" min="5.9"  avg="9.1"  max="13.5"/&gt;
      &lt;point date="5" min="8.7"  avg="10.5"  max="13.3"/&gt;
      &lt;point date="6" min="6.0"  avg="8.4"  max="12.4"/&gt;
      &lt;point date="7" min="2.0"  avg="9.5"  max="16.5"/&gt;
      &lt;point date="8" min="4.6"  avg="12.2"  max="18.8"/&gt;
      &lt;point date="9" min="7.2"  avg="12.4"  max="19.6"/&gt;
      &lt;point date="10" min="7.0"  avg="9.9"  max="13.3"/&gt;
      &lt;point date="11" min="1.5"  avg="3.3"  max="7.4"/&gt;
      &lt;point date="12" min="-2.3"  avg="6.5"  max="13.0"/&gt;
      &lt;point date="13" min="0.5"  avg="10.8"  max="17.4"/&gt;
      &lt;point date="14" min="11.6"  avg="17.8"  max="25.4"/&gt;
      &lt;point date="15" min="15.1"  avg="20.4"  max="25.7"/&gt;
      &lt;point date="16" min="5.1"  avg="10.9"  max="19.3"/&gt;
      &lt;point date="17" min="1.4"  avg="10.0"  max="18.0"/&gt;
      &lt;point date="18" min="4.8"  avg="13.2"  max="20.1"/&gt;
      &lt;point date="19" min="5.6"  avg="15.5"  max="22.3"/&gt;
      &lt;point date="20" min="14.0"  avg="17.8"  max="24.1"/&gt;
      &lt;point date="21" min="12.0"  avg="19.6"  max="27.8"/&gt;
      &lt;point date="22" min="15.9"  avg="20.9"  max="25.7"/&gt;
      &lt;point date="23" min="14.9"  avg="18.1"  max="22.8"/&gt;
      &lt;point date="24" min="13.1"  avg="19.1"  max="25.3"/&gt;
      &lt;point date="25" min="17.0"  avg="23.5"  max="30.1"/&gt;
      &lt;point date="26" min="16.1"  avg="23.2"  max="29.8"/&gt;
      &lt;point date="27" min="14.1"  avg="22.7"  max="31.0"/&gt;
      &lt;point date="28" min="14.9"  avg="24.0"  max="31.6"/&gt;
      &lt;point date="29" min="15.1"  avg="24.2"  max="31.6"/&gt;
      &lt;point date="30" min="17.5"  avg="23.2"  max="29.6"/&gt;
      &lt;point date="31" min="16.3"  avg="23.5"  max="29.5"/&gt;
    &lt;/meteodata&gt;
    </fo:block>
  
         </fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt">  
    From this data dedicated XSLT stylesheet produces both table and diagram as shown below.
    It draws <fo:wrapper font-family="monospace">svg:polyline</fo:wrapper> translating numbers given by <fo:wrapper font-family="monospace">point</fo:wrapper> elements into SVG coordinates.
	Note that SVG elements are placed in appropriate SVG namespace <fo:wrapper font-family="monospace">xmlns:svg="http://www.w3.org/2000/svg"</fo:wrapper>.
    As example, SVG code fragment produced by stylesheet cited below:
    <fo:block white-space="pre" font-family="monospace">
    &lt;fo:instream-foreign-object&gt;
      &lt;svg:svg width="5in" height="5in" viewBox="-60 -500 700 800"&gt;
        ... 
        &lt;svg:line x1="20" x2="20"
                  y1="-62" y2="-8"
                  style="stroke-width:6; stroke: blue; stroke-linecap: butt"/&gt;
        &lt;svg:line x1="15" x2="25"
                  y1="-62" y2="-62"
                  style="stroke-width:1; stroke: blue; stroke-linecap: butt"/&gt;
        &lt;svg:line x1="15" x2="25"
                  y1="-8" y2="-8"
                  style="stroke-width:1; stroke: blue; stroke-linecap: butt"/&gt;
        ...
      &lt;/svg:svg&gt;
    &lt;/fo:instream-foreign-object&gt;
    </fo:block>
  
         </fo:block>
  
      </fo:flow>
   </fo:page-sequence>
  
   <fo:page-sequence master-reference="document-master">
      <fo:flow flow-name="xsl-region-body" padding="6pt">
  
         <fo:block font="bold 16pt Helvetica" space-before="16pt" space-after="16pt" text-align="center" span="all">Temperatures in Moscow, Russia in May 1995</fo:block>
  
         <fo:block font-size="12pt" space-before="6pt" space-after="6pt" text-align="justify" text-indent="16pt">
    
            <fo:table xmlns:svg="http://www.w3.org/2000/svg" width="100%" table-layout="fixed">
               <fo:table-column column-width="2in"/>
               <fo:table-body display-align="center">
                  <fo:table-cell>
                     <fo:table space-before="1pt" text-indent="0pt" border="1pt solid gray">
                        <fo:table-column column-width="0.4in" text-align="center"/>
                        <fo:table-column column-width="0.5in" text-align="center"/>
                        <fo:table-column column-width="0.5in" text-align="center"/>
                        <fo:table-column column-width="0.5in" text-align="center"/>
                        <fo:table-header background-color="silver" font-size="10pt" font-weight="bold" display-align="center">
                           <fo:table-row>
                              <fo:table-cell number-rows-spanned="2" text-align="from-table-column()">
                                 <fo:block>Date</fo:block>
                              </fo:table-cell>
                              <fo:table-cell number-columns-spanned="3" text-align="center">
                                 <fo:block>Temperature, °C</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>min</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>avg</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>max</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                        </fo:table-header>
                        <fo:table-body font-size="10pt">
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>0.8</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>3.7</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>6.2</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>2</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>-0.6</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>1.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>3.5</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>3</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>-4.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>3.6</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>11.0</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>4</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>5.9</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>9.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>13.5</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>8.7</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>10.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>13.3</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>6</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>6.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>8.4</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>12.4</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>7</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>2.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>9.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>16.5</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>8</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>4.6</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>12.2</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>18.8</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>9</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>7.2</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>12.4</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>19.6</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>10</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>7.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>9.9</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>13.3</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>11</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>1.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>3.3</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>7.4</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>12</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>-2.3</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>6.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>13.0</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>13</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>0.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>10.8</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>17.4</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>14</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>11.6</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>17.8</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>25.4</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>15</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>15.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>20.4</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>25.7</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>16</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>5.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>10.9</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>19.3</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>17</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>1.4</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>10.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>18.0</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>18</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>4.8</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>13.2</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>20.1</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>19</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>5.6</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>15.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>22.3</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>20</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>14.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>17.8</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>24.1</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>21</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>12.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>19.6</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>27.8</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>22</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>15.9</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>20.9</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>25.7</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>23</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>14.9</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>18.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>22.8</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>24</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>13.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>19.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>25.3</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>25</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>17.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>23.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>30.1</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>26</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>16.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>23.2</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>29.8</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>27</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>14.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>22.7</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>31.0</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>28</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>14.9</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>24.0</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>31.6</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>29</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>15.1</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>24.2</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>31.6</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>30</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>17.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>23.2</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>29.6</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                           <fo:table-row>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>31</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>16.3</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>23.5</fo:block>
                              </fo:table-cell>
                              <fo:table-cell text-align="from-table-column()">
                                 <fo:block>29.5</fo:block>
                              </fo:table-cell>
                           </fo:table-row>
                        </fo:table-body>
                     </fo:table>
                  </fo:table-cell>
                  <fo:table-cell>
                     <fo:block>
                        <fo:instream-foreign-object>
                           <svg:svg width="5in" height="5in" viewBox="-60 -500 700 800">
                              <svg:line style="stroke:black; stroke-width:4; stroke-linecap:square" x1="0" y1="-450" x2="0" y2="250"/>
                              <svg:line style="stroke:black; stroke-width:4; stroke-linecap:square" x1="0" y1="0" x2="620" y2="0"/>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="200" x2="0" y2="200"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="210" text-anchor="end">-20°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="150" x2="0" y2="150"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="160" text-anchor="end">-15°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="100" x2="0" y2="100"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="110" text-anchor="end">-10°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="50" x2="0" y2="50"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="60" text-anchor="end">-5°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="0" x2="0" y2="0"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="10" text-anchor="end">0°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="-50" x2="0" y2="-50"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="-40" text-anchor="end">5°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="-100" x2="0" y2="-100"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="-90" text-anchor="end">10°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="-150" x2="0" y2="-150"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="-140" text-anchor="end">15°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="-200" x2="0" y2="-200"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="-190" text-anchor="end">20°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="-250" x2="0" y2="-250"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="-240" text-anchor="end">25°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="-300" x2="0" y2="-300"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="-290" text-anchor="end">30°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="-350" x2="0" y2="-350"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="-340" text-anchor="end">35°</svg:text>
                              <svg:line style="stroke:black; stroke-width:2; stroke-linecap:round" x1="-10" y1="-400" x2="0" y2="-400"/>
                              <svg:text font-family="Helvetica" font-size="25" x="-15" y="-390" text-anchor="end">40°</svg:text>
                              <svg:line x1="20" x2="20" y1="-62" y2="-8" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="15" x2="25" y1="-62" y2="-62" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="15" x2="25" y1="-8" y2="-8" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="40" x2="40" y1="-35" y2="6" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="35" x2="45" y1="-35" y2="-35" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="35" x2="45" y1="6" y2="6" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="60" x2="60" y1="-110" y2="40" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="55" x2="65" y1="-110" y2="-110" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="55" x2="65" y1="40" y2="40" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="80" x2="80" y1="-135" y2="-59" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="75" x2="85" y1="-135" y2="-135" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="75" x2="85" y1="-59" y2="-59" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="100" x2="100" y1="-133" y2="-87" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="95" x2="105" y1="-133" y2="-133" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="95" x2="105" y1="-87" y2="-87" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="120" x2="120" y1="-124" y2="-60" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="115" x2="125" y1="-124" y2="-124" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="115" x2="125" y1="-60" y2="-60" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="140" x2="140" y1="-165" y2="-20" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="135" x2="145" y1="-165" y2="-165" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="135" x2="145" y1="-20" y2="-20" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="160" x2="160" y1="-188" y2="-46" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="155" x2="165" y1="-188" y2="-188" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="155" x2="165" y1="-46" y2="-46" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="180" x2="180" y1="-196" y2="-72" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="175" x2="185" y1="-196" y2="-196" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="175" x2="185" y1="-72" y2="-72" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="200" x2="200" y1="-133" y2="-70" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="195" x2="205" y1="-133" y2="-133" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="195" x2="205" y1="-70" y2="-70" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="220" x2="220" y1="-74" y2="-15" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="215" x2="225" y1="-74" y2="-74" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="215" x2="225" y1="-15" y2="-15" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="240" x2="240" y1="-130" y2="23" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="235" x2="245" y1="-130" y2="-130" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="235" x2="245" y1="23" y2="23" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="260" x2="260" y1="-174" y2="-5" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="255" x2="265" y1="-174" y2="-174" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="255" x2="265" y1="-5" y2="-5" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="280" x2="280" y1="-254" y2="-116" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="275" x2="285" y1="-254" y2="-254" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="275" x2="285" y1="-116" y2="-116" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="300" x2="300" y1="-257" y2="-151" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="295" x2="305" y1="-257" y2="-257" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="295" x2="305" y1="-151" y2="-151" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="320" x2="320" y1="-193" y2="-51" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="315" x2="325" y1="-193" y2="-193" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="315" x2="325" y1="-51" y2="-51" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="340" x2="340" y1="-180" y2="-14" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="335" x2="345" y1="-180" y2="-180" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="335" x2="345" y1="-14" y2="-14" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="360" x2="360" y1="-201" y2="-48" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="355" x2="365" y1="-201" y2="-201" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="355" x2="365" y1="-48" y2="-48" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="380" x2="380" y1="-223" y2="-56" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="375" x2="385" y1="-223" y2="-223" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="375" x2="385" y1="-56" y2="-56" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="400" x2="400" y1="-241" y2="-140" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="395" x2="405" y1="-241" y2="-241" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="395" x2="405" y1="-140" y2="-140" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="420" x2="420" y1="-278" y2="-120" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="415" x2="425" y1="-278" y2="-278" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="415" x2="425" y1="-120" y2="-120" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="440" x2="440" y1="-257" y2="-159" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="435" x2="445" y1="-257" y2="-257" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="435" x2="445" y1="-159" y2="-159" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="460" x2="460" y1="-228" y2="-149" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="455" x2="465" y1="-228" y2="-228" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="455" x2="465" y1="-149" y2="-149" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="480" x2="480" y1="-253" y2="-131" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="475" x2="485" y1="-253" y2="-253" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="475" x2="485" y1="-131" y2="-131" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="500" x2="500" y1="-301" y2="-170" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="495" x2="505" y1="-301" y2="-301" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="495" x2="505" y1="-170" y2="-170" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="520" x2="520" y1="-298" y2="-161" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="515" x2="525" y1="-298" y2="-298" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="515" x2="525" y1="-161" y2="-161" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="540" x2="540" y1="-310" y2="-141" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="535" x2="545" y1="-310" y2="-310" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="535" x2="545" y1="-141" y2="-141" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="560" x2="560" y1="-316" y2="-149" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="555" x2="565" y1="-316" y2="-316" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="555" x2="565" y1="-149" y2="-149" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="580" x2="580" y1="-316" y2="-151" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="575" x2="585" y1="-316" y2="-316" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="575" x2="585" y1="-151" y2="-151" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="600" x2="600" y1="-296" y2="-175" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="595" x2="605" y1="-296" y2="-296" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="595" x2="605" y1="-175" y2="-175" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="620" x2="620" y1="-295" y2="-163" style="stroke-width:6; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="615" x2="625" y1="-295" y2="-295" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:line x1="615" x2="625" y1="-163" y2="-163" style="stroke-width:1; stroke: blue; stroke-linecap: butt"/>
                              <svg:polyline style="fill:none; stroke-width:8; stroke: maroon; stroke-linecap: round; stroke-linejoin: round" points="20,-37 40,-11 60,-36 80,-91 100,-105 120,-84 140,-95 160,-122 180,-124 200,-99 220,-33 240,-65 260,-108 280,-178 300,-204 320,-109 340,-100 360,-132 380,-155 400,-178 420,-196 440,-209 460,-181 480,-191 500,-235 520,-232 540,-227 560,-240 580,-242 600,-232 620,-235 "/>
                           </svg:svg>
                        </fo:instream-foreign-object>
                     </fo:block>
                  </fo:table-cell>
               </fo:table-body>
            </fo:table> 
  
         </fo:block>
  
      </fo:flow>
   </fo:page-sequence>

</fo:root>