XSL : Slow

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zamba

    XSL : Slow

    hi im new with xsl and i have to process a xsl with a lot of xml
    (about 50.000) the transform is slow ..and i want to optimize my xsl .
    here is the example so if anybody could give some advices to me i will
    appreciatte :

    <?xml version="1.0" encoding="UTF-8"?>

    <xsl:styleshe et xmlns:fox="http ://xml.apache.org/fop/extensions"
    xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.1"
    xmlns:xsl="http ://www.w3.org/1999/XSL/Transform" xmlns:saxon="ht tp://
    icl.com/saxon" extension-element-prefixes="saxon " >

    <xsl:template match="IMPFAC">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">


    <!-- Inicio definición de LAYOUT-->

    <fo:layout-master-set>

    <!-- LAYOUT para todas las paginas menos LA ULTIMA -->

    <fo:simple-page-master master-name="a4any" page-height="35.50cm " page-
    width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin-
    bottom="1.0cm" margin-right="1.0cm">
    <fo:region-body margin-left="1.0cm" margin-top="1.0cm" margin-
    bottom="9.5cm" margin-right="1.0cm"/>
    <fo:region-before extent="1.0cm" precedence="tru e"/>
    <fo:region-after region-name="footer-any" extent="4.5cm"
    precedence="tru e"/>
    <fo:region-start extent="1.0cm" precedence="fal se"/>
    <fo:region-end extent="1cm" precedence="fal se"/>

    <fo:region-body region-name="CONSUMOS"
    margin-top="5cm" margin-bottom="9cm"
    margin-left="0.1cm" margin-right="14cm"/>

    <fo:region-body region-name="CONCEPTOS "
    margin-top="5cm" margin-bottom="9cm"
    margin-left="7.9cm" margin-right="0.2cm"/>

    <fo:region-body region-name="SUSPENCIO N"
    margin-top="25.3cm" margin-bottom="3.5cm"
    margin-left="0.1cm" margin-right="14.5cm"/>

    <fo:region-body region-name="COMPLEMEN TARIA"
    margin-top="25.9cm" margin-bottom="3.5cm"
    margin-left="5.5cm" margin-right="0.2cm"/>




    </fo:simple-page-master>


    <!-- LAYOUT para LA ULTIMA PAGINA-->

    <fo:simple-page-master master-name="a4last" page-height="35.50cm " page-
    width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin-
    bottom="1.0cm" margin-right="1.0cm">
    <fo:region-body margin-left="1.0cm" margin-top="1.0cm" margin-
    bottom="9.5cm" margin-right="1.0cm"/>
    <fo:region-before extent="1.0cm" precedence="tru e"/>
    <fo:region-after region-name="footer-last" extent="4.5cm"
    precedence="tru e"/>
    <fo:region-start extent="1.0cm" precedence="fal se"/>
    <fo:region-end extent="1cm" precedence="fal se"/>

    <fo:region-body region-name="CONSUMOS"
    margin-top="5cm" margin-bottom="9cm"
    margin-left="0.1cm" margin-right="14cm"/>

    <fo:region-body region-name="CONCEPTOS "
    margin-top="5cm" margin-bottom="9cm"
    margin-left="7.9cm" margin-right="0.2cm"/>

    <fo:region-body region-name="SUSPENCIO N"
    margin-top="25.3cm" margin-bottom="3.5cm"
    margin-left="0.1cm" margin-right="14.5cm"/>

    <fo:region-body region-name="COMPLEMEN TARIA"
    margin-top="25.9cm" margin-bottom="3.5cm"
    margin-left="5.5cm" margin-right="0.2cm"/>




    </fo:simple-page-master>




    <!-- LAYOUT para primera y ULTIMA PAGINA-->
    <fo:simple-page-master master-name="a4only" page-height="35.50cm " page-
    width="21.50cm" margin-top="1.0cm" margin-left="1.0cm" margin-
    bottom="1.0cm" margin-right="1.0cm">

    <fo:region-body margin-left="0.2cm" margin-top="3.0cm" margin-
    bottom="9.0cm" margin-right="1.0cm"/>
    <fo:region-before extent="1.0cm" precedence="tru e"/>
    <fo:region-after region-name="footer-only" extent="4.5cm"
    precedence="tru e"/>
    <fo:region-start extent="1.0cm" precedence="fal se"/>
    <fo:region-end extent="1cm" precedence="fal se"/>

    <fo:region-body region-name="CONSUMOS"
    margin-top="5cm" margin-bottom="9cm"
    margin-left="0.1cm" margin-right="14cm"/>

    <fo:region-body region-name="CONCEPTOS "
    margin-top="5cm" margin-bottom="9cm"
    margin-left="7.9cm" margin-right="0.2cm"/>

    <fo:region-body region-name="SUSPENCIO N"
    margin-top="25.3cm" margin-bottom="3.5cm"
    margin-left="0.1cm" margin-right="14.5cm"/>

    <fo:region-body region-name="COMPLEMEN TARIA"
    margin-top="25.9cm" margin-bottom="3.5cm"
    margin-left="5.5cm" margin-right="0.2cm"/>





    </fo:simple-page-master>


    <!-- DEFINICION DE MARCAS-->
    <fo:page-sequence-master master-name="document" >
    <fo:repeatabl e-page-master-alternatives>
    <fo:condition al-page-master-reference page-position="only"
    master-reference="a4on ly"/>

    <fo:condition al-page-master-reference page-position="last"
    master-reference="a4la st"/>

    <fo:condition al-page-master-reference page-position="any"
    master-reference="a4an y"/>


    </fo:repeatable-page-master-alternatives>
    </fo:page-sequence-master>




    <!-- DEFINICION DE AREAS (Todas las paginas)-->
    <fo:flow-map flow-map-name="DETALLE">
    <fo:flow-assignment>
    <fo:flow-source-list>
    <fo:flow-name-specifier flow-name-reference="D-CONSUMOS"/>
    </fo:flow-source-list>
    <fo:flow-target-list>
    <fo:region-name-specifier region-name-reference="CONS UMOS"/>
    </fo:flow-target-list>
    </fo:flow-assignment>
    <fo:flow-assignment>
    <fo:flow-source-list>
    <fo:flow-name-specifier flow-name-reference="D-CONCEPTOS"/>
    </fo:flow-source-list>
    <fo:flow-target-list>
    <fo:region-name-specifier region-name-reference="CONC EPTOS"/>
    </fo:flow-target-list>
    </fo:flow-assignment>
    <fo:flow-assignment>
    <fo:flow-source-list>
    <fo:flow-name-specifier flow-name-reference="D-SUSPENCION"/>
    </fo:flow-source-list>
    <fo:flow-target-list>
    <fo:region-name-specifier region-name-reference="SUSP ENCION"/>
    </fo:flow-target-list>
    </fo:flow-assignment>
    <fo:flow-assignment>
    <fo:flow-source-list>
    <fo:flow-name-specifier flow-name-reference="D-COMPLEMENTARIA"/>
    </fo:flow-source-list>
    <fo:flow-target-list>
    <fo:region-name-specifier region-name-reference="COMP LEMENTARIA"/>
    </fo:flow-target-list>
    </fo:flow-assignment>
    </fo:flow-map>




    </fo:layout-master-set>
    <!-- Fin de definición de LAYOUT-->

    <!-- ESCRITURA DEL DOCUMENTO GENERAL-->

    <!-- CABECERA-->
    <fo:page-sequence master-name="document" master-reference="docu ment"
    flow-map-reference="DETA LLE" id="document" >
    <xsl:attribut e name="force-page-count">no-force</xsl:attribute>
    <fo:static-content flow-name="xsl-region-before">

    <fo:block-container position="absol ute" top="0.7cm" left="4.4cm"
    height="0.5cm" width="9.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="start" position="relat ive"
    top="0.4cm" left="4.4cm" height="0.5cm" width="9.0cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/NOMCLIE"/
    >
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="0.7cm" left="13.5cm"
    height="1.0cm" width="2.8cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="0.7cm" left="13.5cm" height="1.0cm" width="2.8cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/
    IDSUPPLY"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="0.7cm" left="16.3cm"
    height="1.0cm" width="3.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="0.7cm" left="16.3cm" height="1.0cm" width="3.0cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/NROFACT"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="1.7cm" left="4.4cm"
    height="0.5cm" width="12.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="start" position="relat ive"
    top="1.7cm" left="4.4cm" height="0.5cm" width="12.0cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/DOMICEN"/>
    </fo:block>

    </fo:block-container>
    <fo:block-container position="absol ute" top="1.7cm" left="16.5cm"
    height="0.5cm" width="3.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="1.7cm" left="16.5cm" height="0.5cm" width="1.96817c m"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FVENCIM"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.5cm" left="4.2cm"
    height="0.5cm" width="5.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.5cm" left="4.2cm" height="0.5cm" width="6.92375c m"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/CONDFIS"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.5cm" left="9.5cm"
    height="0.5cm" width="3.3cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.5cm" left="9.5cm" height="0.5cm" width="3.3cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/CUIT"/>
    </fo:block>

    </fo:block-container>
    <fo:block-container position="absol ute" top="2.5cm" left="13.2cm"
    height="0.5cm" width="3.5cm">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="center" position="relat ive"
    top="2.5cm" left="13.2cm" height="0.5cm" width="3.5cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/IBRUTOS"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.2cm" left="16.9cm"
    height="0.56233 cm" width="1.89788c m" display-align="before">
    <fo:block line-height="0.50961 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" position="relat ive"
    top="2.2cm" left="16.9cm" height="0.56233 cm" width="1.89788c m"
    color="#000000" font-family="Arial" font-size="8.0pt">ho ja <fo:page-
    number/de <fo:page-number-citation-last ref-id="document"/></
    fo:block>
    </fo:block-container>


    <fo:block-container position="absol ute" top="3.4cm" left="4.0cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="center" position="relat ive"
    top="3.4cm" left="12.8cm" height="0.5cm" width="2.5cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/PERFACT"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="3.4cm" left="6.8cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="3.4cm" left="6.8cm" height="0.5cm" width="2.5cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FFACTUR"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="3.4cm" left="9.5cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="3.4cm" left="9.5cm" height="0.5cm" width="2.5cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FULPBCO"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="3.4cm" left="12.3cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="3.4cm" left="12.3cm" height="0.5cm" width="2.5cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FPVENCIM"/
    >
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absol ute" top="3.4cm" left="15cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.5cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="3.4cm" left="15cm" height="0.5cm" width="2.5cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/SECIMP"/>
    </fo:block>
    </fo:block-container>


    </fo:static-content>



    <!-- PIE DE PAGINA DE LA ULTIMA PAGINA-->
    <fo:static-content flow-name="footer-last">

    <!-- RECAUDADOR-->

    <!-- ***** AVISO DE CORTE PARA EL TALON RECAUDADOR-->

    <xsl:if test="SERVICIOS/PIE/AVISO/DEUDA">

    <fo:block-container position="absol ute" top="1.0cm" left="0.05cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="left" position="relat ive"
    top="1.0cm" left="0.05cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt">
    <fo:inline>
    <xsl:text>Refer encia : </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="1.0cm" left="1.5cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="1.0cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    REFERENCIA"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absol ute" top="1.5cm" left="0.05cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="left" position="relat ive"
    top="1.5cm" left="0.05cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt">
    <fo:inline>
    <xsl:text>Deu da : </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absol ute" top="1.5cm" left="1.5cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="1.5cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    DEUDA"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.1cm" left="0.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt" text-
    decoration="und erline">
    <fo:inline>
    <xsl:text>Ultim o Pago </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.5cm" left="0.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    ULTIMOPAGO"/>
    </fo:block>
    </fo:block-container>



    <fo:block-container position="absol ute" top="2.1cm" left="2.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt" text-
    decoration="und erline">
    <fo:inline>
    <xsl:text>Fec ha Corte </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.5cm" left="2.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    FECHACORTE"/>
    </fo:block>
    </fo:block-container>
    </xsl:if>

    <!-- ***** FIN AVISO DE CORTE PARA EL TALON RECAUDADOR-->

    <!-- ***** RESTO DEL TALON RECAUDADOR-->

    <fo:block-container position="absol ute" top="3.0cm" left="6.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/PERFACT"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absol ute" top="4.0cm" left="6.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="start" position="relat ive"
    top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FULPBCO"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.0cm" left="9.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FFACTUR"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="3.0cm" left="9.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.46392 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="center" position="relat ive"
    top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FVENCIM"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="4.0cm" left="9.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="start" position="relat ive"
    top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/
    RECAUDADOR/IMPTOTAL"/>
    </fo:block>
    </fo:block-container>


    <!-- Tabla de Subtotales que integran la factura-->

    <fo:block-container position="absol ute" top="1.50cm" left="13.2182cm "
    height="2.70624 cm" width="4.42839c m" >
    <fo:block span="none"><!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed">
    <fo:table-column column-width="3.0cm"/>
    <fo:table-column column-width="2.81167c m"/>
    <fo:table-footer>

    <fo:table-row>
    <fo:table-cell/><fo:table-cell border-top-style="solid" border-top-
    width="0.03513c m" border-top-color="#000000" display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="PIE/RECAUDADOR/
    IMPTOTAL"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/PIE/RECAUDADOR/RECAUDALIST/RECAUDA">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="EMPRESA "/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="IMPSUBT "/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </fo:block></fo:block-container>

    <!-- Código de barra ente recaudador-->


    <fo:block-container position="absol ute" top="3.0cm" left="13.20cm"
    height="1cm" width="6cm">
    <fo:block line-height="0.46392 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" position="relat ive"
    top="3.0cm" left="13.20cm" height="1cm" width="5cm" color="#000000"
    font-family="BARRA" font-size="10.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/
    RECAUDADOR/BARRAR"/>
    </fo:block>

    <fo:block line-height="1.0cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="start" position="inher it"
    top="5.0cm" left="13.20cm" height="1cm" width="8cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/
    RECAUDADOR/TEXTOBARRAR"/>
    </fo:block>


    </fo:block-container>

    <fo:block/>

    <!-- ***** FIN RESTO DEL TALON RECAUDADOR-->
    <!-- FIN PIE DE PAGINA PARA PAGINA FINAL-->
    </fo:static-content>






    <!-- PIE DE PAGINA DE LA ULTIMA PAGINA-->
    <fo:static-content flow-name="footer-only">

    <!-- RECAUDADOR-->

    <!-- ***** AVISO DE CORTE PARA EL TALON RECAUDADOR-->

    <xsl:if test="SERVICIOS/PIE/AVISO/DEUDA">

    <fo:block-container position="absol ute" top="1.0cm" left="0.05cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="left" position="relat ive"
    top="1.0cm" left="0.05cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt">
    <fo:inline>
    <xsl:text>Refer encia : </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="1.0cm" left="1.5cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="1.0cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    REFERENCIA"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absol ute" top="1.5cm" left="0.05cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="left" position="relat ive"
    top="1.5cm" left="0.05cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt">
    <fo:inline>
    <xsl:text>Deu da : </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="1.5cm" left="1.5cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="1.5cm" left="1.5cm" height="0.50cm" width="1.5cm" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    DEUDA"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.1cm" left="0.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt" text-
    decoration="und erline">
    <fo:inline>
    <xsl:text>Ultim o Pago </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.5cm" left="0.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    ULTIMOPAGO"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absol ute" top="2.1cm" left="2.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt" text-
    decoration="und erline">
    <fo:inline>
    <xsl:text>Fec ha Corte </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.5cm" left="2.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.5cm" left="0.5cm" height="0.50cm" width="1.5cm" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    FECHACORTE"/>
    </fo:block>
    </fo:block-container>

    </xsl:if>


    <!-- ***** FIN AVISO DE CORTE PARA EL TALON RECAUDADOR-->

    <!-- ***** RESTO DEL TALON RECAUDADOR-->

    <fo:block-container position="absol ute" top="3.0cm" left="6.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="3.0cm" left="6.00cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/PERFACT"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absol ute" top="4.0cm" left="6.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="start" position="relat ive"
    top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FULPBCO"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="2.0cm" left="9.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="center" position="relat ive"
    top="2.0cm" left="9.00cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FFACTUR"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="3.0cm" left="9.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.46392 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="center" position="relat ive"
    top="3.0cm" left="9.00cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FVENCIM"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absol ute" top="4.0cm" left="9.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="start" position="relat ive"
    top="4.0cm" left="8.5cm" height="0.50cm" width="1.50cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/
    RECAUDADOR/IMPTOTAL"/>
    </fo:block>
    </fo:block-container>



    <!-- Tabla de Subtotales que integran la factura-->

    <fo:block-container position="absol ute" top="1.50cm" left="13.2182cm "
    height="2.70624 cm" width="4.42839c m" >
    <fo:block span="none"><!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed">
    <fo:table-column column-width="3.0cm"/>
    <fo:table-column column-width="2.81167c m"/>
    <fo:table-footer>

    <fo:table-row>
    <fo:table-cell/><fo:table-cell border-top-style="solid" border-top-
    width="0.03513c m" border-top-color="#000000" display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/
    RECAUDADOR/IMPTOTAL"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/PIE/RECAUDADOR/RECAUDALIST/RECAUDA">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="EMPRESA "/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="IMPSUBT "/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </fo:block></fo:block-container>

    <!-- Código de barra ente recaudador-->


    <fo:block-container position="absol ute" top="3.0cm" left="13.20cm"
    height="1cm" width="6cm">
    <fo:block line-height="0.46392 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" position="relat ive"
    top="3.0cm" left="13.20cm" height="1cm" width="5cm" color="#000000"
    font-family="BARRA" font-size="10.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/
    RECAUDADOR/BARRAR"/>
    </fo:block>

    <fo:block line-height="1.0cm" white-space-collapse="false " linefeed-
    treatment="pres erve" text-align="start" position="inher it"
    top="5.0cm" left="13.20cm" height="1cm" width="8cm" color="#000000"
    font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/
    RECAUDADOR/TEXTOBARRAR"/>
    </fo:block>

    </fo:block-container>

    <fo:block/>

    <!-- ***** FIN RESTO DEL TALON RECAUDADOR-->

    <!-- FIN PIE DE PAGINA PARA PAGINA FINAL-->
    </fo:static-content>







    <!--PIE DE PAGINA PARA Todas menos PAGINA FINAL-->

    <fo:static-content flow-name="footer-any">
    <fo:block>

    </fo:block>
    </fo:static-content>


    <fo:static-content flow-name="xsl-region-start">
    <fo:block/>
    </fo:static-content>
    <fo:static-content flow-name="xsl-region-end">
    <fo:block/>
    </fo:static-content>

    <!--CUERPO : DETALLE -->

    <fo:flow flow-name="D-CONSUMOS">

    <!-- TABLA PRINCIPAL DE CONSUMOS ELECTRICOS-->

    <fo:table table-layout="fixed" width="100%" >

    <fo:table-column column-width="8.82164c m"/>

    <fo:table-header>

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    <xsl:text>Sumin istro Eléctrico. Identificación :</xsl:text></
    fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECER A/IDSUPPLY"/
    >
    </fo:inline>
    <fo:inline>
    <xsl:text>
    </xsl:text></fo:inline>
    <fo:inline>
    <xsl:text>Ref . de Pago : </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECER A/REQSEC"/>
    </fo:inline>
    <fo:inline>
    <xsl:text>.</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECER A/IDSUPPLY"/
    >
    </fo:inline>
    <fo:inline>
    <xsl:text>.</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECER A/SUPPLYS"/>
    </fo:inline>
    <fo:inline>
    <xsl:text>-</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECER A/FFACTUR"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Tarif a: </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN0 0001']/
    LTARIFA"/>
    </fo:inline>
    <fo:inline>
    <xsl:text - Pot. Cont : (</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN0 0001']/
    LUDMPOTC"/>
    </fo:inline>
    <fo:inline>
    <xsl:text>) </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN0 0001']/
    LPOTENC"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Domic ilio : </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN0 0001']/
    LDOMSUM"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    <xsl:text>
    </xsl:text></fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    <xsl:text>
    </xsl:text>
    </fo:inline>
    </fo:block>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-header<!-- TERMINA CABECERA DE TABLA PRINCIPAL CONSUMOS
    ELECTRICOS-->

    <fo:table-body<!-- COMIENZA CUERPO DE TABLA PRINCIPAL CONSUMOS
    ELECTRICOS-->
    <xsl:for-each select="SERVICI OS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/
    CONSUMO[TCONSUM='TFGEN0 0001']"><!--CE-->
    <fo:table-row><!--CR-->
    <fo:table-cell display-align="before"< !--CC-->
    <fo:block span="all"<!--CB-->



    <!-- Crea TABLA DE MEDIDORES-->
    <fo:table table-layout="fixed" width="100%"<!--MT-->
    <fo:table-column column-width="8.7162cm "/>
    <fo:table-body><!--MB-->
    <xsl:for-each select="MEDIDOR LIST/MEDIDOR"><!--ME-->
    <fo:table-row><!--MR-->
    <fo:table-cell display-align="before"> <!--MC-->

    <fo:block span="all"<!--MB-->


    <!-- Crea TABLA DE CONSUMOS POR MEDIDOR-->

    <fo:table table-layout="fixed" width="100%"<!--CMT-->
    <fo:table-column column-width="1.86273c m"/>
    <fo:table-column column-width="1.33554c m"/>
    <fo:table-column column-width="1.37069c m"/>
    <fo:table-column column-width="1.12467c m"/>
    <fo:table-column column-width="1.40583c m"/>

    <fo:table-header><!--CMH-->
    <fo:table-row><!--CMHR1-->
    <fo:table-cell number-columns-spanned="5" display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    <xsl:text>Medid or </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="NUMMED"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Perío do de Consumo : </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="MEDCONS LIST/MEDCONS/
    PERCONS"/>
    </fo:inline>
    </fo:block>
    </fo:block>
    </fo:table-cell>
    </fo:table-row><!--CMHR1-->

    <fo:table-row><!--CMHR2-->
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Tip o de Consumo</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Lec . Ant.</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Lec . Act.</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Cte .</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Consu mo</xsl:text></fo:block>
    </fo:table-cell>
    </fo:table-row><!--CMHR2-->

    </fo:table-header><!--CMH-->

    <fo:table-footer<!--CMF-->

    <fo:table-row>
    <fo:table-cell number-columns-spanned="5" display-align="before">
    <fo:block padding-top="0.21087cm" line-height="0.5061c m" white-space-
    collapse="false " linefeed-treatment="pres erve" text-align="start"
    color="#000000" font-family="Arial" font-size="12.0pt">
    <xsl:text>
    </xsl:text></fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer<!--CMF-->


    <fo:table-body<!--CMB-->

    <xsl:for-each select="MEDCONS LIST/MEDCONS">

    <fo:table-row>

    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="justify" color="#000000"
    font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="TIPOCON "/>
    </fo:block>
    </fo:table-cell>

    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="LECANT"/>
    </fo:block>
    </fo:table-cell>

    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="LECACT"/>
    </fo:block>
    </fo:table-cell>

    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="CTE"/>
    </fo:block>
    </fo:table-cell>

    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="CONSUMO "/>
    </fo:block>
    </fo:table-cell>

    </fo:table-row>
    </xsl:for-each>
    </fo:table-body<!--CMB-->


    </fo:table><!--CMT-->

    </fo:block<!--MB-->

    </fo:table-cell><!--MC-->
    </fo:table-row><!--MR-->
    </xsl:for-each><!--ME-->
    </fo:table-body><!--MB-->
    </fo:table><!--MT-->

    </fo:block<!--CB-->

    </fo:table-cell><!--CC-->
    </fo:table-row><!--CR-->
    </xsl:for-each><!--CE-->
    </fo:table-body><!--CB-->

    </fo:table><!--CT-->



    <!-- TABLA PRINCIPAL DE CONSUMOS AGUA-->

    <xsl:if test="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO/
    TCONSUM='TFGEN2 0001'">


    <!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="8.89193c m"/>
    <fo:table-header>

    <fo:table-row>
    <fo:table-cell border-top-style="dotted" border-top-width="0.03514c m"
    border-top-color="#000000" display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    <xsl:text>Servi cio Sanitario.</xsl:text></fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Loc .: </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    ALOCDIS"/>
    </fo:inline>
    <fo:inline>
    <xsl:text- Catastro:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    ACATAST"/>
    </fo:inline>
    <fo:inline>
    <xsl:text- Cond.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    ACONDOM"/>
    </fo:inline>
    <fo:inline>
    <xsl:text- Cód Serv. :</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    ACODSER"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Clien te:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    ANUMCTE"/>
    </fo:inline>
    <fo:inline>
    <xsl:text- Propietario : </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    APROPIE"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Sec.: </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    ASECCION"/>
    </fo:inline>
    <fo:inline>
    <xsl:text- Mzna.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    AMANZANA"/>
    </fo:inline>
    <fo:inline>
    <xsl:text- Parc.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    APARCEL"/>
    </fo:inline>
    <fo:inline>
    <xsl:text- Leg.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    ALEGAJO"/>
    </fo:inline>
    <fo:inline>
    <xsl:text- Cod.Fact.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN2 0001']/
    ACODFAC"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    <xsl:text>
    </xsl:text></fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    <xsl:text>
    </xsl:text></fo:inline>
    </fo:block>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-header>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/
    CONSUMO[TCONSUM='TFGEN2 0001']">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block span="none"><!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="8.78649c m"/>
    <fo:table-body>
    <xsl:for-each select="MEDIDOR LIST/MEDIDOR">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block span="none"><!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="1.79244c m"/>
    <fo:table-column column-width="1.40583c m"/>
    <fo:table-column column-width="1.33554c m"/>
    <fo:table-column column-width="1.2301cm "/>
    <fo:table-column column-width="1.26525c m"/>
    <fo:table-header>

    <fo:table-row>
    <fo:table-cell number-columns-spanned="5" display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    <xsl:text>Medid or </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="NUMMED"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false " linefeed-
    treatment="pres erve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Perí odo de Consumo: </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="MEDCONS LIST/MEDCONS/
    PERCONS"/>
    </fo:inline>
    </fo:block>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Tip o de Consumo</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Lec . Ant.</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Lec . Act.</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Cte .</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Consu mo</xsl:text></fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-header>
    <fo:table-footer>

    <fo:table-row>
    <fo:table-cell number-columns-spanned="5" display-align="before">
    <fo:block padding-top="0.21087cm" line-height="0.5061c m" white-space-
    collapse="false " linefeed-treatment="pres erve" text-align="start"
    color="#000000" font-family="Arial" font-size="12.0pt">
    <xsl:text>
    </xsl:text></fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONS LIST/MEDCONS/
    TIPOCON"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONS LIST/MEDCONS/
    LECANT"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONS LIST/MEDCONS/
    LECACT"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONS LIST/MEDCONS/
    CTE"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONS LIST/MEDCONS/
    CONSUMO"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-body>
    </fo:table>
    </fo:block></fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </fo:block></fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </xsl:if>
    </fo:flow>



    <fo:flow flow-name="D-CONCEPTOS">

    <!--********* TABLA PRINCIPAL DE LOS CONCEPTOS ************-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>

    <fo:table-footer>

    <!--DEFINO Y TRAIGO LAS MARCAS PARA EL TOTAL DE LOS CONCEPTOS O EL
    TRANSPORTE-->

    <fo:table-row>
    <fo:table-cell
    padding-before="2pt"
    padding-after="2pt"
    border-before-precedence="for ce"
    number-columns-spanned="2"
    display-align="center"
    text-align="center"
    block-progression-dimension="24pt "
    >
    <fo:block>
    <fo:retrieve-table-marker retrieve-class-name="table-
    footer-continued"
    retrieve-position-within-table="last-ending"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>



    <fo:table-body<!-- COMIENZA CUERPO DE TABLA PRINCIPAL DE CONCEPTOS--
    >
    <!--MARCAS UTILIZADAS PARA EL TOTAL DE LOS CONCEPTOS O EL TRANSPORTE--
    >
    <fo:marker marker-class-name="table-caption-continued"/>
    <fo:marker marker-class-name="table-footer-continued"/>


    <xsl:for-each select="SERVICI OS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO"/
    ><!--CE-->
    <fo:table-row><!--CR-->


    <fo:table-cell display-align="before"< !--CC-->

    <fo:marker marker-class-name="table-caption-continued">
    (continued)</fo:marker>
    <fo:marker marker-class-name="table-footer-continued">
    - Transporte...-</fo:marker>

    <fo:block span="all"<!--CB-->



    <!-- CONCEPTOS ENERGIA-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>
    <fo:table-footer>
    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN0 0001']/TEXTO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN0 0001']/IMPORTE"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/DETCONCEPTOS/CONCEPTOLIST/
    CONCEPTO[TIPSUBT='TFGEN0 0001']">

    <fo:table-row>
    <fo:table-cell number-columns-spanned="2" display-align="before">
    <fo:block span="none"><!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>
    <fo:table-body>
    <xsl:for-each select="CONCEPT ODLIST/CONCEPTOD">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="DDESCON C"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="IMPCONC "/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </fo:block></fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>

    <!--FIN CONCEPTOS ENERGIA!-->

    <xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/
    TIPSUBT='TFGEN2 0001'">

    <!-- CONCEPTOS SANITARIOS!-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>
    <fo:table-footer>

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN2 0001']/TEXTO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN2 0001']/IMPORTE"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/DETCONCEPTOS/CONCEPTOLIST/
    CONCEPTO[TIPSUBT='TFGEN2 0001']">

    <fo:table-row>
    <fo:table-cell number-columns-spanned="2" display-align="before">
    <fo:block span="none"><!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>
    <fo:table-body>
    <xsl:for-each select="CONCEPT ODLIST/CONCEPTOD">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="DDESCON C"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="IMPCONC "/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </fo:block></fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>

    </xsl:if>
    <!-- FIN CONCEPTOS SANITARIO!-->


    <xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/
    TIPSUBT='TFGEN2 0002'">

    <!-- CONCEPTOS TGI!-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>
    <fo:table-footer>

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN2 0002']/TEXTO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN2 0002']/IMPORTE"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/DETCONCEPTOS/CONCEPTOLIST/
    CONCEPTO[TIPSUBT='TFGEN2 0002']">

    <fo:table-row>
    <fo:table-cell number-columns-spanned="2" display-align="before">
    <fo:block span="none"><!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>
    <fo:table-body>
    <xsl:for-each select="CONCEPT ODLIST/CONCEPTOD">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="DDESCON C"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="IMPCONC "/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </fo:block></fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </xsl:if>
    <!-- FIN CONCEPTOS TGI!-->

    <xsl:if test="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/CONCEPTO/
    TIPSUBT='TFGEN2 0003'">

    <!-- CONCEPTOS ALUMBRADO PUBLICO!-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>
    <fo:table-footer>

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN2 0003']/TEXTO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN2 0003']/IMPORTE"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/DETCONCEPTOS/CONCEPTOLIST/
    CONCEPTO[TIPSUBT='TFGEN2 0003']">

    <fo:table-row>
    <fo:table-cell number-columns-spanned="2" display-align="before">
    <fo:block span="none"><!-- GENERATE TABLE START-->

    <fo:table table-layout="fixed" width="100%">
    <fo:table-column column-width="9.0cm"/>
    <fo:table-column column-width="2.5cm"/>
    <fo:table-body>
    <xsl:for-each select="CONCEPT ODLIST/CONCEPTOD">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="DDESCON C"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374c m" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="IMPCONC "/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </fo:block></fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>

    </xsl:if>

    </fo:block>


    </fo:table-cell>
    </fo:table-row>



    <fo:table-row><!--CR-->


    <fo:table-cell display-align="before"< !--CC-->

    <!--MARCAS UTILIZADAS PARA EL TOTAL DE LOS CONCEPTOS O EL TRANSPORTE--
    >
    <fo:marker marker-class-name="table-caption-continued">
    (continued)</fo:marker>
    <fo:marker marker-class-name="table-footer-continued">

    <fo:block text-align="end" white-space-collapse="false "
    linefeed-treatment="pres erve" >
    <xsl:text>Tot al : </xsl:text>
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/
    PIE/RECAUDADOR/IMPTOTAL"/>
    </fo:block>

    </fo:marker>


    </fo:table-cell>
    </fo:table-row>



    </fo:table-body>
    </fo:table>





    </fo:flow>

    <fo:flow flow-name="D-COMPLEMENTARIA" >
    <!-- Información Complementaria **** HAY QUE PONER UN IF POR EL TIPO
    DE MENSAJE-->

    <fo:block-container position="absol ute" top="0cm" left="0.0cm"
    height="4.0cm" width="14.0cm" >
    <fo:block span="none">
    <!--Tabla de mensajes Info Complementaria-->
    <fo:table table-layout="fixed">
    <fo:table-column column-width="14.0cm"/>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/PIE/COMPLEMENTARIA/COMPLEMENTLIST/
    MESSAGES/MESSAGES/MESSAGE_DATA">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block padding-top="0.1933cm" line-height="0.46392 cm" white-space-
    collapse="false " linefeed-treatment="pres erve" text-align="start"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="TEXT"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each>
    </fo:table-body>
    </fo:table>
    </fo:block>
    </fo:block-container>
    </fo:flow>


    <fo:flow flow-name="D-SUSPENCION">
    <!-- **************I nformación SUSPENCION ***************-->


    <xsl:if test="SERVICIOS/PIE/AVISO/MAVISOLIST/MAVISO">

    <fo:block-container position="absol ute" top="0cm" left="0.0cm"
    height="4.8cm" width="4.8cm" >
    <fo:block span="none">
    <!--Tabla de mensajes Info Complementaria-->
    <fo:table table-layout="fixed">
    <fo:table-column column-width="4.8cm"/>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/PIE/AVISO">

    <fo:table-row>
    <fo:table-cell display-align="before">

    <fo:block>
    <fo:marker marker-class-name="continued ">Continued </fo:marker>
    <fo:marker marker-class-name="total" />
    </fo:block>

    <fo:block padding-top="0.1933cm" line-height="0.30cm" white-space-
    collapse="false " linefeed-treatment="pres erve" text-align="start"
    color="#000000" font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="AVISOTE XT"/>

    </fo:block>

    </fo:table-cell>
    </fo:table-row>

    </xsl:for-each>
    </fo:table-body>
    </fo:table>

    <fo:table table-layout="fixed">
    <fo:table-column column-width="0.80cm"/>
    <fo:table-column column-width="1.00cm"/>
    <fo:table-column column-width="1.00cm"/>
    <fo:table-column column-width="1.00cm"/>
    <fo:table-column column-width="1.00cm"/>
    <fo:table-header>

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="und erline">
    <fo:inline text-decoration="und erline"><xsl:te xt>Período</xsl:text></
    fo:inline></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="und erline">
    <fo:inline text-decoration="und erline">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    MAVISOLIST/MAVISO/SERVICIO1"/>
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="und erline">
    <fo:inline text-decoration="und erline">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    MAVISOLIST/MAVISO/SERVICIO2"/>
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="und erline">
    <fo:inline text-decoration="und erline">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    MAVISOLIST/MAVISO/SERVICIO3"/>
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="und erline">
    <fo:inline text-decoration="und erline">
    <xsl:value-of disable-output-escaping="no" select="SERVICI OS/PIE/AVISO/
    MAVISOLIST/MAVISO/SERVICIO4"/>
    </fo:inline>
    </fo:block>
    </fo:table-cell>

    </fo:table-row>
    </fo:table-header>
    <fo:table-body>
    <xsl:for-each select="SERVICI OS/PIE/AVISO/MAVISOLIST">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MAVISO/PERIODO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE1"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE2"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE3"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305 cm" white-space-collapse="false "
    linefeed-treatment="pres erve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MAVISO/IMPORTE4"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </xsl:for-each></fo:table-body>
    </fo:table>
    </fo:block>
    </fo:block-container>
    </xsl:if>
    </fo:flow>


    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    </xsl:stylesheet>


    xml example :

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <IMPFAC>
    <CABECERA><PTOV TA>1</PTOVTA><TIPFACT >ENERGIA</TIPFACT><VOUTYP E>0</
    VOUTYPE><EMPRES A>05</EMPRESA><NOMCLI E>POLIMETAL S.A</
    NOMCLIE><NROFAC T>0000-00000001</NROFACT><SECIMP >1</
    SECIMP><DOMICEN >1010;ANCHORADE ;BEND;DESCHUTES ;OREGON;6543312 32;</
    DOMICEN><FFACTU R>05022008</FFACTUR><CONDFI S>IVA RESPONSABLE INSCRIPTO</
    CONDFIS><CUIT>3 0-61651206-2</CUIT><IBRUTOS>A LCANZADO</
    IBRUTOS><PERFAC T>200610</PERFACT><FVENCI M>02/11/2006</
    FVENCIM><FPVENC IM>02/11/2006</FPVENCIM><FULPB CO>24/11/2004</
    FULPBCO><CONDVE ></CONDVE><BARRAC> E:21/10/2007r30-I:340r466/7</
    BARRAC><BARRACT XT>E:21/10/2007r30-I:340r466/7</BARRACTXT><REQS EC>1</
    REQSEC><IDSUPPL Y>1004100</IDSUPPLY><SUPPL YS>1</
    SUPPLYS><FFACTF M>050208</FFACTFM></CABECERA>

    <SERVICIOS><DET CONSUMO><DETCON SUMO><CONSUMOLI ST><CONSUMO><TC ONSUM>TFGEN0000 1</
    TCONSUM><LIDSUM I>1004100</LIDSUMI><LTARIF A>T3-BT</
    LTARIFA><LPOTEN C>456</LPOTENC><LUDMPO TC>Kwh</LUDMPOTC><LDOMS UM>CALLE
    106 NRO PUERTA 146, PARQUE INDUSTRIAL SUR , SALTA</LDOMSUM><LDENOM I></
    LDENOMI><ACATAS T></ACATAST><ACONDO M></ACONDOM><ACODSE R></
    ACODSER><ANUMCT E></ANUMCTE><APROPI E></APROPIE><ASECCI ON></
    ASECCION><APARC EL></APARCEL><ALEGAJ O></ALEGAJO><ACODFA C></
    ACODFAC><ALOCDI S></ALOCDIS><MEDIDO RLIST><MEDIDOR> <NUMMED>ABB A1R
    9615502 (electricidad)</
    NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007 - 30/11/2007</
    PERCONS><TIPOCO N>Activa - Punta</TIPOCON><LECANT >607</
    LECANT><LECACT> 641</LECACT><CTE>120 0.00</CTE><CONSUMO>40 800</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Activa - Valle</TIPOCON><LECANT >624</
    LECANT><LECACT> 663</LECACT><CTE>120 0</CTE><CONSUMO>46 800</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Activa - Resto</TIPOCON><LECANT >2015</
    LECANT><LECACT> 2113</LECACT><CTE>120 0</CTE><CONSUMO>11 7600</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Reactiva</TIPOCON><LECANT >1394</
    LECANT><LECACT> 1495</LECACT><CTE>120 0</CTE><CONSUMO>12 1200</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Punta</TIPOCON><LECANT >77250</
    LECANT><LECACT> 80520</LECACT><CTE>0,1 200</CTE><CONSUMO>39 2</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Valle</TIPOCON><LECANT >1460</
    LECANT><LECACT> 5430</LECACT><CTE>0,1 200</CTE><CONSUMO>47 6</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Resto</TIPOCON><LECANT >65210</
    LECANT><LECACT> 68410</LECACT><CTE>0,1 200</CTE><CONSUMO>38 4</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS></MEDCONSLIST></
    MEDIDOR><MEDIDO R><NUMMED>ABB A1R 9615503. (electricidad)</
    NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007 - 30/11/2007</
    PERCONS><TIPOCO N>Activa - Punta</TIPOCON><LECANT >607</
    LECANT><LECACT> 641</LECACT><CTE>120 0.00</CTE><CONSUMO>40 800</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Activa - Valle</TIPOCON><LECANT >624</
    LECANT><LECACT> 663</LECACT><CTE>120 0</CTE><CONSUMO>46 800</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Activa - Resto</TIPOCON><LECANT >2015</
    LECANT><LECACT> 2113</LECACT><CTE>120 0</CTE><CONSUMO>11 7600</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Reactiva</TIPOCON><LECANT >1394</
    LECANT><LECACT> 1495</LECACT><CTE>120 0</CTE><CONSUMO>12 1200</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Punta</TIPOCON><LECANT >77250</
    LECANT><LECACT> 80520</LECACT><CTE>0,1 200</CTE><CONSUMO>39 2</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Valle</TIPOCON><LECANT >1460</
    LECANT><LECACT> 5430</LECACT><CTE>0,1 200</CTE><CONSUMO>47 6</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Resto</TIPOCON><LECANT >65210</
    LECANT><LECACT> 68410</LECACT><CTE>0,1 200</CTE><CONSUMO>38 4</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUM O><TCONSUM>TFGE N00001</
    TCONSUM><LIDSUM I>1004100</LIDSUMI><LTARIF A>T3-BT</
    LTARIFA><LPOTEN C>456</LPOTENC><LUDMPO TC>Kwh</LUDMPOTC><LDOMS UM>CALLE
    106 NRO PUERTA 146, PARQUE INDUSTRIAL SUR , SALTA</LDOMSUM><LDENOM I></
    LDENOMI><ACATAS T></ACATAST><ACONDO M></ACONDOM><ACODSE R></
    ACODSER><ANUMCT E></ANUMCTE><APROPI E></APROPIE><ASECCI ON></
    ASECCION><APARC EL></APARCEL><ALEGAJ O></ALEGAJO><ACODFA C></
    ACODFAC><ALOCDI S></ALOCDIS><MEDIDO RLIST><MEDIDOR> <NUMMED>ABB A1R
    9615502 (electricidad)</
    NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007 - 30/11/2007</
    PERCONS><TIPOCO N>Activa - Punta</TIPOCON><LECANT >607</
    LECANT><LECACT> 641</LECACT><CTE>120 0.00</CTE><CONSUMO>40 800</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Activa - Valle</TIPOCON><LECANT >624</
    LECANT><LECACT> 663</LECACT><CTE>120 0</CTE><CONSUMO>46 800</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Activa - Resto</TIPOCON><LECANT >2015</
    LECANT><LECACT> 2113</LECACT><CTE>120 0</CTE><CONSUMO>11 7600</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Reactiva</TIPOCON><LECANT >1394</
    LECANT><LECACT> 1495</LECACT><CTE>120 0</CTE><CONSUMO>12 1200</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Punta</TIPOCON><LECANT >77250</
    LECANT><LECACT> 80520</LECACT><CTE>0,1 200</CTE><CONSUMO>39 2</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Valle</TIPOCON><LECANT >1460</
    LECANT><LECACT> 5430</LECACT><CTE>0,1 200</CTE><CONSUMO>47 6</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Resto</TIPOCON><LECANT >65210</
    LECANT><LECACT> 68410</LECACT><CTE>0,1 200</CTE><CONSUMO>38 4</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS></MEDCONSLIST></
    MEDIDOR><MEDIDO R><NUMMED>ABB A1R 9615503. (electricidad)</
    NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007 - 30/11/2007</
    PERCONS><TIPOCO N>Activa - Punta</TIPOCON><LECANT >607</
    LECANT><LECACT> 641</LECACT><CTE>120 0.00</CTE><CONSUMO>40 800</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Activa - Valle</TIPOCON><LECANT >624</
    LECANT><LECACT> 663</LECACT><CTE>120 0</CTE><CONSUMO>46 800</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Activa - Resto</TIPOCON><LECANT >2015</
    LECANT><LECACT> 2113</LECACT><CTE>120 0</CTE><CONSUMO>11 7600</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Reactiva</TIPOCON><LECANT >1394</
    LECANT><LECACT> 1495</LECACT><CTE>120 0</CTE><CONSUMO>12 1200</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Punta</TIPOCON><LECANT >77250</
    LECANT><LECACT> 80520</LECACT><CTE>0,1 200</CTE><CONSUMO>39 2</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Valle</TIPOCON><LECANT >1460</
    LECANT><LECACT> 5430</LECACT><CTE>0,1 200</CTE><CONSUMO>47 6</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS><MEDCON S><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCO N>Pot. Reg. Resto</TIPOCON><LECANT >65210</
    LECANT><LECACT> 68410</LECACT><CTE>0,1 200</CTE><CONSUMO>38 4</
    CONSUMO><TANGFI >0.59</TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUM O><TCONSUM>TFGE N20001</TCONSUM><LIDSUM I></
    LIDSUMI><LTARIF A></LTARIFA><LPOTEN C></LPOTENC><LDOMSU M></
    LDOMSUM><LDENOM I></LDENOMI><ACATAS T>009671</ACATAST><ACONDO M>000</
    ACONDOM><ACODSE R>0</ACODSER><ANUMCT E>10444</ANUMCTE><APROPI E>Polimetal
    S.A.</APROPIE><ASECCI ON>C</ASECCION><AMANZ ANA>006</
    AMANZANA><APARC EL>041</APARCEL><ALEGAJ O>0</ALEGAJO><ACODFA C>0</
    ACODFAC><ALOCDI S>001</ALOCDIS><MEDIDO RLIST><MEDIDOR> <NUMMED>GALIL EO
    999UO (agua potable)</NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCO N>Metros Cubicos</TIPOCON><LECANT >20045</
    LECANT><LECACT> 67455</LECACT><CTE>0,1 000</CTE><CONSUMO>47 41</
    CONSUMO><TANGFI ></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUM O><TCONSUM>TFGE N20001</TCONSUM><LIDSUM I></
    LIDSUMI><LTARIF A></LTARIFA><LPOTEN C></LPOTENC><LDOMSU M></
    LDOMSUM><LDENOM I></LDENOMI><ACATAS T>009671</ACATAST><ACONDO M>000</
    ACONDOM><ACODSE R>0</ACODSER><ANUMCT E>10444</ANUMCTE><APROPI E>Polimetal
    S.A.</APROPIE><ASECCI ON>C</ASECCION><AMANZ ANA>006</
    AMANZANA><APARC EL>041</APARCEL><ALEGAJ O>0</ALEGAJO><ACODFA C>0</
    ACODFAC><ALOCDI S>001</ALOCDIS><MEDIDO RLIST><MEDIDOR> <NUMMED>GALIL EO
    999UO (agua potable)</NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCO N>Metros Cubicos</TIPOCON><LECANT >20045</
    LECANT><LECACT> 67455</LECACT><CTE>0,1 000</CTE><CONSUMO>47 41</
    CONSUMO><TANGFI ></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUM O><TCONSUM>TFGE N20001</TCONSUM><LIDSUM I></
    LIDSUMI><LTARIF A></LTARIFA><LPOTEN C></LPOTENC><LDOMSU M></
    LDOMSUM><LDENOM I></LDENOMI><ACATAS T>009671</ACATAST><ACONDO M>000</
    ACONDOM><ACODSE R>0</ACODSER><ANUMCT E>10444</ANUMCTE><APROPI E>Polimetal
    S.A.</APROPIE><ASECCI ON>C</ASECCION><AMANZ ANA>006</
    AMANZANA><APARC EL>041</APARCEL><ALEGAJ O>0</ALEGAJO><ACODFA C>0</
    ACODFAC><ALOCDI S>001</ALOCDIS><MEDIDO RLIST><MEDIDOR> <NUMMED>GALIL EO
    999UO (agua potable)</NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCO N>Metros Cubicos</TIPOCON><LECANT >20045</
    LECANT><LECACT> 67455</LECACT><CTE>0,1 000</CTE><CONSUMO>47 41</
    CONSUMO><TANGFI ></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUM O><TCONSUM>TFGE N20001</TCONSUM><LIDSUM I></
    LIDSUMI><LTARIF A></LTARIFA><LPOTEN C></LPOTENC><LDOMSU M></
    LDOMSUM><LDENOM I></LDENOMI><ACATAS T>009671</ACATAST><ACONDO M>000</
    ACONDOM><ACODSE R>0</ACODSER><ANUMCT E>10444</ANUMCTE><APROPI E>Polimetal
    S.A.</APROPIE><ASECCI ON>C</ASECCION><AMANZ ANA>006</
    AMANZANA><APARC EL>041</APARCEL><ALEGAJ O>0</ALEGAJO><ACODFA C>0</
    ACODFAC><ALOCDI S>001</ALOCDIS><MEDIDO RLIST><MEDIDOR> <NUMMED>GALIL EO
    999UO (agua potable)</NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCO N>Metros Cubicos</TIPOCON><LECANT >20045</
    LECANT><LECACT> 67455</LECACT><CTE>0,1 000</CTE><CONSUMO>47 41</
    CONSUMO><TANGFI ></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUM O><TCONSUM>TFGE N20001</TCONSUM><LIDSUM I></
    LIDSUMI><LTARIF A></LTARIFA><LPOTEN C></LPOTENC><LDOMSU M></
    LDOMSUM><LDENOM I></LDENOMI><ACATAS T>009671</ACATAST><ACONDO M>000</
    ACONDOM><ACODSE R>0</ACODSER><ANUMCT E>10444</ANUMCTE><APROPI E>Polimetal
    S.A.</APROPIE><ASECCI ON>C</ASECCION><AMANZ ANA>006</
    AMANZANA><APARC EL>041</APARCEL><ALEGAJ O>0</ALEGAJO><ACODFA C>0</
    ACODFAC><ALOCDI S>001</ALOCDIS><MEDIDO RLIST><MEDIDOR> <NUMMED>GALIL EO
    999UO (agua potable)</NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCO N>Metros Cubicos</TIPOCON><LECANT >20045</
    LECANT><LECACT> 67455</LECACT><CTE>0,1 000</CTE><CONSUMO>47 41</
    CONSUMO><TANGFI ></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUM O><TCONSUM>TFGE N20001</TCONSUM><LIDSUM I></
    LIDSUMI><LTARIF A></LTARIFA><LPOTEN C></LPOTENC><LDOMSU M></
    LDOMSUM><LDENOM I></LDENOMI><ACATAS T>009671</ACATAST><ACONDO M>000</
    ACONDOM><ACODSE R>0</ACODSER><ANUMCT E>10444</ANUMCTE><APROPI E>Polimetal
    S.A.</APROPIE><ASECCI ON>C</ASECCION><AMANZ ANA>006</
    AMANZANA><APARC EL>041</APARCEL><ALEGAJ O>0</ALEGAJO><ACODFA C>0</
    ACODFAC><ALOCDI S>001</ALOCDIS><MEDIDO RLIST><MEDIDOR> <NUMMED>GALIL EO
    999UO (agua potable)</NUMMED><MEDCONS LIST><MEDCONS>< PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCO N>Metros Cubicos</TIPOCON><LECANT >20045</
    LECANT><LECACT> 67455</LECACT><CTE>0,1 000</CTE><CONSUMO>47 41</
    CONSUMO><TANGFI ></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO></CONSUMOLIST></DETCONSUMO></
    DETCONSUMO><DET CONCEPTOS><CONC EPTOLIST><CONCE PTO><TIPSUBT>TF GEN00001</
    TIPSUBT><IMPORT E>29774.25</IMPORTE><TEXTO> Subtotal Suministro de
    Electricidad</TEXTO><CONCEPTO DLIST><CONCEPTO D><CODCONC>UNEO </
    CODCONC><DESCCO NC>UNEO</DESCCONC><DDESC ONC>Cargo Fijo Mensual (12/365
    X 30 dias a 182.0048 $/mes)</DDESCONC><IMPCO NC>179,51</IMPCONC></
    CONCEPTOD><CONC EPTOD><CODCONC> DOS</CODCONC><DESCCO NC>DOS</
    DESCCONC><DDESC ONC>Energía Activa Punta (40800 kWh a 0.118 $/Kwh)</
    DDESCONC><IMPCO NC>4561,44</IMPCONC></
    CONCEPTOD><CONC EPTOD><CODCONC> TRES</CODCONC><DESCCO NC>TRES</
    DESCCONC><DDESC ONC>Energía Activa Valle (46800 kWh a 0.0882 $/kWh)</
    DDESCONC><IMPCO NC>4127,66</IMPCONC></
    CONCEPTOD><CONC EPTOD><CODCONC> CUATRO</CODCONC><DESCCO NC>CUATRO</
    DESCCONC><DDESC ONC>Energía Activa Resto (117600 Kwh a 0.1398 $/Kwh)</
    DDESCONC><IMPCO NC>11407,20</IMPCONC></
    CONCEPTOD><CONC EPTOD><CODCONC> CINCO</CODCONC><DESCCO NC>CINCO</
    DESCCONC><DDESC ONC>Máxima Cap. Suministro (a 6.3758 $/KW mes)</
    DDESCONC><IMPCO NC>3056,19</IMPCONC></
    CONCEPTOD><CONC EPTOD><CODCONC> SEIS</CODCONC><DESCCO NC>SEIS</
    DESCCONC><DDESC ONC>IVA RESPONABLE INSCRIPTO (27%)</
    DDESCONC><IMPCO NC>6299,66</IMPCONC></
    CONCEPTOD><CONC EPTOD><CODCONC> SIETE</CODCONC><DESCCO NC>SIETE</
    DESCCONC><DDESC ONC>Impuesto Nacional Ley 23681 (0.6%)</
    DDESCONC><IMPCO NC>139,.99</IMPCONC></
    CONCEPTOD><CONC EPTOD><CODCONC> OCHO</CODCONC><DESCCO NC>OCHO</
    DESCCONC><DDESC ONC>Incidencia Alumbrado Publico (18.747 kWh a 0.1398 $/
    Kwh)</DDESCONC><IMPCO NC>2,62</IMPCONC></CONCEPTOD></CONCEPTODLIST></
    CONCEPTO><CONCE PTO><TIPSUBT>TF GEN20001</TIPSUBT><IMPORT E>29.51</
    IMPORTE><TEXTO> Subtotal a nombre y por cuenta y orden de SPASSA</
    TEXTO><CONCEPTO DLIST><CONCEPTO D><CODCONC>UNO </CODCONC><DESCCO NC>UNO</
    DESCCONC><DDESC ONC>Servicios Sanitarios</DDESCONC><IMPCO NC>21,47</
    IMPCONC></CONCEPTOD><CONC EPTOD><CODCONC> DOS</CODCONC><DESCCO NC>DOS</
    DESCCONC><DDESC ONC>Intereses por pago fuera de término (2006/08)</
    DDESCONC><IMPCO NC>1.43</IMPCONC></CONCEPTOD><CONC EPTOD><CODCONC> DOSS</
    CODCONC><DESCCO NC>DOS</DESCCONC><DDESC ONC>Tasa de fiscalizacion y
    control (2%)</DDESCONC><IMPCO NC>0.43</IMPCONC></
    CONCEPTOD><CONC EPTOD><CODCONC> TRES</CODCONC><DESCCO NC>TRES</
    DESCCONC><DDESC ONC>IVA RESPONSABLE INSCRIPTO (27%)</
    DDESCONC><IMPCO NC>6.18</IMPCONC></CONCEPTOD></CONCEPTODLIST></
    CONCEPTO><CONCE PTO><TIPSUBT>TF GEN20002</TIPSUBT><IMPORT E>10</
    IMPORTE><TEXTO> Subtotal a nombre y por cuenta y orden de Munic. de
    Salta</TEXTO><CONCEPTO DLIST><CONCEPTO D><CODCONC>UNO </
    CODCONC><DESCCO NC>UNO</DESCCONC><DDESC ONC>Tasa General de Inmbuebles</
    DDESCONC><IMPCO NC>10</IMPCONC></CONCEPTOD></CONCEPTODLIST></
    CONCEPTO><CONCE PTO><TIPSUBT>TF GEN20003</TIPSUBT><IMPORT E>4,43</
    IMPORTE><TEXTO> Subtotal a nombre y por cuenta y orden de LSAL UTE</
    TEXTO><CONCEPTO DLIST><CONCEPTO D><CODCONC>UNO </CODCONC><DESCCO NC>UNO</
    DESCCONC><DDESC ONC>Operación y Mantenimiento Red Alumbrado Público</
    DDESCONC><IMPCO NC>3,45</IMPCONC></CONCEPTOD><CONC EPTOD><CODCONC> DOS</
    CODCONC><DESCCO NC>Intereses por pago fuera de término</
    DESCCONC><DDESC ONC>Intereses por pago fuera de término (2006/08)</
    DDESCONC><IMPCO NC>0,21</IMPCONC></CONCEPTOD><CONC EPTOD><CODCONC> TRES</
    CODCONC><DESCCO NC>IVA RESPONSABLE INSCRIPTO</DESCCONC><DDESC ONC>IVA
    RESPONSABLE INSCRIPTO (21%)</DDESCONC><IMPCO NC>0,77</IMPCONC></
    CONCEPTOD></CONCEPTODLIST></CONCEPTO></CONCEPTOLIST></
    DETCONCEPTOS><P IE><AVISO><MAVI SOLIST><MAVISO> <PERIODO>200609 </
    PERIODO><SERVIC IO1>$ Edesa</SERVICIO1><IMPO RTE1>3456.09</
    IMPORTE1><SERVI CIO2>$ SPASSA</SERVICIO2><IMPO RTE2>45.00</
    IMPORTE2><SERVI CIO3>$ TGI</SERVICIO3><IMPO RTE3>45.00</
    IMPORTE3><SERVI CIO4>$ LUSAL</SERVICIO4><IMPO RTE4>4.00</IMPORTE4></
    MAVISO></MAVISOLIST><AVI SOTEXT>UNICO AVISO DE SUSPENCION : Estimado
    Cliente, al dia de emision del presente Ud registra un estimado de
    deuda que se detalla en este talón.De no registrarse el pago hasta el
    12/11/2005 procederemos a la sispención del servicio dentro de las
    siguientes 72 hs</AVISOTEXT><REFE RENCIA>1004100-19/10/06</
    REFERENCIA><DEU DA>3456.09</DEUDA><ULTIMOPA GO>01-11-06</
    ULTIMOPAGO><FEC HACORTE>01-11-06</FECHACORTE><BAR RAAVISO></BARRAAVISO></
    AVISO><COMPLEME NTARIA><COMPLEM ENTLIST><MESSAG ES><MESSAGES><M ESSAGE_DATA>
    <CODE>REGINS1 </CODE><TYPE>5000 MSGTYP</TYPE><TEXT>No registra pagos
    desde el 21/09/2006 a la fecha de emisión </TEXT></
    MESSAGE_DATA><M ESSAGE_DATA><CO DE>LAH1</CODE><TYPE>6000 MSGTYP</
    TYPE><TEXT>Codi go de Pago Banelco 1004100</TEXT></MESSAGE_DATA></
    MESSAGES></MESSAGES></COMPLEMENTLIST> </COMPLEMENTARIA>
    <RECAUDADOR><IM PTOTAL>29818.19 </IMPTOTAL>
    <RECAUDALIST><R ECAUDA><EMPRESA >Electricidad </
    EMPRESA><IMPSUB T>29774,25</IMPSUBT></RECAUDA><RECAUD A><EMPRESA>SPAS SA</
    EMPRESA><IMPSUB T>29,51</IMPSUBT></RECAUDA><RECAUD A><EMPRESA>TGI </
    EMPRESA><IMPSUB T>10,00</IMPSUBT></RECAUDA><RECAUD A><EMPRESA>LUZS AL
    UTE</EMPRESA><IMPSUB T>4,43</IMPSUBT></RECAUDA></
    RECAUDALIST><TE XTOBARRAR></TEXTOBARRAR><BA RRAR></BARRAR></RECAUDADOR></
    PIE></SERVICIOS>
    </IMPFAC>
Working...