XSL : Slow

Discussion in 'XML' started by zamba, Apr 14, 2008.

  1. zamba

    zamba Guest

    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:stylesheet 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="http://
    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="true"/>
    <fo:region-after region-name="footer-any" extent="4.5cm"
    precedence="true"/>
    <fo:region-start extent="1.0cm" precedence="false"/>
    <fo:region-end extent="1cm" precedence="false"/>

    <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="SUSPENCION"
    margin-top="25.3cm" margin-bottom="3.5cm"
    margin-left="0.1cm" margin-right="14.5cm"/>

    <fo:region-body region-name="COMPLEMENTARIA"
    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="true"/>
    <fo:region-after region-name="footer-last" extent="4.5cm"
    precedence="true"/>
    <fo:region-start extent="1.0cm" precedence="false"/>
    <fo:region-end extent="1cm" precedence="false"/>

    <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="SUSPENCION"
    margin-top="25.3cm" margin-bottom="3.5cm"
    margin-left="0.1cm" margin-right="14.5cm"/>

    <fo:region-body region-name="COMPLEMENTARIA"
    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="true"/>
    <fo:region-after region-name="footer-only" extent="4.5cm"
    precedence="true"/>
    <fo:region-start extent="1.0cm" precedence="false"/>
    <fo:region-end extent="1cm" precedence="false"/>

    <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="SUSPENCION"
    margin-top="25.3cm" margin-bottom="3.5cm"
    margin-left="0.1cm" margin-right="14.5cm"/>

    <fo:region-body region-name="COMPLEMENTARIA"
    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:repeatable-page-master-alternatives>
    <fo:conditional-page-master-reference page-position="only"
    master-reference="a4only"/>

    <fo:conditional-page-master-reference page-position="last"
    master-reference="a4last"/>

    <fo:conditional-page-master-reference page-position="any"
    master-reference="a4any"/>


    </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="CONSUMOS"/>
    </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="CONCEPTOS"/>
    </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="SUSPENCION"/>
    </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="COMPLEMENTARIA"/>
    </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="document"
    flow-map-reference="DETALLE" id="document" >
    <xsl:attribute name="force-page-count">no-force</xsl:attribute>
    <fo:static-content flow-name="xsl-region-before">

    <fo:block-container position="absolute" top="0.7cm" left="4.4cm"
    height="0.5cm" width="9.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="start" position="relative"
    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="CABECERA/NOMCLIE"/
    >

    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="0.7cm" left="13.5cm"
    height="1.0cm" width="2.8cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/
    IDSUPPLY"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="0.7cm" left="16.3cm"
    height="1.0cm" width="3.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/NROFACT"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="1.7cm" left="4.4cm"
    height="0.5cm" width="12.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="start" position="relative"
    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="CABECERA/DOMICEN"/>
    </fo:block>

    </fo:block-container>
    <fo:block-container position="absolute" top="1.7cm" left="16.5cm"
    height="0.5cm" width="3.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    top="1.7cm" left="16.5cm" height="0.5cm" width="1.96817cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECERA/FVENCIM"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.5cm" left="4.2cm"
    height="0.5cm" width="5.0cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    top="2.5cm" left="4.2cm" height="0.5cm" width="6.92375cm"
    color="#000000" font-family="Arial" font-size="8.0pt">
    <xsl:value-of disable-output-escaping="no" select="CABECERA/CONDFIS"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.5cm" left="9.5cm"
    height="0.5cm" width="3.3cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/CUIT"/>
    </fo:block>

    </fo:block-container>
    <fo:block-container position="absolute" top="2.5cm" left="13.2cm"
    height="0.5cm" width="3.5cm">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="center" position="relative"
    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="CABECERA/IBRUTOS"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.2cm" left="16.9cm"
    height="0.56233cm" width="1.89788cm" display-align="before">
    <fo:block line-height="0.50961cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" position="relative"
    top="2.2cm" left="16.9cm" height="0.56233cm" width="1.89788cm"
    color="#000000" font-family="Arial" font-size="8.0pt">hoja <fo:page-
    number/> de <fo:page-number-citation-last ref-id="document"/></
    fo:block>
    </fo:block-container>


    <fo:block-container position="absolute" top="3.4cm" left="4.0cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="center" position="relative"
    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="CABECERA/PERFACT"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="3.4cm" left="6.8cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/FFACTUR"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="3.4cm" left="9.5cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/FULPBCO"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="3.4cm" left="12.3cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/FPVENCIM"/
    >

    </fo:block>
    </fo:block-container>


    <fo:block-container position="absolute" top="3.4cm" left="15cm"
    height="0.5cm" width="2.5cm">
    <fo:block line-height="0.5cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/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="absolute" top="1.0cm" left="0.05cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="left" position="relative"
    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>Referencia : </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="1.0cm" left="1.5cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="SERVICIOS/PIE/AVISO/
    REFERENCIA"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absolute" top="1.5cm" left="0.05cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="left" position="relative"
    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>Deuda : </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absolute" top="1.5cm" left="1.5cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="SERVICIOS/PIE/AVISO/
    DEUDA"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.1cm" left="0.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt" text-
    decoration="underline">
    <fo:inline>
    <xsl:text>Ultimo Pago </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.5cm" left="0.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="SERVICIOS/PIE/AVISO/
    ULTIMOPAGO"/>
    </fo:block>
    </fo:block-container>



    <fo:block-container position="absolute" top="2.1cm" left="2.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt" text-
    decoration="underline">
    <fo:inline>
    <xsl:text>Fecha Corte </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.5cm" left="2.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="SERVICIOS/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="absolute" top="3.0cm" left="6.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/PERFACT"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absolute" top="4.0cm" left="6.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="start" position="relative"
    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="CABECERA/FULPBCO"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.0cm" left="9.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/FFACTUR"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="3.0cm" left="9.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.46392cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="center" position="relative"
    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="CABECERA/FVENCIM"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="4.0cm" left="9.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="start" position="relative"
    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="SERVICIOS/PIE/
    RECAUDADOR/IMPTOTAL"/>
    </fo:block>
    </fo:block-container>


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

    <fo:block-container position="absolute" top="1.50cm" left="13.2182cm"
    height="2.70624cm" width="4.42839cm" >
    <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.81167cm"/>
    <fo:table-footer>

    <fo:table-row>
    <fo:table-cell/><fo:table-cell border-top-style="solid" border-top-
    width="0.03513cm" border-top-color="#000000" display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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="SERVICIOS/PIE/RECAUDADOR/RECAUDALIST/RECAUDA">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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="absolute" top="3.0cm" left="13.20cm"
    height="1cm" width="6cm">
    <fo:block line-height="0.46392cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" position="relative"
    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="SERVICIOS/PIE/
    RECAUDADOR/BARRAR"/>
    </fo:block>

    <fo:block line-height="1.0cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="start" position="inherit"
    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="SERVICIOS/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="absolute" top="1.0cm" left="0.05cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="left" position="relative"
    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>Referencia : </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="1.0cm" left="1.5cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="SERVICIOS/PIE/AVISO/
    REFERENCIA"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absolute" top="1.5cm" left="0.05cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="left" position="relative"
    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>Deuda : </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="1.5cm" left="1.5cm"
    height="0.50cm" width="2.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="SERVICIOS/PIE/AVISO/
    DEUDA"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.1cm" left="0.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt" text-
    decoration="underline">
    <fo:inline>
    <xsl:text>Ultimo Pago </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.5cm" left="0.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="SERVICIOS/PIE/AVISO/
    ULTIMOPAGO"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absolute" top="2.1cm" left="2.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    top="2.1cm" left="0.50cm" height="0.50cm" width="1.5cm"
    color="#000000" font-family="Arial" font-size="6.0pt" text-
    decoration="underline">
    <fo:inline>
    <xsl:text>Fecha Corte </xsl:text></fo:inline>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.5cm" left="2.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="SERVICIOS/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="absolute" top="3.0cm" left="6.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/PERFACT"/>
    </fo:block>
    </fo:block-container>


    <fo:block-container position="absolute" top="4.0cm" left="6.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="start" position="relative"
    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="CABECERA/FULPBCO"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="2.0cm" left="9.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="center" position="relative"
    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="CABECERA/FFACTUR"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="3.0cm" left="9.00cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.46392cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="center" position="relative"
    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="CABECERA/FVENCIM"/>
    </fo:block>
    </fo:block-container>

    <fo:block-container position="absolute" top="4.0cm" left="9.50cm"
    height="0.50cm" width="1.5cm">
    <fo:block line-height="0.50" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="start" position="relative"
    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="SERVICIOS/PIE/
    RECAUDADOR/IMPTOTAL"/>
    </fo:block>
    </fo:block-container>



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

    <fo:block-container position="absolute" top="1.50cm" left="13.2182cm"
    height="2.70624cm" width="4.42839cm" >
    <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.81167cm"/>
    <fo:table-footer>

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

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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="absolute" top="3.0cm" left="13.20cm"
    height="1cm" width="6cm">
    <fo:block line-height="0.46392cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" position="relative"
    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="SERVICIOS/PIE/
    RECAUDADOR/BARRAR"/>
    </fo:block>

    <fo:block line-height="1.0cm" white-space-collapse="false" linefeed-
    treatment="preserve" text-align="start" position="inherit"
    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="SERVICIOS/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.82164cm"/>

    <fo:table-header>

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    <xsl:text>Suministro Eléctrico. Identificación :</xsl:text></
    fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECERA/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="CABECERA/REQSEC"/>
    </fo:inline>
    <fo:inline>
    <xsl:text>.</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECERA/IDSUPPLY"/
    >

    </fo:inline>
    <fo:inline>
    <xsl:text>.</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECERA/SUPPLYS"/>
    </fo:inline>
    <fo:inline>
    <xsl:text>-</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="CABECERA/FFACTUR"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Tarifa: </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/
    LTARIFA"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Pot. Cont : (</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/
    LUDMPOTC"/>
    </fo:inline>
    <fo:inline>
    <xsl:text>) </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/
    LPOTENC"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Domicilio : </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN00001']/
    LDOMSUM"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    <xsl:text>
    </xsl:text></fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <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="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/
    CONSUMO[TCONSUM='TFGEN00001']"><!--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="MEDIDORLIST/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.86273cm"/>
    <fo:table-column column-width="1.33554cm"/>
    <fo:table-column column-width="1.37069cm"/>
    <fo:table-column column-width="1.12467cm"/>
    <fo:table-column column-width="1.40583cm"/>

    <fo:table-header><!--CMH-->
    <fo:table-row><!--CMHR1-->
    <fo:table-cell number-columns-spanned="5" display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    <xsl:text>Medidor </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="preserve" >
    <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="MEDCONSLIST/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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Tipo de Consumo</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Consumo</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.5061cm" white-space-
    collapse="false" linefeed-treatment="preserve" 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="MEDCONSLIST/MEDCONS">

    <fo:table-row>

    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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='TFGEN20001'">


    <!-- GENERATE TABLE START-->

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

    <fo:table-row>
    <fo:table-cell border-top-style="dotted" border-top-width="0.03514cm"
    border-top-color="#000000" display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    <xsl:text>Servicio Sanitario.</xsl:text></fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Loc.: </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    ALOCDIS"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Catastro:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    ACATAST"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Cond.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    ACONDOM"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Cód Serv. :</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    ACODSER"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Cliente:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    ANUMCTE"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Propietario : </xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    APROPIE"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    </fo:inline>
    <fo:inline>
    <xsl:text>Sec.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    ASECCION"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Mzna.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    AMANZANA"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Parc.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    APARCEL"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Leg.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    ALEGAJO"/>
    </fo:inline>
    <fo:inline>
    <xsl:text> - Cod.Fact.:</xsl:text></fo:inline>
    <fo:inline>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO[TCONSUM='TFGEN20001']/
    ACODFAC"/>
    </fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    <xsl:text>
    </xsl:text></fo:inline>
    </fo:block>
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <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="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/
    CONSUMO[TCONSUM='TFGEN20001']">

    <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.78649cm"/>
    <fo:table-body>
    <xsl:for-each select="MEDIDORLIST/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.79244cm"/>
    <fo:table-column column-width="1.40583cm"/>
    <fo:table-column column-width="1.33554cm"/>
    <fo:table-column column-width="1.2301cm"/>
    <fo:table-column column-width="1.26525cm"/>
    <fo:table-header>

    <fo:table-row>
    <fo:table-cell number-columns-spanned="5" display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <fo:block text-align="left" white-space-collapse="false" linefeed-
    treatment="preserve" >
    <fo:inline>
    <xsl:text>Medidor </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="preserve" >
    <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="MEDCONSLIST/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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Tipo de Consumo</xsl:text></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:text>Consumo</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.5061cm" white-space-
    collapse="false" linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/
    TIPOCON"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/
    LECANT"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/
    LECACT"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/MEDCONS/
    CTE"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="MEDCONSLIST/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="force"
    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="SERVICIOS/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.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN00001']/TEXTO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN00001']/IMPORTE"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/
    CONCEPTO[TIPSUBT='TFGEN00001']">

    <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="CONCEPTODLIST/CONCEPTOD">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="DDESCONC"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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='TFGEN20001'">

    <!-- 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.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20001']/TEXTO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20001']/IMPORTE"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/
    CONCEPTO[TIPSUBT='TFGEN20001']">

    <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="CONCEPTODLIST/CONCEPTOD">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="DDESCONC"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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='TFGEN20002'">

    <!-- 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.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20002']/TEXTO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20002']/IMPORTE"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/
    CONCEPTO[TIPSUBT='TFGEN20002']">

    <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="CONCEPTODLIST/CONCEPTOD">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="DDESCONC"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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='TFGEN20003'">

    <!-- 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.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20003']/TEXTO"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="6.0pt" font-weight="bold">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    DETCONCEPTOS/CONCEPTOLIST/CONCEPTO[TIPSUBT='TFGEN20003']/IMPORTE"/>
    </fo:block>
    </fo:table-cell>
    </fo:table-row>
    </fo:table-footer>
    <fo:table-body>
    <xsl:for-each select="SERVICIOS/DETCONCEPTOS/CONCEPTOLIST/
    CONCEPTO[TIPSUBT='TFGEN20003']">

    <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="CONCEPTODLIST/CONCEPTOD">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="DDESCONC"/>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.3374cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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="preserve" >
    <xsl:text>Total : </xsl:text>
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/
    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="absolute" 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="SERVICIOS/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.46392cm" white-space-
    collapse="false" linefeed-treatment="preserve" 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">
    <!-- **************Información SUSPENCION ***************-->


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

    <fo:block-container position="absolute" 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="SERVICIOS/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="preserve" text-align="start"
    color="#000000" font-family="Arial" font-size="6.0pt">
    <xsl:value-of disable-output-escaping="no" select="AVISOTEXT"/>

    </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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="start" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="underline">
    <fo:inline text-decoration="underline"><xsl:text>Período</xsl:text></
    fo:inline></fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="underline">
    <fo:inline text-decoration="underline">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/
    MAVISOLIST/MAVISO/SERVICIO1"/>
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="underline">
    <fo:inline text-decoration="underline">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/
    MAVISOLIST/MAVISO/SERVICIO2"/>
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="underline">
    <fo:inline text-decoration="underline">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/PIE/AVISO/
    MAVISOLIST/MAVISO/SERVICIO3"/>
    </fo:inline>
    </fo:block>
    </fo:table-cell>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" text-align="end" color="#000000" font-
    family="Arial" font-size="5.0pt" text-decoration="underline">
    <fo:inline text-decoration="underline">
    <xsl:value-of disable-output-escaping="no" select="SERVICIOS/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="SERVICIOS/PIE/AVISO/MAVISOLIST">

    <fo:table-row>
    <fo:table-cell display-align="before">
    <fo:block line-height="0.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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.25305cm" white-space-collapse="false"
    linefeed-treatment="preserve" 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><PTOVTA>1</PTOVTA><TIPFACT>ENERGIA</TIPFACT><VOUTYPE>0</
    VOUTYPE><EMPRESA>05</EMPRESA><NOMCLIE>POLIMETAL S.A</
    NOMCLIE><NROFACT>0000-00000001</NROFACT><SECIMP>1</
    SECIMP><DOMICEN>1010;ANCHORADE;BEND;DESCHUTES;OREGON;654331232;</
    DOMICEN><FFACTUR>05022008</FFACTUR><CONDFIS>IVA RESPONSABLE INSCRIPTO</
    CONDFIS><CUIT>30-61651206-2</CUIT><IBRUTOS>ALCANZADO</
    IBRUTOS><PERFACT>200610</PERFACT><FVENCIM>02/11/2006</
    FVENCIM><FPVENCIM>02/11/2006</FPVENCIM><FULPBCO>24/11/2004</
    FULPBCO><CONDVE></CONDVE><BARRAC>E:21/10/2007r30-I:340r466/7</
    BARRAC><BARRACTXT>E:21/10/2007r30-I:340r466/7</BARRACTXT><REQSEC>1</
    REQSEC><IDSUPPLY>1004100</IDSUPPLY><SUPPLYS>1</
    SUPPLYS><FFACTFM>050208</FFACTFM></CABECERA>

    <SERVICIOS><DETCONSUMO><DETCONSUMO><CONSUMOLIST><CONSUMO><TCONSUM>TFGEN00001</
    TCONSUM><LIDSUMI>1004100</LIDSUMI><LTARIFA>T3-BT</
    LTARIFA><LPOTENC>456</LPOTENC><LUDMPOTC>Kwh</LUDMPOTC><LDOMSUM>CALLE
    106 NRO PUERTA 146, PARQUE INDUSTRIAL SUR , SALTA</LDOMSUM><LDENOMI></
    LDENOMI><ACATAST></ACATAST><ACONDOM></ACONDOM><ACODSER></
    ACODSER><ANUMCTE></ANUMCTE><APROPIE></APROPIE><ASECCION></
    ASECCION><APARCEL></APARCEL><ALEGAJO></ALEGAJO><ACODFAC></
    ACODFAC><ALOCDIS></ALOCDIS><MEDIDORLIST><MEDIDOR><NUMMED>ABB A1R
    9615502 (electricidad)</
    NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007 - 30/11/2007</
    PERCONS><TIPOCON>Activa - Punta</TIPOCON><LECANT>607</
    LECANT><LECACT>641</LECACT><CTE>1200.00</CTE><CONSUMO>40800</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Activa - Valle</TIPOCON><LECANT>624</
    LECANT><LECACT>663</LECACT><CTE>1200</CTE><CONSUMO>46800</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Activa - Resto</TIPOCON><LECANT>2015</
    LECANT><LECACT>2113</LECACT><CTE>1200</CTE><CONSUMO>117600</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Reactiva</TIPOCON><LECANT>1394</
    LECANT><LECACT>1495</LECACT><CTE>1200</CTE><CONSUMO>121200</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Punta</TIPOCON><LECANT>77250</
    LECANT><LECACT>80520</LECACT><CTE>0,1200</CTE><CONSUMO>392</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Valle</TIPOCON><LECANT>1460</
    LECANT><LECACT>5430</LECACT><CTE>0,1200</CTE><CONSUMO>476</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Resto</TIPOCON><LECANT>65210</
    LECANT><LECACT>68410</LECACT><CTE>0,1200</CTE><CONSUMO>384</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS></MEDCONSLIST></
    MEDIDOR><MEDIDOR><NUMMED>ABB A1R 9615503. (electricidad)</
    NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007 - 30/11/2007</
    PERCONS><TIPOCON>Activa - Punta</TIPOCON><LECANT>607</
    LECANT><LECACT>641</LECACT><CTE>1200.00</CTE><CONSUMO>40800</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Activa - Valle</TIPOCON><LECANT>624</
    LECANT><LECACT>663</LECACT><CTE>1200</CTE><CONSUMO>46800</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Activa - Resto</TIPOCON><LECANT>2015</
    LECANT><LECACT>2113</LECACT><CTE>1200</CTE><CONSUMO>117600</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Reactiva</TIPOCON><LECANT>1394</
    LECANT><LECACT>1495</LECACT><CTE>1200</CTE><CONSUMO>121200</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Punta</TIPOCON><LECANT>77250</
    LECANT><LECACT>80520</LECACT><CTE>0,1200</CTE><CONSUMO>392</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Valle</TIPOCON><LECANT>1460</
    LECANT><LECACT>5430</LECACT><CTE>0,1200</CTE><CONSUMO>476</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Resto</TIPOCON><LECANT>65210</
    LECANT><LECACT>68410</LECACT><CTE>0,1200</CTE><CONSUMO>384</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUMO><TCONSUM>TFGEN00001</
    TCONSUM><LIDSUMI>1004100</LIDSUMI><LTARIFA>T3-BT</
    LTARIFA><LPOTENC>456</LPOTENC><LUDMPOTC>Kwh</LUDMPOTC><LDOMSUM>CALLE
    106 NRO PUERTA 146, PARQUE INDUSTRIAL SUR , SALTA</LDOMSUM><LDENOMI></
    LDENOMI><ACATAST></ACATAST><ACONDOM></ACONDOM><ACODSER></
    ACODSER><ANUMCTE></ANUMCTE><APROPIE></APROPIE><ASECCION></
    ASECCION><APARCEL></APARCEL><ALEGAJO></ALEGAJO><ACODFAC></
    ACODFAC><ALOCDIS></ALOCDIS><MEDIDORLIST><MEDIDOR><NUMMED>ABB A1R
    9615502 (electricidad)</
    NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007 - 30/11/2007</
    PERCONS><TIPOCON>Activa - Punta</TIPOCON><LECANT>607</
    LECANT><LECACT>641</LECACT><CTE>1200.00</CTE><CONSUMO>40800</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Activa - Valle</TIPOCON><LECANT>624</
    LECANT><LECACT>663</LECACT><CTE>1200</CTE><CONSUMO>46800</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Activa - Resto</TIPOCON><LECANT>2015</
    LECANT><LECACT>2113</LECACT><CTE>1200</CTE><CONSUMO>117600</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Reactiva</TIPOCON><LECANT>1394</
    LECANT><LECACT>1495</LECACT><CTE>1200</CTE><CONSUMO>121200</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Punta</TIPOCON><LECANT>77250</
    LECANT><LECACT>80520</LECACT><CTE>0,1200</CTE><CONSUMO>392</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Valle</TIPOCON><LECANT>1460</
    LECANT><LECACT>5430</LECACT><CTE>0,1200</CTE><CONSUMO>476</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Resto</TIPOCON><LECANT>65210</
    LECANT><LECACT>68410</LECACT><CTE>0,1200</CTE><CONSUMO>384</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS></MEDCONSLIST></
    MEDIDOR><MEDIDOR><NUMMED>ABB A1R 9615503. (electricidad)</
    NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007 - 30/11/2007</
    PERCONS><TIPOCON>Activa - Punta</TIPOCON><LECANT>607</
    LECANT><LECACT>641</LECACT><CTE>1200.00</CTE><CONSUMO>40800</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Activa - Valle</TIPOCON><LECANT>624</
    LECANT><LECACT>663</LECACT><CTE>1200</CTE><CONSUMO>46800</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Activa - Resto</TIPOCON><LECANT>2015</
    LECANT><LECACT>2113</LECACT><CTE>1200</CTE><CONSUMO>117600</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Reactiva</TIPOCON><LECANT>1394</
    LECANT><LECACT>1495</LECACT><CTE>1200</CTE><CONSUMO>121200</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Punta</TIPOCON><LECANT>77250</
    LECANT><LECACT>80520</LECACT><CTE>0,1200</CTE><CONSUMO>392</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Valle</TIPOCON><LECANT>1460</
    LECANT><LECACT>5430</LECACT><CTE>0,1200</CTE><CONSUMO>476</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS><MEDCONS><PERCONS>26/11/2007 -
    30/11/2007</PERCONS><TIPOCON>Pot. Reg. Resto</TIPOCON><LECANT>65210</
    LECANT><LECACT>68410</LECACT><CTE>0,1200</CTE><CONSUMO>384</
    CONSUMO><TANGFI>0.59</TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUMO><TCONSUM>TFGEN20001</TCONSUM><LIDSUMI></
    LIDSUMI><LTARIFA></LTARIFA><LPOTENC></LPOTENC><LDOMSUM></
    LDOMSUM><LDENOMI></LDENOMI><ACATAST>009671</ACATAST><ACONDOM>000</
    ACONDOM><ACODSER>0</ACODSER><ANUMCTE>10444</ANUMCTE><APROPIE>Polimetal
    S.A.</APROPIE><ASECCION>C</ASECCION><AMANZANA>006</
    AMANZANA><APARCEL>041</APARCEL><ALEGAJO>0</ALEGAJO><ACODFAC>0</
    ACODFAC><ALOCDIS>001</ALOCDIS><MEDIDORLIST><MEDIDOR><NUMMED>GALILEO
    999UO (agua potable)</NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCON>Metros Cubicos</TIPOCON><LECANT>20045</
    LECANT><LECACT>67455</LECACT><CTE>0,1000</CTE><CONSUMO>4741</
    CONSUMO><TANGFI></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUMO><TCONSUM>TFGEN20001</TCONSUM><LIDSUMI></
    LIDSUMI><LTARIFA></LTARIFA><LPOTENC></LPOTENC><LDOMSUM></
    LDOMSUM><LDENOMI></LDENOMI><ACATAST>009671</ACATAST><ACONDOM>000</
    ACONDOM><ACODSER>0</ACODSER><ANUMCTE>10444</ANUMCTE><APROPIE>Polimetal
    S.A.</APROPIE><ASECCION>C</ASECCION><AMANZANA>006</
    AMANZANA><APARCEL>041</APARCEL><ALEGAJO>0</ALEGAJO><ACODFAC>0</
    ACODFAC><ALOCDIS>001</ALOCDIS><MEDIDORLIST><MEDIDOR><NUMMED>GALILEO
    999UO (agua potable)</NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCON>Metros Cubicos</TIPOCON><LECANT>20045</
    LECANT><LECACT>67455</LECACT><CTE>0,1000</CTE><CONSUMO>4741</
    CONSUMO><TANGFI></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUMO><TCONSUM>TFGEN20001</TCONSUM><LIDSUMI></
    LIDSUMI><LTARIFA></LTARIFA><LPOTENC></LPOTENC><LDOMSUM></
    LDOMSUM><LDENOMI></LDENOMI><ACATAST>009671</ACATAST><ACONDOM>000</
    ACONDOM><ACODSER>0</ACODSER><ANUMCTE>10444</ANUMCTE><APROPIE>Polimetal
    S.A.</APROPIE><ASECCION>C</ASECCION><AMANZANA>006</
    AMANZANA><APARCEL>041</APARCEL><ALEGAJO>0</ALEGAJO><ACODFAC>0</
    ACODFAC><ALOCDIS>001</ALOCDIS><MEDIDORLIST><MEDIDOR><NUMMED>GALILEO
    999UO (agua potable)</NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCON>Metros Cubicos</TIPOCON><LECANT>20045</
    LECANT><LECACT>67455</LECACT><CTE>0,1000</CTE><CONSUMO>4741</
    CONSUMO><TANGFI></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUMO><TCONSUM>TFGEN20001</TCONSUM><LIDSUMI></
    LIDSUMI><LTARIFA></LTARIFA><LPOTENC></LPOTENC><LDOMSUM></
    LDOMSUM><LDENOMI></LDENOMI><ACATAST>009671</ACATAST><ACONDOM>000</
    ACONDOM><ACODSER>0</ACODSER><ANUMCTE>10444</ANUMCTE><APROPIE>Polimetal
    S.A.</APROPIE><ASECCION>C</ASECCION><AMANZANA>006</
    AMANZANA><APARCEL>041</APARCEL><ALEGAJO>0</ALEGAJO><ACODFAC>0</
    ACODFAC><ALOCDIS>001</ALOCDIS><MEDIDORLIST><MEDIDOR><NUMMED>GALILEO
    999UO (agua potable)</NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCON>Metros Cubicos</TIPOCON><LECANT>20045</
    LECANT><LECACT>67455</LECACT><CTE>0,1000</CTE><CONSUMO>4741</
    CONSUMO><TANGFI></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUMO><TCONSUM>TFGEN20001</TCONSUM><LIDSUMI></
    LIDSUMI><LTARIFA></LTARIFA><LPOTENC></LPOTENC><LDOMSUM></
    LDOMSUM><LDENOMI></LDENOMI><ACATAST>009671</ACATAST><ACONDOM>000</
    ACONDOM><ACODSER>0</ACODSER><ANUMCTE>10444</ANUMCTE><APROPIE>Polimetal
    S.A.</APROPIE><ASECCION>C</ASECCION><AMANZANA>006</
    AMANZANA><APARCEL>041</APARCEL><ALEGAJO>0</ALEGAJO><ACODFAC>0</
    ACODFAC><ALOCDIS>001</ALOCDIS><MEDIDORLIST><MEDIDOR><NUMMED>GALILEO
    999UO (agua potable)</NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCON>Metros Cubicos</TIPOCON><LECANT>20045</
    LECANT><LECACT>67455</LECACT><CTE>0,1000</CTE><CONSUMO>4741</
    CONSUMO><TANGFI></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO><CONSUMO><TCONSUM>TFGEN20001</TCONSUM><LIDSUMI></
    LIDSUMI><LTARIFA></LTARIFA><LPOTENC></LPOTENC><LDOMSUM></
    LDOMSUM><LDENOMI></LDENOMI><ACATAST>009671</ACATAST><ACONDOM>000</
    ACONDOM><ACODSER>0</ACODSER><ANUMCTE>10444</ANUMCTE><APROPIE>Polimetal
    S.A.</APROPIE><ASECCION>C</ASECCION><AMANZANA>006</
    AMANZANA><APARCEL>041</APARCEL><ALEGAJO>0</ALEGAJO><ACODFAC>0</
    ACODFAC><ALOCDIS>001</ALOCDIS><MEDIDORLIST><MEDIDOR><NUMMED>GALILEO
    999UO (agua potable)</NUMMED><MEDCONSLIST><MEDCONS><PERCONS>26/11/2007
    - 30/11/2007</PERCONS><TIPOCON>Metros Cubicos</TIPOCON><LECANT>20045</
    LECANT><LECACT>67455</LECACT><CTE>0,1000</CTE><CONSUMO>4741</
    CONSUMO><TANGFI></TANGFI></MEDCONS></MEDCONSLIST></MEDIDOR></
    MEDIDORLIST></CONSUMO></CONSUMOLIST></DETCONSUMO></
    DETCONSUMO><DETCONCEPTOS><CONCEPTOLIST><CONCEPTO><TIPSUBT>TFGEN00001</
    TIPSUBT><IMPORTE>29774.25</IMPORTE><TEXTO>Subtotal Suministro de
    Electricidad</TEXTO><CONCEPTODLIST><CONCEPTOD><CODCONC>UNEO</
    CODCONC><DESCCONC>UNEO</DESCCONC><DDESCONC>Cargo Fijo Mensual (12/365
    X 30 dias a 182.0048 $/mes)</DDESCONC><IMPCONC>179,51</IMPCONC></
    CONCEPTOD><CONCEPTOD><CODCONC>DOS</CODCONC><DESCCONC>DOS</
    DESCCONC><DDESCONC>Energía Activa Punta (40800 kWh a 0.118 $/Kwh)</
    DDESCONC><IMPCONC>4561,44</IMPCONC></
    CONCEPTOD><CONCEPTOD><CODCONC>TRES</CODCONC><DESCCONC>TRES</
    DESCCONC><DDESCONC>Energía Activa Valle (46800 kWh a 0.0882 $/kWh)</
    DDESCONC><IMPCONC>4127,66</IMPCONC></
    CONCEPTOD><CONCEPTOD><CODCONC>CUATRO</CODCONC><DESCCONC>CUATRO</
    DESCCONC><DDESCONC>Energía Activa Resto (117600 Kwh a 0.1398 $/Kwh)</
    DDESCONC><IMPCONC>11407,20</IMPCONC></
    CONCEPTOD><CONCEPTOD><CODCONC>CINCO</CODCONC><DESCCONC>CINCO</
    DESCCONC><DDESCONC>Máxima Cap. Suministro (a 6.3758 $/KW mes)</
    DDESCONC><IMPCONC>3056,19</IMPCONC></
    CONCEPTOD><CONCEPTOD><CODCONC>SEIS</CODCONC><DESCCONC>SEIS</
    DESCCONC><DDESCONC>IVA RESPONABLE INSCRIPTO (27%)</
    DDESCONC><IMPCONC>6299,66</IMPCONC></
    CONCEPTOD><CONCEPTOD><CODCONC>SIETE</CODCONC><DESCCONC>SIETE</
    DESCCONC><DDESCONC>Impuesto Nacional Ley 23681 (0.6%)</
    DDESCONC><IMPCONC>139,.99</IMPCONC></
    CONCEPTOD><CONCEPTOD><CODCONC>OCHO</CODCONC><DESCCONC>OCHO</
    DESCCONC><DDESCONC>Incidencia Alumbrado Publico (18.747 kWh a 0.1398 $/
    Kwh)</DDESCONC><IMPCONC>2,62</IMPCONC></CONCEPTOD></CONCEPTODLIST></
    CONCEPTO><CONCEPTO><TIPSUBT>TFGEN20001</TIPSUBT><IMPORTE>29.51</
    IMPORTE><TEXTO>Subtotal a nombre y por cuenta y orden de SPASSA</
    TEXTO><CONCEPTODLIST><CONCEPTOD><CODCONC>UNO</CODCONC><DESCCONC>UNO</
    DESCCONC><DDESCONC>Servicios Sanitarios</DDESCONC><IMPCONC>21,47</
    IMPCONC></CONCEPTOD><CONCEPTOD><CODCONC>DOS</CODCONC><DESCCONC>DOS</
    DESCCONC><DDESCONC>Intereses por pago fuera de término (2006/08)</
    DDESCONC><IMPCONC>1.43</IMPCONC></CONCEPTOD><CONCEPTOD><CODCONC>DOSS</
    CODCONC><DESCCONC>DOS</DESCCONC><DDESCONC>Tasa de fiscalizacion y
    control (2%)</DDESCONC><IMPCONC>0.43</IMPCONC></
    CONCEPTOD><CONCEPTOD><CODCONC>TRES</CODCONC><DESCCONC>TRES</
    DESCCONC><DDESCONC>IVA RESPONSABLE INSCRIPTO (27%)</
    DDESCONC><IMPCONC>6.18</IMPCONC></CONCEPTOD></CONCEPTODLIST></
    CONCEPTO><CONCEPTO><TIPSUBT>TFGEN20002</TIPSUBT><IMPORTE>10</
    IMPORTE><TEXTO>Subtotal a nombre y por cuenta y orden de Munic. de
    Salta</TEXTO><CONCEPTODLIST><CONCEPTOD><CODCONC>UNO</
    CODCONC><DESCCONC>UNO</DESCCONC><DDESCONC>Tasa General de Inmbuebles</
    DDESCONC><IMPCONC>10</IMPCONC></CONCEPTOD></CONCEPTODLIST></
    CONCEPTO><CONCEPTO><TIPSUBT>TFGEN20003</TIPSUBT><IMPORTE>4,43</
    IMPORTE><TEXTO>Subtotal a nombre y por cuenta y orden de LSAL UTE</
    TEXTO><CONCEPTODLIST><CONCEPTOD><CODCONC>UNO</CODCONC><DESCCONC>UNO</
    DESCCONC><DDESCONC>Operación y Mantenimiento Red Alumbrado Público</
    DDESCONC><IMPCONC>3,45</IMPCONC></CONCEPTOD><CONCEPTOD><CODCONC>DOS</
    CODCONC><DESCCONC>Intereses por pago fuera de término</
    DESCCONC><DDESCONC>Intereses por pago fuera de término (2006/08)</
    DDESCONC><IMPCONC>0,21</IMPCONC></CONCEPTOD><CONCEPTOD><CODCONC>TRES</
    CODCONC><DESCCONC>IVA RESPONSABLE INSCRIPTO</DESCCONC><DDESCONC>IVA
    RESPONSABLE INSCRIPTO (21%)</DDESCONC><IMPCONC>0,77</IMPCONC></
    CONCEPTOD></CONCEPTODLIST></CONCEPTO></CONCEPTOLIST></
    DETCONCEPTOS><PIE><AVISO><MAVISOLIST><MAVISO><PERIODO>200609</
    PERIODO><SERVICIO1>$ Edesa</SERVICIO1><IMPORTE1>3456.09</
    IMPORTE1><SERVICIO2>$ SPASSA</SERVICIO2><IMPORTE2>45.00</
    IMPORTE2><SERVICIO3>$ TGI</SERVICIO3><IMPORTE3>45.00</
    IMPORTE3><SERVICIO4>$ LUSAL</SERVICIO4><IMPORTE4>4.00</IMPORTE4></
    MAVISO></MAVISOLIST><AVISOTEXT>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><REFERENCIA>1004100-19/10/06</
    REFERENCIA><DEUDA>3456.09</DEUDA><ULTIMOPAGO>01-11-06</
    ULTIMOPAGO><FECHACORTE>01-11-06</FECHACORTE><BARRAAVISO></BARRAAVISO></
    AVISO><COMPLEMENTARIA><COMPLEMENTLIST><MESSAGES><MESSAGES><MESSAGE_DATA>
    <CODE>REGINS1</CODE><TYPE>5000MSGTYP</TYPE><TEXT>No registra pagos
    desde el 21/09/2006 a la fecha de emisión </TEXT></
    MESSAGE_DATA><MESSAGE_DATA><CODE>LAH1</CODE><TYPE>6000MSGTYP</
    TYPE><TEXT>Codigo de Pago Banelco 1004100</TEXT></MESSAGE_DATA></
    MESSAGES></MESSAGES></COMPLEMENTLIST></COMPLEMENTARIA>
    <RECAUDADOR><IMPTOTAL>29818.19</IMPTOTAL>
    <RECAUDALIST><RECAUDA><EMPRESA>Electricidad</
    EMPRESA><IMPSUBT>29774,25</IMPSUBT></RECAUDA><RECAUDA><EMPRESA>SPASSA</
    EMPRESA><IMPSUBT>29,51</IMPSUBT></RECAUDA><RECAUDA><EMPRESA>TGI</
    EMPRESA><IMPSUBT>10,00</IMPSUBT></RECAUDA><RECAUDA><EMPRESA>LUZSAL
    UTE</EMPRESA><IMPSUBT>4,43</IMPSUBT></RECAUDA></
    RECAUDALIST><TEXTOBARRAR></TEXTOBARRAR><BARRAR></BARRAR></RECAUDADOR></
    PIE></SERVICIOS>
    </IMPFAC>
     
    zamba, Apr 14, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    3,090
  2. HK
    Replies:
    3
    Views:
    481
  3. mike
    Replies:
    3
    Views:
    419
    Virgil Green
    Jul 11, 2005
  4. Replies:
    1
    Views:
    3,693
    A. Bolmarcich
    May 27, 2005
  5. JosephByrns

    Slow, then quick then slow

    JosephByrns, Jul 10, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    2,519
    codezilla94
    Nov 13, 2007
Loading...

Share This Page